imeik-bizui 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bizui/src/FieldMaterialSelect/index.vue +6 -4
- package/dist/imeik-bizui.common.js +80 -78
- package/dist/imeik-bizui.common.js.gz +0 -0
- package/dist/imeik-bizui.css +1 -1
- package/dist/imeik-bizui.css.gz +0 -0
- package/dist/imeik-bizui.umd.js +80 -78
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +3 -3
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -134,6 +134,7 @@ export default {
|
|
|
134
134
|
this.onUpdate()
|
|
135
135
|
},
|
|
136
136
|
handleValidate() {
|
|
137
|
+
let showMessage = true
|
|
137
138
|
this.tableData.forEach((item) => {
|
|
138
139
|
let res = true
|
|
139
140
|
if (item.materialQuantity) {
|
|
@@ -145,19 +146,20 @@ export default {
|
|
|
145
146
|
}
|
|
146
147
|
}
|
|
147
148
|
if (!item.materialQuantity) {
|
|
148
|
-
res && this.$message.warning('请检查物料数量')
|
|
149
|
+
(res && showMessage) && this.$message.warning('请检查物料数量')
|
|
149
150
|
res = false
|
|
150
151
|
} else if (this.tableItemArr.includes('materialBatchInfo') && !this.attrs.approvalInputBatch && item.materialIsSpecifiedBatch === '1' && !item.materialBatch) {
|
|
151
|
-
res && this.$message.warning('请检查批次号信息')
|
|
152
|
+
(res && showMessage) && this.$message.warning('请检查批次号信息')
|
|
152
153
|
res = false
|
|
153
154
|
} else if (!item.materialReceivingContact || !item.materialReceivingContactNumber || !item.materialReceivingAddress) {
|
|
154
|
-
res && this.$message.warning('请检查地址信息')
|
|
155
|
+
(res && showMessage) && this.$message.warning('请检查地址信息')
|
|
155
156
|
res = false
|
|
156
157
|
} else if (item.overSchemeFlag === '1' && !item.overSchemeExplain) {
|
|
157
|
-
res && this.$message.warning('请检查超母方案说明')
|
|
158
|
+
(res && showMessage) && this.$message.warning('请检查超母方案说明')
|
|
158
159
|
res = false
|
|
159
160
|
}
|
|
160
161
|
item.valid = res
|
|
162
|
+
showMessage = res
|
|
161
163
|
})
|
|
162
164
|
this.onUpdate()
|
|
163
165
|
},
|