|
@@ -8,12 +8,22 @@
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-item label="供应商">
|
|
|
- <!-- <a-input placeholder="请输入供应商" v-model="queryParam.supplier"></a-input> -->
|
|
|
- <j-search-select-tag
|
|
|
+ <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>
|
|
|
+ </j-search-select-tag> -->
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :md="6" :sm="8">
|
|
|
+ <a-form-item label="供应商分类">
|
|
|
+ <a-input placeholder="请输入" v-model="queryParam.cvenCodeType"></a-input>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :md="6" :sm="8">
|
|
|
+ <a-form-item label="供应商状态">
|
|
|
+ <a-input placeholder="请输入" v-model="queryParam.supplierState"></a-input>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
|
|
@@ -41,8 +51,8 @@
|
|
|
<a-button type="primary" icon="plus" @click="delectLLine">删除</a-button>
|
|
|
<a-button type="primary" icon="plus" @click="saveLine">保存</a-button>
|
|
|
<a-button type="primary" icon="plus" @click="cancelLine">取消</a-button>
|
|
|
- <a-button type="primary" icon="plus" @click="subitLine">提交</a-button>
|
|
|
- <a-button type="primary" icon="plus" @click="cancelSubitLine">取消提交</a-button>
|
|
|
+ <!-- <a-button type="primary" icon="plus" @click="subitLine">提交</a-button>
|
|
|
+ <a-button type="primary" icon="plus" @click="cancelSubitLine">取消提交</a-button> -->
|
|
|
</div>
|
|
|
|
|
|
<!-- 子表 -->
|
|
@@ -57,7 +67,7 @@
|
|
|
:pagination="pagination"
|
|
|
@change="handleTableChange"
|
|
|
:rowSelection="{ selectedRowKeys: selectedRowKeys,onChange: onSelectChange }"
|
|
|
- :scroll="{ x: 1500,}"
|
|
|
+ :scroll="{ x: 1800,}"
|
|
|
>
|
|
|
<!-- 供应商编码 -->
|
|
|
<template slot="supplierCode" slot-scope="text, record, index" >
|
|
@@ -78,6 +88,15 @@
|
|
|
<a-form-model-item prop="supplier" :rules="rules.supplier" v-if="record.status == '1'">
|
|
|
<span>{{record.supplier}}</span>
|
|
|
</a-form-model-item>
|
|
|
+ </template>
|
|
|
+ <!-- 供应商分类 -->
|
|
|
+ <template slot="cvenCodeType" slot-scope="text, record, index" >
|
|
|
+ <a-form-model-item prop="cvenCodeType" :rules="rules.cvenCodeType" v-if="record.status == '0'">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.cvenCodeType" />
|
|
|
+ </a-form-model-item>
|
|
|
+ <a-form-model-item prop="cvenCodeType" :rules="rules.cvenCodeType" v-if="record.status == '1'">
|
|
|
+ <span>{{record.cvenCodeType}}</span>
|
|
|
+ </a-form-model-item>
|
|
|
</template>
|
|
|
<!-- 产能额度(月) -->
|
|
|
<template slot="capacityQuota" slot-scope="text, record, index" >
|
|
@@ -163,6 +182,13 @@ export default {
|
|
|
className: 'replacecolor' ,
|
|
|
scopedSlots: { customRender: 'supplier' },
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '供应商分类',
|
|
|
+ dataIndex: 'cvenCodeType',
|
|
|
+ width: 150,
|
|
|
+ scopedSlots: { customRender: 'cvenCodeType' },
|
|
|
+ className: 'replacecolor' ,
|
|
|
+ },
|
|
|
{
|
|
|
title: '产能额度(月)',
|
|
|
dataIndex: 'capacityQuota',
|