|
|
|
@ -1144,7 +1144,6 @@ export default {
|
|
|
|
|
this.subFormVisible = false;
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
this.subFormVisible = false;
|
|
|
|
|
}
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
this.subFormVisible = false;
|
|
|
|
@ -1309,6 +1308,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
changeLevel(row) {
|
|
|
|
|
this.formData.pcode = null;
|
|
|
|
|
this.formData.spUse = false;
|
|
|
|
|
//TODO
|
|
|
|
|
this.getParentInv(this.formData.level);
|
|
|
|
|
},
|
|
|
|
@ -1540,11 +1540,15 @@ export default {
|
|
|
|
|
this.getBussinessType(1,action);
|
|
|
|
|
},
|
|
|
|
|
selsectBussinessType(row){
|
|
|
|
|
if (this.currentRow.id !== row.id) {
|
|
|
|
|
this.$message.error("请先选择需要操作的分库!");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
var busQuery = {
|
|
|
|
|
code: this.currentCode,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 50
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
warehouseBussinessTypeList(busQuery).then((res) => {
|
|
|
|
|
this.userBussinessTypeList = res.data.list;
|
|
|
|
|