From 39519141a337dd81b1415990bfc73f6820368c09 Mon Sep 17 00:00:00 2001 From: Zhao Qiqi <1287235164@qq.com> Date: Sat, 6 Aug 2022 17:22:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=AE=A1=E7=90=86-=E8=BD=A6?= =?UTF-8?q?=E5=9E=8B=E8=AF=A6=E6=83=85=E5=85=AC=E5=85=B1=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=90=8E=E6=A1=A5=E5=92=8C=E9=80=9F=E6=AF=94=E7=9A=84=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=90=8D=EF=BC=9B=E4=BE=9B=E5=BA=94=E9=93=BE---?= =?UTF-8?q?=E5=A4=96=E9=87=87=E3=80=81=E8=BD=A6=E5=9E=8B=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E3=80=81=E8=BD=A6=E5=9E=8B=E7=AE=A1=E7=90=86=E3=80=81=E8=BD=A6?= =?UTF-8?q?=E8=BE=86=E5=8F=B0=E8=B4=A6=E4=B9=B0=E6=96=AD=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vehicleconfiguration.vue | 28 ++- .../vehicleconfiguration.vue | 29 +-- .../baseoutsourcingapplicationAdd.vue | 16 +- .../cheliangtaizhang/cheliangtaizhang.vue | 14 +- .../relation/cheliangtaizhangMai.vue | 9 +- .../relation/chexingguanlianchangyong.vue | 2 +- .../relation/chexingpeizhijiageweihuAdd.vue | 48 +++- .../chexingpeizhi/changyongpeizhi.vue | 32 +++ .../chexingpeizhi/changyongpeizhiAdd.vue | 231 ++++++++++++------ .../chexingpeizhi/changyongpeizhiInfo.vue | 100 ++++---- 10 files changed, 346 insertions(+), 163 deletions(-) diff --git a/anrui-buscenter/anrui-buscenter-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue b/anrui-buscenter/anrui-buscenter-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue index 7a91a0b66b..17cfba9324 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue @@ -104,7 +104,11 @@ -
后桥速比
+
后桥
+ {{ formobj.rearAxleValue }} +
+ +
速比
{{ formobj.rearAxleRatio }}
@@ -115,16 +119,16 @@
轮毂材质
{{ formobj.hubMaterial }}
- +
导流罩
{{ formobj.baffleModel }}
- +
+ +
悬架
{{ formobj.suspension }}
-
-
座椅
{{ formobj.seat }} @@ -137,16 +141,16 @@
鞍座
{{ formobj.saddle }}
- +
轴距
{{ formobj.wheelbase }}
- +
+ +
保险杠
{{ formobj.bumper }}
-
-
配置包
{{ formobj.configuringBao }} @@ -159,14 +163,14 @@
燃料箱
{{ formobj.fuelTank }}
- +
多媒体
{{ formobj.multimedia }}
- + - +
更多配置 diff --git a/anrui-scm/anrui-scm-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue b/anrui-scm/anrui-scm-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue index efdde0933d..6e198b70af 100644 --- a/anrui-scm/anrui-scm-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue +++ b/anrui-scm/anrui-scm-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue @@ -104,7 +104,11 @@ -
后桥速比
+
后桥
+ {{ formobj.rearAxleValue }} +
+ +
速比
{{ formobj.rearAxleRatio }}
@@ -115,16 +119,17 @@
轮毂材质
{{ formobj.hubMaterial }}
- +
导流罩
{{ formobj.baffleModel }}
- + +
+ +
悬架
{{ formobj.suspension }}
-
-
座椅
{{ formobj.seat }} @@ -137,16 +142,16 @@
鞍座
{{ formobj.saddle }}
- +
轴距
{{ formobj.wheelbase }}
- +
+ +
保险杠
{{ formobj.bumper }}
-
-
配置包
{{ formobj.configuringBao }} @@ -159,14 +164,10 @@
燃料箱
{{ formobj.fuelTank }}
- +
多媒体
{{ formobj.multimedia }}
- - - -
更多配置 diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue index c1f4af7c74..b72d50a496 100644 --- a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue +++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue @@ -22,19 +22,19 @@
金额单位:元
- *分公司名称 + 分公司名称 {{ formobj.useOrgName }} - *申请人 + 申请人 {{ formobj.createByName }} - *申请日期 + 申请日期 {{ formobj.applicationDate }} @@ -71,7 +71,7 @@ - *常用配置 + 常用配置 {{ formobj.configName }} @@ -85,7 +85,7 @@ --> - *销售指导价 + 销售指导价 {{ formobj.guidedPrice }} @@ -94,7 +94,7 @@ - *厂家合同价 + 厂家合同价 @@ -397,8 +397,8 @@ export default { modelSid: [{ required: true, message: '车型不能为空', trigger: 'blur' }], // 车型sid configSid: [{ required: true, message: '常用配置不能为空', trigger: 'blur' }], // 常用配置名称 purchasePrice: [{ required: true, message: '采购价格不能为空', trigger: 'blur' }], // 采购价格 - guidedPrice: [{ required: true, message: '销售指导价不能为空', trigger: 'blur' }], // 销售指导价 - manufactorSettlementPrice: [{ required: true, message: '厂家合同价不能为空', trigger: 'blur' }], // 厂家合同价 + // guidedPrice: [{ required: true, message: '销售指导价不能为空', trigger: 'blur' }], // 销售指导价 + // manufactorSettlementPrice: [{ required: true, message: '厂家合同价不能为空', trigger: 'blur' }], // 厂家合同价 num: [{ required: true, message: '台数不能为空', trigger: 'blur' }], // 台数 deposit: [{ required: true, message: '订金不能为空', trigger: 'blur' }], // 订金 // expenseName: [{ required: true, message: '费用名称不能为空', trigger: 'blur' }], // 费用名称 diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue index 821ba12787..5c2b0409d9 100644 --- a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue +++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue @@ -479,8 +479,15 @@ export default { doMaiduan() { // salesDate settlementStatus if (this.sids.length > 0) { for (var i = 0; i < this.multipleSelection.length; i++) { - console.log(this.multipleSelection[i].salesDate == null || this.multipleSelection[i].salesDate == '') - console.log() + + if (this.multipleSelection[i].settlementStatus == '已买断') { + this.$message({ + showClose: true, + message: '所选车辆存在已买断状态车辆!', + type: 'error' + }) + return + } if ((this.multipleSelection[i].salesDate == null || this.multipleSelection[i].salesDate == '') && this.multipleSelection[i].settlementStatus !== '预买断') { this.$message({ showClose: true, @@ -489,8 +496,7 @@ export default { }) return } - if ((this.multipleSelection[i].salesDate == null || this.multipleSelection[i].salesDate == '') || this.multipleSelection[i].settlementStatus == '预买断') { - console.log('满足条件了?', this.multipleSelection[i].salesDate, this.multipleSelection[i].settlementStatus) + if ((this.multipleSelection[i].salesDate !== null || this.multipleSelection[i].salesDate !== '') || this.multipleSelection[i].settlementStatus == '预买断') { this.viewState = 7 const bb = [] this.multipleSelection.forEach((element) => { diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangMai.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangMai.vue index 3766d735f2..5a047a45b3 100644 --- a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangMai.vue +++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangMai.vue @@ -25,7 +25,7 @@ - 买断日期 + *买断日期 @@ -38,7 +38,7 @@ - 上传买断证明 + *上传买断证明 @@ -71,7 +71,9 @@ export default { }, dialogFormVisible: false, imgList: [], - rules: {} + rules: { + solidDate: [{ required: true, message: '买断日期不能为空', trigger: 'blur' }], + } } }, methods: { @@ -130,6 +132,7 @@ export default { vinNo: '', commonAppendix: [] } + this.imgList = [] this.$emit('doback') } } diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue index e7fadfb2e3..824eb60044 100644 --- a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue +++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue @@ -13,7 +13,7 @@
{{ searchxianshitit }}