|
@@ -7,9 +7,14 @@
|
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :md="6" :sm="8">
|
|
|
- <a-form-item label="供应商">
|
|
|
- <a-input placeholder="请输入供应商" v-model="queryParam.supplier"></a-input>
|
|
|
- </a-form-item>
|
|
|
+ <a-form-item label="供应商">
|
|
|
+ <!-- <a-input placeholder="请输入供应商" v-model="queryParam.supplier"></a-input> -->
|
|
|
+ <j-search-select-tag
|
|
|
+ placeholder="请选择供应商"
|
|
|
+ v-model="queryParam.supplier"
|
|
|
+ dict="view_supplier,supplier,supplier">
|
|
|
+ </j-search-select-tag>
|
|
|
+ </a-form-item>
|
|
|
</a-col>
|
|
|
|
|
|
|
|
@@ -89,10 +94,22 @@
|
|
|
<span>{{record.workingHours}}</span>
|
|
|
</a-form-model-item>
|
|
|
</template>
|
|
|
+ <!-- 产能额度上浮区间 -->
|
|
|
+ <template slot="capacitySection" slot-scope="text, record, index" >
|
|
|
+ <a-form-model-item prop="capacitySection" :rules="rules.capacitySection" v-if="record.status == '0'">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.capacitySection" />
|
|
|
+ </a-form-model-item>
|
|
|
+ <a-form-model-item prop="capacitySection" :rules="rules.capacitySection" v-if="record.status == '1'">
|
|
|
+ <span>{{record.capacitySection}}</span>
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
<!-- 供应商状态 -->
|
|
|
<template slot="supplierState" slot-scope="text, record, index" >
|
|
|
<a-form-model-item prop="supplierState" :rules="rules.supplierState" v-if="record.status == '0'">
|
|
|
- <a-input style="width:100%" type="text" v-model="record.supplierState" />
|
|
|
+ <a-select v-model="record.supplierState1" style="width: 200px" placeholder="请选择发货情况" >
|
|
|
+ <a-select-option value="正常">正常</a-select-option>
|
|
|
+ <a-select-option value="关闭">关闭</a-select-option>
|
|
|
+ </a-select>
|
|
|
</a-form-model-item>
|
|
|
<a-form-model-item prop="supplierState" :rules="rules.supplierState" v-if="record.status == '1'">
|
|
|
<span>{{record.supplierState}}</span>
|
|
@@ -156,6 +173,13 @@ export default {
|
|
|
width: 150,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'workingHours' },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '产能额度上浮区间',
|
|
|
+ dataIndex: 'capacitySection',
|
|
|
+ width: 150,
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'capacitySection' },
|
|
|
},
|
|
|
{
|
|
|
title: '供应商状态',
|