diff --git a/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue b/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue index efead194fa..7f1fa070b2 100644 --- a/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue +++ b/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue @@ -274,25 +274,7 @@ export default { insideCode: e.insideCode, // 内部编码 vehicleName: e.vehicleAlias, vehicleSid: e.modelSid, - guidePrice: '', - busVehicleApplySz: { - color: '', - coverPlate: '', - floorHeating: '', - otherConfig: '', - overallDimension: '', - plateMaterial: '', - plateThickness: '', - refitFactory: '', - refitMethod: '', - refrigerator: '', - szSid: '', - tarpaulinSlide: '', - topName: '', - vehicleFunction: '', - costPrice: '', - guidePrice: '' - } + guidePrice: '' }) if (e.insideCode) { this.isRead = true @@ -359,8 +341,26 @@ export default { this.$refs['divShangzhuangpeizhi'].showData(index) }, backPeizhi(val, index) { - console.log(val, index) this.viewState = 1 + const busVehicleApplySz = { + color: '', + coverPlate: '', + floorHeating: '', + otherConfig: '', + overallDimension: '', + plateMaterial: '', + plateThickness: '', + refitFactory: '', + refitMethod: '', + refrigerator: '', + szSid: '', + tarpaulinSlide: '', + topName: '', + vehicleFunction: '', + costPrice: '', + guidePrice: '' + } + this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz = busVehicleApplySz this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.color = val.colorValue this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.coverPlate = val.selfUnHyCoPl this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.floorHeating = val.floorHeating @@ -379,7 +379,7 @@ export default { this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.guidePrice = '' }, handleUpdate(row) { - if (row !== null) { + if (row !== null && row !== undefined) { this.viewState = 4 this.$refs['divShangzhuangpeizhiAdd'].showInfo(row) } else { diff --git a/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanInfo.vue index 12f9267dda..f3be1e0de8 100644 --- a/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanInfo.vue @@ -89,7 +89,12 @@ + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue index 76d2b574f8..989aea0ac2 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue @@ -91,7 +91,12 @@ + + + diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue index 3eb7337b0f..89639d5e2f 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue @@ -108,6 +108,11 @@ 编辑 + + + @@ -247,25 +252,7 @@ export default { insideCode: e.insideCode, // 内部编码 vehicleName: e.modelName, vehicleSid: e.modelSid, - guidePrice: '', - busVehicleApplySz: { - color: '', - coverPlate: '', - floorHeating: '', - otherConfig: '', - overallDimension: '', - plateMaterial: '', - plateThickness: '', - refitFactory: '', - refitMethod: '', - refrigerator: '', - szSid: '', - tarpaulinSlide: '', - topName: '', - vehicleFunction: '', - costPrice: '', - guidePrice: '' - } + guidePrice: '' }) if (e.insideCode) { this.isRead = true @@ -348,8 +335,26 @@ export default { this.$refs['divShangzhuangpeizhi'].showData(index) }, backPeizhi(val, index) { - console.log(val, index) this.viewState = 1 + const busVehicleApplySz = { + color: '', + coverPlate: '', + floorHeating: '', + otherConfig: '', + overallDimension: '', + plateMaterial: '', + plateThickness: '', + refitFactory: '', + refitMethod: '', + refrigerator: '', + szSid: '', + tarpaulinSlide: '', + topName: '', + vehicleFunction: '', + costPrice: '', + guidePrice: '' + } + this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz = busVehicleApplySz this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.color = val.colorValue this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.coverPlate = val.selfUnHyCoPl this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.floorHeating = val.floorHeating @@ -368,7 +373,7 @@ export default { this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.guidePrice = '' }, handleUpdate(row) { - if (row !== null) { + if (row !== null && row !== undefined) { this.viewState = 4 this.$refs['divShangzhuangpeizhiAdd'].showInfo(row) } else { diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanYiBanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanYiBanInfo.vue index e15f2f1e36..5aef934cd9 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanYiBanInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanYiBanInfo.vue @@ -89,7 +89,12 @@ + + +