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