1.修改部分bug

wms_pzh
x_z 3 years ago
parent 6d1ead1cd7
commit 545e8b2069

@ -256,7 +256,7 @@
</el-checkbox> </el-checkbox>
<el-checkbox v-model="inputQuery.scanPreIn" :disabled="inputQuery.corpType!='2'"> <el-checkbox v-model="inputQuery.scanPreIn" :disabled="inputQuery.corpType!='2'">
</el-checkbox> </el-checkbox>
<el-checkbox v-model="inputQuery.vailInv" :disabled="inputQuery.mainAction!='WareHouseOut'"> <el-checkbox v-model="inputQuery.vailInv" :disabled="inputQuery.mainAction!='WareHouseOut'">
</el-checkbox> </el-checkbox>
<el-checkbox v-model="inputQuery.codeFillCheck">UDI <el-checkbox v-model="inputQuery.codeFillCheck">UDI
</el-checkbox> </el-checkbox>

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

@ -834,10 +834,14 @@ export default {
} else { } else {
this.$message({ this.$alert(response.message, '提示', {
type: 'error', confirmButtonText: '确定',
message: "提交失败!" + this.editTitle, type: 'warning',
customClass: 'messageIndex' closeOnClickModal: true,
callback: action => {
this.$refs.inputRef.focus();
this.$refs.inputRef.select();
}
}); });
} }
} }

Loading…
Cancel
Save