diff --git a/src/views/basic/business/stockOrderPrint.vue b/src/views/basic/business/stockOrderPrint.vue index 46866d9f..92d4c0e4 100644 --- a/src/views/basic/business/stockOrderPrint.vue +++ b/src/views/basic/business/stockOrderPrint.vue @@ -480,6 +480,7 @@ export default { let query = { enabled: true, vueType: "supDelivery", + productType:1 }; getLocalJoinByUser(query) .then((response) => { diff --git a/src/views/basic/product/drug/drugAdd.vue b/src/views/basic/product/drug/drugAdd.vue index 1fdd7739..b7c2050f 100644 --- a/src/views/basic/product/drug/drugAdd.vue +++ b/src/views/basic/product/drug/drugAdd.vue @@ -820,6 +820,8 @@ export default { defaultSys: null, levelUnitList: [], maxLevel: 1, + + editRowSwitch: false //产品标识编辑开关 没保存前其他编辑不能按 } }, @@ -980,6 +982,7 @@ export default { //层级保存 levelSave(row) { + this.editRowSwitch = false if (isBlank(row.nameCode)) { this.$message.error('层级标识不能为空') return @@ -1039,9 +1042,14 @@ export default { }, rowChange(index, val) { - this.selectedIndex = index + if(this.editRowSwitch == true ){ + this.$message.error('请先保存当前产品标识编辑') + return + } + this.selectedIndex = index this.isSave = false + this.editRowSwitch = true }, deleteLevel(index, row) { diff --git a/src/views/basic/workplace/cargowWorkplaceManage.vue b/src/views/basic/workplace/cargowWorkplaceManage.vue index 73985184..eddd8583 100644 --- a/src/views/basic/workplace/cargowWorkplaceManage.vue +++ b/src/views/basic/workplace/cargowWorkplaceManage.vue @@ -304,6 +304,8 @@ + +