From 347927aeda926a78d2ebfda1e6f427a46232526d Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Wed, 16 Oct 2024 15:28:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=80=E5=8D=95=E5=BD=95?= =?UTF-8?q?=E5=8D=95=E6=9F=A5=E8=AF=A2=E8=BD=A6=E8=BE=86=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../artery/VehicleArrivalManagement.vue | 2 +- .../distribution/artery/VehicleStowage.vue | 2 +- .../distribution/inventory/CreateOrder.vue | 12 +- src/views/waybill/CreateZeroOrder.vue | 174 ++++++++---------- 4 files changed, 92 insertions(+), 98 deletions(-) diff --git a/src/views/distribution/artery/VehicleArrivalManagement.vue b/src/views/distribution/artery/VehicleArrivalManagement.vue index 514a9941..893c695f 100644 --- a/src/views/distribution/artery/VehicleArrivalManagement.vue +++ b/src/views/distribution/artery/VehicleArrivalManagement.vue @@ -27,7 +27,7 @@ v-model="details.query.endWarehouseId" class="w100" clearable - placeholder="请选择始发仓" + placeholder="请选择目的仓" filterable > { }; /** 获取车型 */ -getDictionaryBiz('price_vehicle_type').then(res => { +getList({}).then(res => { const { code, data } = res.data; - if (code !== 200) return; + if (code !== 200 || getObjType(data) !== 'array') return; - details.vehicleTypeArr = data || []; + details.vehicleTypeArr = data.map(val => { + return { + dictKey: val.id, + dictValue: val.vehicleModel, + }; + }); }); /** 初始化获取暂存单转运单信息 */ diff --git a/src/views/waybill/CreateZeroOrder.vue b/src/views/waybill/CreateZeroOrder.vue index 98d7277b..c2d89ce0 100644 --- a/src/views/waybill/CreateZeroOrder.vue +++ b/src/views/waybill/CreateZeroOrder.vue @@ -1077,8 +1077,8 @@