|
@@ -1331,11 +1331,11 @@ export default {
|
|
|
},
|
|
|
change: (data) => {
|
|
|
if (data.value === '集装箱') {
|
|
|
- this.findObject(this.goodsOptionForm.column, "billNo").rules[0].required = true
|
|
|
+ this.findObject(this.goodsOptionForm.column, "dispatchNumber").rules[0].required = true
|
|
|
} else if (!data.value) {
|
|
|
- this.findObject(this.goodsOptionForm.column, "billNo").rules[0].required = true
|
|
|
+ this.findObject(this.goodsOptionForm.column, "dispatchNumber").rules[0].required = true
|
|
|
} else {
|
|
|
- this.findObject(this.goodsOptionForm.column, "billNo").rules[0].required = false
|
|
|
+ this.findObject(this.goodsOptionForm.column, "dispatchNumber").rules[0].required = false
|
|
|
}
|
|
|
}
|
|
|
}, {
|
|
@@ -2329,6 +2329,7 @@ export default {
|
|
|
//保存
|
|
|
editCustomer() {
|
|
|
this.type = true
|
|
|
+ return console.log(this.goodsForm);
|
|
|
saveSaveList({
|
|
|
...this.goodsForm,
|
|
|
kind: '1',
|