|
@@ -75,7 +75,7 @@
|
|
|
:pagination="pagination"
|
|
|
@change="handleTableChange"
|
|
|
:rowSelection="{ selectedRowKeys: selectedRowKeys,onChange: onSelectChange }"
|
|
|
- :scroll="{ x: 1800,}"
|
|
|
+ :scroll="{ x: 1200,}"
|
|
|
>
|
|
|
<!-- 供应商编码 -->
|
|
|
<template slot="supplierCode" slot-scope="text, record, index" >
|
|
@@ -105,7 +105,7 @@
|
|
|
<!-- 供应商分类 -->
|
|
|
<template slot="cvenCodeType" slot-scope="text, record, index" >
|
|
|
<a-form-model-item prop="cvenCodeType" :rules="rules.cvenCodeType" v-if="record.status == '0'">
|
|
|
- <a-select v-model="record.cvenCodeType" show-search :filterOption="filterOption" style="width: 200px" >
|
|
|
+ <a-select v-model="record.cvenCodeType" show-search :filterOption="filterOption" style="width: 120px" >
|
|
|
<a-select-option
|
|
|
v-for="(item,index) in SupplierTypeOption"
|
|
|
:key="index"
|
|
@@ -122,7 +122,7 @@
|
|
|
<!-- 产能额度(月) -->
|
|
|
<template slot="capacityQuota" slot-scope="text, record, index" >
|
|
|
<a-form-model-item prop="capacityQuota" :rules="rules.capacityQuota" v-if="record.status == '0'">
|
|
|
- <a-input style="width:100%" type="text" v-model="record.capacityQuota" />
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.capacityQuota" />
|
|
|
</a-form-model-item>
|
|
|
<a-form-model-item prop="capacityQuota" :rules="rules.capacityQuota" v-if="record.status == '1'">
|
|
|
<span>{{record.capacityQuota}}</span>
|
|
@@ -140,7 +140,9 @@
|
|
|
<!-- 产能额度上浮区间 -->
|
|
|
<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" @change="changeCapacitySection(record)"/>
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.capacitySection" @change="changeCapacitySection(record)">
|
|
|
+ <!-- <i slot="suffix">%</i> -->
|
|
|
+ </a-input>
|
|
|
</a-form-model-item>
|
|
|
<a-form-model-item prop="capacitySection" :rules="rules.capacitySection" v-if="record.status == '1'">
|
|
|
<span>{{record.capacitySection}}</span>
|
|
@@ -149,7 +151,7 @@
|
|
|
<!-- 供应商状态 -->
|
|
|
<template slot="supplierState" slot-scope="text, record, index" >
|
|
|
<a-form-model-item prop="supplierState" :rules="rules.supplierState" v-if="record.status == '0'">
|
|
|
- <a-select v-model="record.supplierState" style="width: 200px" placeholder="请选择" >
|
|
|
+ <a-select v-model="record.supplierState" style="width: 120px" placeholder="请选择" >
|
|
|
<a-select-option value="正常">正常</a-select-option>
|
|
|
<a-select-option value="关闭">关闭</a-select-option>
|
|
|
</a-select>
|
|
@@ -191,7 +193,7 @@ export default {
|
|
|
suplierListColumns: [
|
|
|
{
|
|
|
title: '供应商编码',
|
|
|
- width: 130,
|
|
|
+ width: 100,
|
|
|
dataIndex: 'supplierCode',
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'supplierCode' },
|
|
@@ -206,7 +208,7 @@ export default {
|
|
|
{
|
|
|
title: '供应商分类',
|
|
|
dataIndex: 'cvenCodeType',
|
|
|
- width: 150,
|
|
|
+ width: 100,
|
|
|
scopedSlots: { customRender: 'cvenCodeType' },
|
|
|
className: 'replacecolor' ,
|
|
|
},
|
|
@@ -220,28 +222,28 @@ export default {
|
|
|
{
|
|
|
title: '工时(月)',
|
|
|
dataIndex: 'workingHours',
|
|
|
- width: 150,
|
|
|
+ width: 100,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'workingHours' },
|
|
|
},
|
|
|
{
|
|
|
title: '产能额度上浮区间',
|
|
|
dataIndex: 'capacitySection',
|
|
|
- width: 150,
|
|
|
+ width: 110,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'capacitySection' },
|
|
|
},
|
|
|
{
|
|
|
title: '供应商状态',
|
|
|
dataIndex: 'supplierState',
|
|
|
- width: 170,
|
|
|
+ width: 100,
|
|
|
className: 'replacecolor' ,
|
|
|
scopedSlots: { customRender: 'supplierState' },
|
|
|
},
|
|
|
{
|
|
|
title: '备注',
|
|
|
dataIndex: 'remarks',
|
|
|
- width: 120,
|
|
|
+ width: 140,
|
|
|
className: 'replacecolor' ,
|
|
|
// ellipsis: true,
|
|
|
scopedSlots: { customRender: 'remarks' },
|