|
@@ -145,7 +145,7 @@
|
|
|
</a-input>
|
|
|
</a-form-model-item>
|
|
|
<a-form-model-item prop="capacitySection" :rules="rules.capacitySection" v-if="record.status == '1'">
|
|
|
- <span>{{record.capacitySection}}</span>
|
|
|
+ <span>{{record.capacitySection+'%'}}</span>
|
|
|
</a-form-model-item>
|
|
|
</template>
|
|
|
<!-- 供应商状态 -->
|
|
@@ -301,9 +301,6 @@ 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,
|
|
@@ -368,8 +365,6 @@ export default {
|
|
|
this.$message.error('请勾选需要修改的数据');
|
|
|
}else if(this.selectedRowKeys.length > 1){
|
|
|
this.$message.error('一次只允许修改一行数据');
|
|
|
- }else if(this.selectedRows[0].state =='1'){
|
|
|
- this.$message.error('已提交数据不可修改');
|
|
|
}else if(operation !== 0){
|
|
|
this.$message.error('当前有操作未完成');
|
|
|
}else{
|