From 698ee9b14e36111a3069cf0708e2f5418e367bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=81=E9=94=8B?= Date: Mon, 8 Dec 2025 10:19:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E5=A4=84=E7=90=86?= =?UTF-8?q?=E4=B8=8B=E5=8D=95=E6=97=B6=E5=80=99=E5=A4=9A=E8=B7=9F=E5=8D=95?= =?UTF-8?q?=E5=91=98=E5=9B=9E=E6=98=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/oms/order/createorder/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hangtag-ui/hangtag-ui-front/src/views/oms/order/createorder/index.vue b/hangtag-ui/hangtag-ui-front/src/views/oms/order/createorder/index.vue index b14d8ee..eeedb78 100644 --- a/hangtag-ui/hangtag-ui-front/src/views/oms/order/createorder/index.vue +++ b/hangtag-ui/hangtag-ui-front/src/views/oms/order/createorder/index.vue @@ -861,7 +861,10 @@ watch(() => formData.value.brandId, async (val) => { if (val) { const data = await SaleOrderApi.getFollowerUser(val) that.followerUserList = data; - if (that.followerUserList.length > 0 && !formData.value.orderFollowerUser) { + if(formData.value.orderFollowerUser){ + that.editOrderFollowerUsers = `${formData.value.orderFollowerUser}`.split(";") + changeSelectUser() + }else if (that.followerUserList.length > 0 && !formData.value.orderFollowerUser) { that.editOrderFollowerUsers = [`${that.followerUserList[0].id}`] changeSelectUser() }else if(that.followerUserList.length == 0 ){ @@ -912,6 +915,11 @@ onMounted(async () => { formData.value.deliveryAddress = that.addressList[0].address; that.addressId = that.addressList[0].id; } + // 处理回显问题 + if(formData.value.orderFollowerUser){ + that.editOrderFollowerUsers = `${formData.value.orderFollowerUser}`.split(";") + changeSelectUser() + } } // 获取订单信息 if (queryParams.id) {