|
|
|
@ -575,6 +575,17 @@ export default {
|
|
|
|
|
this.getCountOrderCodesNum();
|
|
|
|
|
},
|
|
|
|
|
addCode() {
|
|
|
|
|
if (this.countType != 1) {
|
|
|
|
|
if (isBlank(this.formData.invStorageCode) || isBlank(this.formData.invWarehouseCode)) {
|
|
|
|
|
this.$message.error("请先选择盘点仓库和分库信息")
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
} else if (this.countType === 1) {
|
|
|
|
|
if (isBlank(this.formData.invStorageCode) || isBlank(this.formData.invWarehouseCode) || isBlank(this.formData.invSpaceCode)) {
|
|
|
|
|
this.$message.error("请先选择盘点仓库和分库信息");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.formData.code.trim();
|
|
|
|
|
let params = {
|
|
|
|
|
orderIdFk: this.formData.orderId,
|
|
|
|
|