Commit 9b95d5d8 by 张立顺

Merge branch 'SAAS+V5.8.0' of http://192.168.3.233:8090/saas_plus/dj-car-life-sy…

…stem into SAAS+V5.8.0
2 parents ff2a6b6d 1c72da1a
......@@ -68,7 +68,7 @@ export default {
watch: {
data: {
handler (newVal) {
this.componentData = deepClone(newVal)
if (!Object.keys(this.componentData).length) this.componentData = deepClone(newVal)
},
deep: true,
immediate: true
......
......@@ -346,10 +346,7 @@ export default {
try {
let { businessCode } = this,
{ trafficValidationData, businessValidationData, productDetails } = data,
trafficPartyDetails = {
...trafficValidationData,
...businessValidationData,
},
trafficPartyDetails = trafficValidationData,
parmas = {
businessCode,
submitFlag: 1
......@@ -361,6 +358,11 @@ export default {
delete trafficPartyDetails.onlineOpName
delete trafficPartyDetails.regionSupervisorName
trafficPartyDetails.productDetails = productDetails
const businessValidationDataKeyList = ['djGrossProfit', 'djGpr', 'deliveryCount', 'customerTouchRate',
'personnelCost', 'rentCost', 'depreciationCost', 'otherCost', 'storeProfitPerCar']
businessValidationDataKeyList.map(key => {
trafficPartyDetails[key] = businessValidationData[key]
})
parmas.trafficPartyDetails = [trafficPartyDetails]
console.log(parmas)
// 提交
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!