From 13ccb38fb1a4bb4dd51f46a92b70c7048c2c5eee Mon Sep 17 00:00:00 2001
From: mkm <727897186@qq.com>
Date: Mon, 18 Nov 2024 17:52:33 +0800
Subject: [PATCH] =?UTF-8?q?feat(order):=20=E6=B7=BB=E5=8A=A0=E6=94=AF?=
=?UTF-8?q?=E4=BB=98=E6=96=B9=E5=BC=8F=E5=88=97=E5=B9=B6=E7=A7=BB=E9=99=A4?=
=?UTF-8?q?=E5=86=97=E4=BD=99=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在商品报价表格中添加支付方式列
- 移除 outboundChange 函数,减少冗余代码
- 更新采购信息设置,添加支付方式设置
- 移除 product_offer_export 函数,简化功能
---
.../beforehand_order/component/goodsOffer.vue | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/src/views/order/beforehand_order/component/goodsOffer.vue b/src/views/order/beforehand_order/component/goodsOffer.vue
index 49ee224b9..be2fe02bb 100644
--- a/src/views/order/beforehand_order/component/goodsOffer.vue
+++ b/src/views/order/beforehand_order/component/goodsOffer.vue
@@ -50,6 +50,7 @@
+
@@ -297,11 +298,6 @@ const oneClickStorage = () => {
getLists()
})
}
-const outboundChange = (e) => {
- const price = (formData.value.purchase * e).toFixed(2)
- const price2 = parseFloat(formData.value.purchase) + parseFloat(price)
- formData.value.outbound_price = price2.toFixed(2)
-}
/**
* 采购信息设置
*/
@@ -332,6 +328,7 @@ const procureClick = (data: any) => {
formData.value.store_info = data.store_info
formData.value.marques = data.marques
formData.value.after_sales = data.after_sales
+ formData.value.pay_type = data.pay_type
dictData.outbound_floating.forEach((item) => {
if (item.value == data.top_cate_name) {
@@ -356,16 +353,6 @@ const OclickDialogBuyer = () => {
warehouse_list.value = res.lists
})
}
-const product_offer_export = () => {
- apiPurchaseProductOfferLists({
- export: 2,
- order_id: queryParams.order_id
- }).then((res) => {
- window.open(res.url, '_blank')
- ElMessage.success('导出成功')
- })
-}
-
const queryParams = reactive({
order_id: order_id.value.id,
store_name: '',