chenrui 1 vuosi sitten
vanhempi
commit
405452b7f9

+ 1 - 1
src/views/purchasingManagement/purchaseOrder/edit.vue

@@ -564,7 +564,6 @@ export default {
     },
     hanldeOkOutStockList (con) {
       const _this = this
-      _this.openOutStockListModal = false
       _this.openOutStockModal = true
       _this.chooseData = con
       _this.$nextTick(() => {
@@ -598,6 +597,7 @@ export default {
       this.$refs.purchaseTable.refresh(true)
       this.chooseData = null
       this.openOutStockModal = false
+      this.openOutStockListModal = false
     },
     // 打印预览/快捷打印
     handlePrint (type, printerType) {

+ 1 - 1
src/views/purchasingManagement/purchaseOrderNew/edit.vue

@@ -501,7 +501,6 @@ export default {
     // 选择缺货列表  打开上次缺货列表
     hanldeOkOutStockList (con) {
       const _this = this
-      _this.openOutStockListModal = false
       _this.openOutStockModal = true
       _this.chooseData = con
       _this.$nextTick(() => {
@@ -513,6 +512,7 @@ export default {
       this.getOrderDetail(false, true, true)
       this.chooseData = null
       this.openOutStockModal = false
+      this.openOutStockListModal = false
     },
     // 打印预览/快捷打印
     handlePrint (type, printerType) {