|
@@ -141,7 +141,7 @@
|
|
|
<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)">
|
|
|
- <!-- <i slot="suffix">%</i> -->
|
|
|
+ <i slot="suffix">%</i>
|
|
|
</a-input>
|
|
|
</a-form-model-item>
|
|
|
<a-form-model-item prop="capacitySection" :rules="rules.capacitySection" v-if="record.status == '1'">
|
|
@@ -191,13 +191,7 @@ export default {
|
|
|
return {
|
|
|
// 表头
|
|
|
suplierListColumns: [
|
|
|
- {
|
|
|
- title: '供应商编码',
|
|
|
- width: 100,
|
|
|
- dataIndex: 'supplierCode',
|
|
|
- className: 'replacecolor',
|
|
|
- scopedSlots: { customRender: 'supplierCode' },
|
|
|
- },
|
|
|
+
|
|
|
{
|
|
|
title: '供应商名称',
|
|
|
dataIndex: 'supplier',
|
|
@@ -205,14 +199,7 @@ export default {
|
|
|
className: 'replacecolor' ,
|
|
|
scopedSlots: { customRender: 'supplier' },
|
|
|
},
|
|
|
- {
|
|
|
- title: '供应商分类',
|
|
|
- dataIndex: 'cvenCodeType',
|
|
|
- width: 100,
|
|
|
- scopedSlots: { customRender: 'cvenCodeType' },
|
|
|
- className: 'replacecolor' ,
|
|
|
- },
|
|
|
- {
|
|
|
+ {
|
|
|
title: '产能额度(月)',
|
|
|
dataIndex: 'capacityQuota',
|
|
|
width: 120,
|
|
@@ -226,13 +213,30 @@ export default {
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'workingHours' },
|
|
|
},
|
|
|
- {
|
|
|
- title: '产能额度上浮区间',
|
|
|
+ {
|
|
|
+ title: '上浮区间%',
|
|
|
dataIndex: 'capacitySection',
|
|
|
- width: 110,
|
|
|
+ width: 80,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'capacitySection' },
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '供应商编码',
|
|
|
+ width: 100,
|
|
|
+ dataIndex: 'supplierCode',
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'supplierCode' },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '供应商分类',
|
|
|
+ dataIndex: 'cvenCodeType',
|
|
|
+ width: 100,
|
|
|
+ scopedSlots: { customRender: 'cvenCodeType' },
|
|
|
+ className: 'replacecolor' ,
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
{
|
|
|
title: '供应商状态',
|
|
|
dataIndex: 'supplierState',
|
|
@@ -297,6 +301,9 @@ export default {
|
|
|
supplierList(this.queryParam).then(res => {
|
|
|
if (res.success) {
|
|
|
this.suplierListData = res.result;
|
|
|
+ this.suplierListData.map(item=>{
|
|
|
+ item.capacitySection=item.capacitySection+'%'
|
|
|
+ })
|
|
|
this.loading = false
|
|
|
this.pagination = {
|
|
|
total: res.result.total,
|