|
@@ -475,15 +475,16 @@
|
|
|
<template v-for="listItem in form.feeLists">
|
|
|
<el-form
|
|
|
v-if="listItem.normId == item.normId"
|
|
|
- :rules="validatorList(listItem.normfeeCode,listItem.normfeeName)"
|
|
|
+ :rules="validatorList(listItem.normfeeCode,listItem.normfeeName,listItem.sendValue)"
|
|
|
:model="listItem"
|
|
|
:ref="'form' + listItem.normfeeId"
|
|
|
:key="listItem.normfeeId"
|
|
|
+ :disabled = "listItem.sendValue == 1"
|
|
|
>
|
|
|
<!-- :key="index + listIndex + listItem.normId" -->
|
|
|
<!-- :rules="rules" ref="form" -->
|
|
|
|
|
|
- <el-col :span="12">
|
|
|
+ <el-col :span="12" >
|
|
|
<el-form-item
|
|
|
:label="
|
|
|
listItem.normfeeName + '(' + listItem.funit_dictText + ')'
|
|
@@ -833,8 +834,9 @@ export default {
|
|
|
callback();
|
|
|
}
|
|
|
},
|
|
|
- validatorList(code,name) {
|
|
|
+ validatorList(code,name,sendValue) {
|
|
|
if (typeof name != "string") return;
|
|
|
+ if (sendValue==1) return;
|
|
|
|
|
|
if(code == 'A001' || code == 'A002' || code == 'A003' || code == 'A004' || code == 'A005' || code == 'A006' || code == 'A007' || code == 'A008' ||
|
|
|
code == 'C002' || code == 'C003' || code == 'D001' ||
|
|
@@ -1297,6 +1299,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
+
|
|
|
});
|
|
|
Promise.all(p)
|
|
|
.then(() => {
|
|
@@ -1317,8 +1320,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
- console.log(err);
|
|
|
- debugger;
|
|
|
this.$message.error("请检查是否有必填项未输入!");
|
|
|
});
|
|
|
},
|