Commit 096bd9c4 by 张立顺

feat

1 parent 9bbfbdfd
......@@ -1445,7 +1445,6 @@ export default {
},
beforeDestroy() {
this.$EventBus.$off("packageInfoList")
this.$EventBus.$off("shelfUpdateContractMer")
this.$EventBus.$off("shelfUpdateParMer")
this.$EventBus.$off("shelfUpdatMerchantId")
}
......
......@@ -118,12 +118,11 @@ export default {
return this.goodInfoList
},
submitParamsPackages() {
this.goodInfoList = []
this.packageInfoList = []
this.packageTabs.forEach((item, idx) => {
const info = this.$refs["packageTabRef" + idx][0].returnThisTabDate()
this.packageInfoList.push(info)
})
// console.log("this.packageInfoList", this.packageInfoList)
return this.packageInfoList
},
submit() {
......
......@@ -163,10 +163,6 @@ export default {
merchantName: merchantName
}
})
// this.$EventBus.$emit("shelfUpdateContractMer", {
// merchantId: value,
// merchantName: merchantName
// })
}
},
{
......
......@@ -541,7 +541,7 @@ export default {
},
salesProportionPercentInput(e) {
e = e.replace(/[^\d.]/g, "")
const oldValue = `${this.formData["salesProportionPercent"]}`
const oldValue = `${this.formData["oldesalesProportionPercent"]}`
this.$set(
this.formData,
"salesProportionPercent",
......
......@@ -509,7 +509,7 @@ export default {
}),
salesProportionPercentInput(e) {
e = e.replace(/[^\d.]/g, "")
const oldValue = `${this.packageForm["salesProportionPercent"]}`
const oldValue = `${this.packageForm["oldesalesProportionPercent"]}`
this.$set(
this.packageForm,
"salesProportionPercent",
......
......@@ -1473,7 +1473,6 @@ export default {
},
beforeDestroy() {
this.$EventBus.$off("packageInfoList")
this.$EventBus.$off("shelfUpdateContractMer")
this.$EventBus.$off("shelfUpdateParMer")
this.$EventBus.$off("shelfUpdatMerchantId")
}
......
......@@ -169,10 +169,6 @@ export default {
merchantName: merchantName
}
})
// this.$EventBus.$emit("shelfUpdateContractMer", {
// merchantId: value,
// merchantName: merchantName
// })
}
},
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!