liqianyi 2 жил өмнө
parent
commit
35896c5012

+ 1 - 2
src/views/modules/cus/communicate-add-or-update.vue

@@ -296,7 +296,7 @@
       inBound () {
         this.inboundVisible = true
         this.$nextTick(() => {
-          this.$refs.inbound.init()
+          this.$refs.inbound.init(1)
         })
       },
       addItem (item) {
@@ -315,7 +315,6 @@
       },
       // 删除产品项
       deleteProductHandle (productId) {
-        console.log(productId)
         this.cusRCommProductVOS.splice(this.cusRCommProductVOS.findIndex((item) => item.productId === productId))
       }
     }

+ 2 - 1
src/views/modules/product/template-add-or-update.vue

@@ -64,7 +64,8 @@
       onChose () {
         this.visible = false
       },
-      init (dataForm) {
+      // 初始化:type: 1 沟通产品明细,2 订单产品明细
+      init (type, dataForm) {
         if (dataForm) {
           this.isModify = true
           this.dataForm = dataForm