From 45cbee931b7f0cce7ec7176e1478b464aac8958a Mon Sep 17 00:00:00 2001
From: aihe <961836564@qq.com>
Date: Sat, 21 Dec 2024 00:41:15 +0800
Subject: [PATCH] uu
---
common/api/order.js | 4 ++++
common/api/url.js | 3 ++-
pages/post/post.vue | 52 +++++++++++++++++++++++++++++++++++++--------
3 files changed, 49 insertions(+), 10 deletions(-)
diff --git a/common/api/order.js b/common/api/order.js
index 25fba92..dda143e 100644
--- a/common/api/order.js
+++ b/common/api/order.js
@@ -23,6 +23,10 @@ export const calcProductFee = (data = {})=> {
return coreRequest(url.calcProductFee, { ...data }, {})
}
+// 销售人联系列表
+export const getSalemanList = (data = {})=> {
+ return coreRequest(url.getSalemanList, { ...data }, {}, "GET")
+}
// 物流轨迹
export const queryWaybillTraceInfo = (data = {})=> {
diff --git a/common/api/url.js b/common/api/url.js
index 86f241b..e4ec822 100644
--- a/common/api/url.js
+++ b/common/api/url.js
@@ -37,7 +37,8 @@ export default {
cancelOrder: `/oms2c/emisWaybill/cancelOrder`, // 取消订单
sendBindMonthPayCode: `/oms2c/emisWaybill/bindMonthPayCode`, // 绑月结卡-发送邮件验证码
verifyBindMonthPayCode: `/oms2c/emisWaybill/verifyBindMonthPayCode`, // 确认绑定月结卡
- unbindMonthPayCode: `/oms2c/emisWaybill/unbindMonthPayCode`, // 解绑定月结卡
+ unbindMonthPayCode: `/oms2c/emisWaybill/unbindMonthPayCode`, // 解绑定月结卡
+ getSalemanList: `/oms2c/emisStaff/getSalemanList`, // 销售人联系列表
preCalcWaybillFee: `/oms2c/emisWaybill/preCalcWaybillFee`, // 报价试算
calcProductFee: `/oms2c/emisWaybill/calcProductFee`, // 下单-报价试算
getAgreementTxt: `/oms2c/commonTools/getAgreementTxt`, // 获取下单隐私协议
diff --git a/pages/post/post.vue b/pages/post/post.vue
index df11107..0ce0f60 100644
--- a/pages/post/post.vue
+++ b/pages/post/post.vue
@@ -42,7 +42,20 @@
-
+
+
+
+
+
+ {{submitParam.salesmen || '请选择'}}
+
+
+
+
+
+
{{submitParam.intoWarehouseAddress || '-'}}
-
+
+
@@ -153,19 +167,30 @@
-
+
货物信息
-
+
-
+
+
+
+
+ 编辑
+
+
+
- 产品类型
+
+
+ 产品类型
+
+
@@ -271,7 +296,8 @@
methods: {
getTransLineList: apiService.getTransLineList,
getLisWarehouse: apiService.getLisWarehouse,
- getMonthpayAccountList: apiService.getMonthpayAccountList,
+ getMonthpayAccountList: apiService.getMonthpayAccountList,
+ getSalemanList: apiService.getSalemanList,
getDefaultData() { // data的默认数据
return {
rucangMinDate: dayjs().add(0, 'day').format(`YYYY-MM-DD`),
@@ -293,7 +319,8 @@
},
wayRes: { list: [] },
yuejieRes: { list: [] },
- wareRes: { list: [] },
+ wareRes: { list: [] },
+ salemanRes: { list: [] },
revtimeModal: {
show: false,
},
@@ -359,7 +386,14 @@
this.submitParam.productTypeName = submitParam.productTypeName
const item = this.wayRes.list.filter(t=> t.val == val)[0]
this.updateDltDestSite({ lineCode: val })
- this.updateDltSendSite({ lineCode: val })
+ this.updateDltSendSite({ lineCode: val })
+ if(item?.transType == 1) {
+ this.submitParam.customsEclaration = 1
+ this.submitParam.customsClear = 1
+ } else {
+ this.submitParam.customsEclaration = 2
+ this.submitParam.customsClear = 3
+ }
},
async updateDltDestSite({ lineCode }) {
const { country, province, city, county, address } = this.submitParam.reciever