From f92bcebb68afe6f8ec4c9da660986d0751eb6e5b Mon Sep 17 00:00:00 2001 From: lewis <604446095@qq.com> Date: Thu, 26 Dec 2024 11:41:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=87=87=E8=B4=AD=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/order/beforehand_order/add.vue | 2 +- .../beforehand_order/component/goodsOffer.vue | 19 +++++++++--- src/views/order/beforehand_order/index.vue | 1 + src/views/store/store_product/edit.vue | 31 ++++++++++++++++++- 4 files changed, 47 insertions(+), 6 deletions(-) diff --git a/src/views/order/beforehand_order/add.vue b/src/views/order/beforehand_order/add.vue index 49ac3575e..06aea479f 100644 --- a/src/views/order/beforehand_order/add.vue +++ b/src/views/order/beforehand_order/add.vue @@ -62,7 +62,7 @@ 仓库补货 往期补单 - 采购单 + 其他订单 diff --git a/src/views/order/beforehand_order/component/goodsOffer.vue b/src/views/order/beforehand_order/component/goodsOffer.vue index 9aa55f8c5..0c52c7374 100644 --- a/src/views/order/beforehand_order/component/goodsOffer.vue +++ b/src/views/order/beforehand_order/component/goodsOffer.vue @@ -52,6 +52,15 @@ + + + + 订单id:{{item.source_order_id}} + 数量:{{item.need_num}} + 订单备注:{{item.mark}} + + + 采购设置 @@ -116,12 +125,8 @@ { }) } const procureClick = (data: any) => { + if (supplierList.value.length <= 0) { + apiSupplierLists({ mer_name: '' }).then((res) => { + supplierList.value = res.lists + }) + } formData.value.id = data.id formData.value.buyer_nums = data.need_num formData.value.purchase = data.price @@ -376,6 +386,7 @@ const procureClick = (data: any) => { formData.value.marques = data.marques formData.value.after_sales = data.after_sales formData.value.pay_type = data.pay_type + formData.value.supplier_id = data.supplier_id dictData.outbound_floating.forEach((item) => { if (item.value == data.top_cate_name) { diff --git a/src/views/order/beforehand_order/index.vue b/src/views/order/beforehand_order/index.vue index e14870fcc..78d689442 100644 --- a/src/views/order/beforehand_order/index.vue +++ b/src/views/order/beforehand_order/index.vue @@ -33,6 +33,7 @@ + diff --git a/src/views/store/store_product/edit.vue b/src/views/store/store_product/edit.vue index 36cb3521e..adc57aa53 100644 --- a/src/views/store/store_product/edit.vue +++ b/src/views/store/store_product/edit.vue @@ -132,6 +132,19 @@ :readonly="false" /> + + + + + + 月 + + ({ message: '请输入商品图片', trigger: ['blur', 'change'] } + ], + made_place: [ + { + required: true, + message: '请输入产地', + trigger: ['blur', 'change'] + } + ], + shelf_life: [ + { + required: true, + message: '请输入保质期', + trigger: ['blur', 'change'] + } ] })