|
|
@@ -20,7 +20,7 @@
|
|
|
placeholder="批次号"
|
|
|
label="dot"
|
|
|
:mockData="dots"
|
|
|
- :disabled="disabled || query.whether == 0"
|
|
|
+ :disabled="disabled || query.whether != 1"
|
|
|
:activateCreated="false"
|
|
|
:filterable="true"
|
|
|
></dic-select>
|
|
|
@@ -183,7 +183,7 @@ export default {
|
|
|
this.dialogVisible = true;
|
|
|
},
|
|
|
submit() {
|
|
|
- if (!this.query.dot) {
|
|
|
+ if (!this.query.dot&&this.query.whether == 1) {
|
|
|
return this.$message.error("请选择批次号!");
|
|
|
}
|
|
|
let sum = 0;
|