luojie 3 weeks ago
parent
commit
39416d02bf
1 changed files with 7 additions and 6 deletions
  1. +7
    -6
      src/views/business/comps/template/comps/gsp/GSP005.vue

+ 7
- 6
src/views/business/comps/template/comps/gsp/GSP005.vue View File

@ -701,7 +701,7 @@ export default {
callback.prevent('浓度单位与预制不符,请重新选择或申请废止并重新预制。');
}
///
if (key === "rjbhphSub" && !isCommonUnit(selectData.row.nddw, [formFields.rjsjndUnit])) {
if (key === "rjbhphSub" && selectData.row.kcdw!==formFields.rjsjtjUnit) {
callback.prevent('浓度单位与预制不符,请重新选择或申请废止并重新预制。');
}
},
@ -724,13 +724,13 @@ export default {
const { selectData, callback, key, formFields } = data;
debugger
///
if (key === "rjbhphSub" && !isCommonUnit(selectData.row.nddw, [formFields.rjsjndUnit])) {
if (key === "rjbhphSub" && selectData.row.kcdw!==formFields.rjsjtjUnit) {
callback.prevent('库存单位与预制不符,请重新选择或申请废止并重新预制。');
}
///
if (key === "sywzbhphSub" && !isCommonUnit(selectData.row.kcdw, [formFields.sywzsjclzUnit])) {
callback.prevent('库存单位与预制不符,请重新选择或申请废止并重新预制。');
}
// ///
// if (key === "sywzbhphSub" && !isCommonUnit(selectData.row.kcdw, [formFields.sywzsjclzUnit])) {
// callback.prevent('');
// }
},
onTableRegentZlSubmit(zlIndex, data) {
if (data.key === 'sywzbhphSub') {
@ -892,6 +892,7 @@ export default {
if (tableListZl && tableListZl.length > 0) {
for (let i = 0; i < tableListZl.length; i++) {
let item = tableListZl[i]
debugger
tmpResource.push({
mc: item.targetName,
bh: item.targetCode + item.targetCodeSn,

Loading…
Cancel
Save