From 7c9aa8603d0a894776dc1b490453b9abd425e148 Mon Sep 17 00:00:00 2001 From: xiepeng Date: Fri, 10 May 2024 17:51:33 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BC=98=E5=8C=96=20=E8=A1=8C=E8=BD=A6?= =?UTF-8?q?=E4=B8=89=E6=A3=80=20=E8=AF=A6=E6=83=85=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=AE=89=E5=85=A8=E6=89=BF=E8=AF=BA=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../driving_log/drivingLog_info.vue | 63 +++++++++++++++---- .../driving_inspections/driving_log/index.vue | 1 + .../driving_type/index.vue | 3 + .../waybill_registration/view.vue | 4 +- src/views/mechanical_files/insure/add.vue | 38 ++++++++--- 5 files changed, 85 insertions(+), 24 deletions(-) diff --git a/src/views/driving_inspections/driving_log/drivingLog_info.vue b/src/views/driving_inspections/driving_log/drivingLog_info.vue index 529ce8d..2f4eec0 100644 --- a/src/views/driving_inspections/driving_log/drivingLog_info.vue +++ b/src/views/driving_inspections/driving_log/drivingLog_info.vue @@ -46,14 +46,56 @@ 收车地点 {{ data.info.DESTINATION_NAME }} - + + + 行车安全问询 + + + + + + + + + + + + + + + + + + + +
承诺记录
承诺项{{ item2.INQUIRYCONTENT }} + 合格 + 不合格 + 不涉及 +
检查人 + +
检查时间{{ item1.SIGN_TIME }}
+ + {{ item.CHECKTYPE_NAME }}检查 @@ -70,6 +112,10 @@ {{ item2.CHECKITEMNAME }} 检查项说明 {{ item2.REMARKS }} + + 合格 + 不合格 + 检查人 @@ -84,11 +130,11 @@ /> 检查时间 - {{ item1.SIGN_TIME }} + {{ item1.SIGN_TIME }} - + 检查照片 - +
diff --git a/src/views/driving_inspections/driving_type/index.vue b/src/views/driving_inspections/driving_type/index.vue index cf463d2..46ef296 100644 --- a/src/views/driving_inspections/driving_type/index.vue +++ b/src/views/driving_inspections/driving_type/index.vue @@ -54,6 +54,9 @@ {{ row.CHECKTYPE_NAME }} + {{ + row.CHECKTYPE_NAME + }} diff --git a/src/views/electronic_waybill_management/waybill_registration/view.vue b/src/views/electronic_waybill_management/waybill_registration/view.vue index fbdf5d4..b395d8e 100644 --- a/src/views/electronic_waybill_management/waybill_registration/view.vue +++ b/src/views/electronic_waybill_management/waybill_registration/view.vue @@ -53,7 +53,7 @@ {{ data.info.ORIGIN_NAME }} - {{ data.info.SHIPPINGADDRESS }} + {{ data.info.SHIPPING_ADDR}} {{ data.info.STARTADMINISTRATIVEAREA }} @@ -62,7 +62,7 @@ {{ data.info.DESTINATION_NAME }} - {{ data.info.DESTINATIONADDRESS }} + {{ data.info.DESTINATION_ADDR }} {{ data.info.ENDDMINISTRATIVEAREA }} diff --git a/src/views/mechanical_files/insure/add.vue b/src/views/mechanical_files/insure/add.vue index f84c5f0..3d69d60 100644 --- a/src/views/mechanical_files/insure/add.vue +++ b/src/views/mechanical_files/insure/add.vue @@ -356,17 +356,37 @@ const data = reactive({ }); const insureType = async (rule, insureType, callback) => { - if (insureType) { - data.info = await getInsureList(); - data.info.varList.forEach((item) => { - if(item.VEHICLE === data.busInfo.ID) { - if(insureType === item.INSURANCE_COVERAGE) { - callback(new Error("该保险已被此车辆重复选择")); + if(!INSURE_ID) { + if (insureType) { + data.info = await getInsureList(); + data.info.varList.forEach((item) => { + if(item.VEHICLE === data.busInfo.ID) { + if(insureType === item.INSURANCE_COVERAGE) { + callback(new Error("该保险已被此车辆重复选择")); + } } + }); + } else { + callback(); + } + }else{ + if (insureType) { + const resData = await getInsureView({ INSURE_ID }) + if(insureType === resData.pd.INSURANCE_COVERAGE) { + callback(); + }else{ + data.info = await getInsureList(); + data.info.varList.forEach((item) => { + if(item.VEHICLE === data.busInfo.ID) { + if(insureType === item.INSURANCE_COVERAGE) { + callback(new Error("该保险已被此车辆重复选择")); + } + } + }); } - }); - } else { - callback(); + } else { + callback(); + } } };