diff --git a/src/api/amz/inquiryRequest/index.ts b/src/api/amz/inquiryRequest/index.ts index 7534d79..f92088d 100644 --- a/src/api/amz/inquiryRequest/index.ts +++ b/src/api/amz/inquiryRequest/index.ts @@ -1,6 +1,6 @@ import request from '@/utils/request'; import { AxiosPromise } from 'axios'; -import { InquiryRequestVO, InquiryRequestForm, InquiryRequestQuery } from '@/api/amz/inquiryRequest/types'; +import { InquiryRequestVO, InquiryRequestForm, InquiryRequestQuery, InquiryRequestItemVO } from '@/api/amz/inquiryRequest/types'; import { LogisticsChannelVO } from '@/api/amz/logisticsChannel/types'; import { LogisticsQuoteVO } from '@/api/amz/logisticsQuote/types'; @@ -29,13 +29,29 @@ export const getInquiryRequest = (id: string | number): AxiosPromise => { +export const createWithDesAndChannel = (destination: string | number, channelId: string | number, date: string): AxiosPromise => { return request({ url: '/amz/inquiryRequest/create/' + destination + '/' + channelId + '/' + date, method: 'get' }); }; +export const createBatch = (items: InquiryRequestItemVO[]): AxiosPromise => { + return request({ + url: '/amz/inquiryRequest/create/batch', + method: 'post', + data: items + }); +}; + +export const insertList = (items: (string | number)[]): AxiosPromise => { + return request({ + url: '/amz/inquiryBlacklist/insert', + method: 'post', + data: items + }); +}; + /** * 根据目的地仓库和渠道查询物流询价列表 * @returns {*} @@ -44,7 +60,7 @@ export const createWithDesAndChannel = (destination: string | number, channelId: * @param date */ -export const queryWithDesAndChannel = (destination: string | number, channelId: string, date: string): AxiosPromise => { +export const queryWithDesAndChannel = (destination: string | number, channelId: string | number, date: string): AxiosPromise => { return request({ url: '/amz/inquiryRequest/query/' + destination + '/' + channelId + '/' + date, method: 'get' diff --git a/src/api/amz/inquiryRequest/types.ts b/src/api/amz/inquiryRequest/types.ts index 1c8abb7..0a60c2c 100644 --- a/src/api/amz/inquiryRequest/types.ts +++ b/src/api/amz/inquiryRequest/types.ts @@ -64,6 +64,19 @@ export interface InquiryRequestVO { effectiveEndTime: string; } +export interface InquiryRequestItemVO { + /** + * 目的地(存储四级行政编码,如CN310115) + */ + destination: string; + /** + * 渠道ID(system=dict_code,custom=自定义渠道ID) + */ + channelId: string | number; + + quoteDate: string; +} + export interface InquiryRequestForm extends BaseEntity { /** * 主键ID(自增序列) diff --git a/src/api/amz/logisticsOrderDetail/types.ts b/src/api/amz/logisticsOrderDetail/types.ts index ab4d29d..b42c4c8 100644 --- a/src/api/amz/logisticsOrderDetail/types.ts +++ b/src/api/amz/logisticsOrderDetail/types.ts @@ -55,7 +55,7 @@ export interface LogisticsOrderDetailVO { trackingNumber: string; /** - * 供应商称重(单位:KG,由供应商提供) + * 供应商称重-总重量(单位:KG,由供应商提供) */ supplierWeight: number; @@ -65,7 +65,7 @@ export interface LogisticsOrderDetailVO { logisticsWeight: number; /** - * 称重差异(应用层计算:物流商计重 - 供应商称重) + * 称重差异(应用层计算:物流商计重 - 供应商称重-总重量) */ weightDiff: number; @@ -167,7 +167,7 @@ export interface LogisticsOrderDetailForm extends BaseEntity { trackingNumber?: string; /** - * 供应商称重(单位:KG,由供应商提供) + * 供应商称重-总重量(单位:KG,由供应商提供) */ supplierWeight?: number; @@ -177,7 +177,7 @@ export interface LogisticsOrderDetailForm extends BaseEntity { logisticsWeight?: number; /** - * 称重差异(应用层计算:物流商计重 - 供应商称重) + * 称重差异(应用层计算:物流商计重 - 供应商称重-总重量) */ weightDiff?: number; @@ -274,7 +274,7 @@ export interface LogisticsOrderDetailQuery extends PageQuery { trackingNumber?: string; /** - * 供应商称重(单位:KG,由供应商提供) + * 供应商称重-总重量(单位:KG,由供应商提供) */ supplierWeight?: number; @@ -284,7 +284,7 @@ export interface LogisticsOrderDetailQuery extends PageQuery { logisticsWeight?: number; /** - * 称重差异(应用层计算:物流商计重 - 供应商称重) + * 称重差异(应用层计算:物流商计重 - 供应商称重-总重量) */ weightDiff?: number; diff --git a/src/api/amz/logisticsOrderQuotation/index.ts b/src/api/amz/logisticsOrderQuotation/index.ts new file mode 100644 index 0000000..520ab35 --- /dev/null +++ b/src/api/amz/logisticsOrderQuotation/index.ts @@ -0,0 +1,75 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { LogisticsOrderQuotationVO, LogisticsOrderQuotationForm, LogisticsOrderQuotationQuery } from '@/api/amz/logisticsOrderQuotation/types'; + +/** + * 查询物流订单确认列表 + * @param query + * @returns {*} + */ + +export const listLogisticsOrderQuotation = (query?: LogisticsOrderQuotationQuery): AxiosPromise => { + return request({ + url: '/amz/logisticsOrderQuotation/list', + method: 'get', + params: query + }); +}; + +/** + * 查询物流订单确认详细 + * @param id + */ +export const getLogisticsOrderQuotation = (id: string | number): AxiosPromise => { + return request({ + url: '/amz/logisticsOrderQuotation/' + id, + method: 'get' + }); +}; + +/** + * 新增物流订单确认 + * @param data + */ +export const addLogisticsOrderQuotation = (data: LogisticsOrderQuotationForm) => { + return request({ + url: '/amz/logisticsOrderQuotation', + method: 'post', + data: data + }); +}; + +/** + * 新增物流订单确认 + * @param data + */ +export const createLogisticsOrderQuotation = (data: LogisticsOrderQuotationForm) => { + return request({ + url: '/amz/logisticsOrderQuotation/quotationOrder', + method: 'post', + data: data + }); +}; + +/** + * 修改物流订单确认 + * @param data + */ +export const updateLogisticsOrderQuotation = (data: LogisticsOrderQuotationForm) => { + return request({ + url: '/amz/logisticsOrderQuotation', + method: 'put', + data: data + }); +}; + +/** + * 删除物流订单确认 + * @param id + */ +export const delLogisticsOrderQuotation = (id: string | number | Array) => { + return request({ + url: '/amz/logisticsOrderQuotation/' + id, + method: 'delete' + }); +}; diff --git a/src/api/amz/logisticsOrderQuotation/types.ts b/src/api/amz/logisticsOrderQuotation/types.ts new file mode 100644 index 0000000..13878fe --- /dev/null +++ b/src/api/amz/logisticsOrderQuotation/types.ts @@ -0,0 +1,161 @@ +export interface LogisticsOrderQuotationVO { + /** + * 主键(应用层生成的全局唯一ID,如雪花算法) + */ + id: string | number; + + /** + * FBA货件编号(亚马逊系统生成的唯一标识) + */ + fbaShipmentId: string | number; + + /** + * 订单编号(应用层生成的唯一业务流水号) + */ + orderId: string | number; + + /** + * 物流商ID(关联物流商信息表) + */ + logisticsProviderId: string | number; + + /** + * 物流商名称(冗余存储,避免高频联表查询) + */ + logisticsProviderName: string | number; + + /** + * 物流渠道(如空运/海运/快递等) + */ + channelName: string; + + /** + * 目的地仓库名称或编码 + */ + destination: string; + + /** + * 总箱子数量(此订单包含的箱子总数) + */ + boxQuantity: number; + + /** + * 总货件数量(商品件数总和) + */ + shipmentQuantity: number; + + /** + * 根据哪个报价单生成的订单 + */ + quoteOrderId: string | number; + +} + +export interface LogisticsOrderQuotationForm extends BaseEntity { + /** + * 主键(应用层生成的全局唯一ID,如雪花算法) + */ + id?: string | number; + + /** + * FBA货件编号(亚马逊系统生成的唯一标识) + */ + fbaShipmentId?: string | number; + + /** + * 订单编号(应用层生成的唯一业务流水号) + */ + orderId?: string | number; + + /** + * 物流商ID(关联物流商信息表) + */ + logisticsProviderId?: string | number; + + /** + * 物流商名称(冗余存储,避免高频联表查询) + */ + logisticsProviderName?: string | number; + + /** + * 物流渠道(如空运/海运/快递等) + */ + channelName?: string; + + /** + * 目的地仓库名称或编码 + */ + destination?: string; + + /** + * 总箱子数量(此订单包含的箱子总数) + */ + boxQuantity?: number; + + /** + * 总货件数量(商品件数总和) + */ + shipmentQuantity?: number; + + /** + * 根据哪个报价单生成的订单 + */ + quoteOrderId?: string | number; + +} + +export interface LogisticsOrderQuotationQuery extends PageQuery { + + /** + * FBA货件编号(亚马逊系统生成的唯一标识) + */ + fbaShipmentId?: string | number; + + /** + * 订单编号(应用层生成的唯一业务流水号) + */ + orderId?: string | number; + + /** + * 物流商ID(关联物流商信息表) + */ + logisticsProviderId?: string | number; + + /** + * 物流商名称(冗余存储,避免高频联表查询) + */ + logisticsProviderName?: string | number; + + /** + * 物流渠道(如空运/海运/快递等) + */ + channelName?: string; + + /** + * 目的地仓库名称或编码 + */ + destination?: string; + + /** + * 总箱子数量(此订单包含的箱子总数) + */ + boxQuantity?: number; + + /** + * 总货件数量(商品件数总和) + */ + shipmentQuantity?: number; + + /** + * 根据哪个报价单生成的订单 + */ + quoteOrderId?: string | number; + + /** + * 日期范围参数 + */ + params?: any; +} + + + diff --git a/src/api/amz/logisticsQuote/index.ts b/src/api/amz/logisticsQuote/index.ts index 741a69e..ea1e75b 100644 --- a/src/api/amz/logisticsQuote/index.ts +++ b/src/api/amz/logisticsQuote/index.ts @@ -26,13 +26,20 @@ export const listLogisticsQuote = (query?: LogisticsQuoteQuery): AxiosPromise => { +export const queryLogisticsQuote = (destination: string | number, channelId: string | number, date: string): AxiosPromise => { return request({ url: '/amz/logisticsQuote/query/' + destination + '/' + channelId + '/' + date, method: 'get' }); }; +export const queryLogisticsQuoteWithDes = (destination: string | number, date: string): AxiosPromise => { + return request({ + url: '/amz/logisticsQuote/queryWithDes/' + destination + '/' + date, + method: 'get' + }); +}; + /** * 查询物流报价详细 * @param id diff --git a/src/api/amz/logisticsQuote/types.ts b/src/api/amz/logisticsQuote/types.ts index c8a52de..a227ec2 100644 --- a/src/api/amz/logisticsQuote/types.ts +++ b/src/api/amz/logisticsQuote/types.ts @@ -224,6 +224,11 @@ export interface LogisticsMostQuoteForm extends BaseEntity { * 单位 */ unit?: string; + + /** + * 后端物流类型 + */ + backLogisticsType?: string; } export interface LogisticsQuoteQuery extends PageQuery { diff --git a/src/api/amz/shipmentPlan/index.ts b/src/api/amz/shipmentPlan/index.ts index e2ed043..f9bf039 100644 --- a/src/api/amz/shipmentPlan/index.ts +++ b/src/api/amz/shipmentPlan/index.ts @@ -81,6 +81,14 @@ export const updateShipmentPlan = (data: ShipmentPlanForm) => { }); }; +export const updateShipmentPlanList = (data: string[]) => { + return request({ + url: '/amz/shipmentPlan/update/list/send', + method: 'post', + data: data + }); +}; + /** * 删除货件计划 * @param id diff --git a/src/api/amz/shipmentPlan/types.ts b/src/api/amz/shipmentPlan/types.ts index db3d286..4cdea7d 100644 --- a/src/api/amz/shipmentPlan/types.ts +++ b/src/api/amz/shipmentPlan/types.ts @@ -129,7 +129,7 @@ export interface ShipmentPlanVO { boxSize: string; /** - * 供应商称重(单位:KG,物流商实际测量值) + * 供应商称重-总重量(单位:KG,物流商实际测量值) */ vendorWeight: number; @@ -276,7 +276,7 @@ export interface ShipmentPlanOrderVO { boxSize: string; /** - * 供应商称重(单位:KG,物流商实际测量值) + * 供应商称重-总重量(单位:KG,物流商实际测量值) */ logisticsWeight: number; @@ -431,7 +431,7 @@ export interface ShipmentPlanForm extends BaseEntity { boxSize?: string; /** - * 供应商称重 + * 供应商称重-总重量 */ vendorWeight?: number; @@ -573,7 +573,7 @@ export interface ShipmentPlanQuery extends PageQuery { boxSize?: string; /** - * 供应商称重(单位:KG,物流商实际测量值) + * 供应商称重-总重量(单位:KG,物流商实际测量值) */ logisticsWeight?: number; diff --git a/src/components/FileCustomUpload/index.vue b/src/components/FileCustomUpload/index.vue new file mode 100644 index 0000000..193c197 --- /dev/null +++ b/src/components/FileCustomUpload/index.vue @@ -0,0 +1,245 @@ + + + + + diff --git a/src/views/amz/inquiryRequest/index.vue b/src/views/amz/inquiryRequest/index.vue index 8b1054f..7b0b2aa 100644 --- a/src/views/amz/inquiryRequest/index.vue +++ b/src/views/amz/inquiryRequest/index.vue @@ -101,6 +101,11 @@ >导出 + + 屏蔽报价 + + @@ -108,9 +113,11 @@ - + + + - + - + + @@ -78,22 +91,25 @@ + + - + @@ -112,13 +128,13 @@ @@ -128,6 +144,9 @@ + + + @@ -141,7 +160,7 @@ - + + + + + + + + + + + - - + + @@ -164,7 +193,7 @@ @@ -177,76 +206,24 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - 查询报价 + + 批量提交询价 @@ -351,7 +328,7 @@ import { } from '@/api/amz/shipmentPlan'; import { listAllLogisticsChannel } from '@/api/amz/logisticsChannel'; import type { DrawerProps } from 'element-plus'; -import { createWithDesAndChannel, queryWithDesAndChannel } from '@/api/amz/inquiryRequest'; +import { createBatch, createWithDesAndChannel, queryWithDesAndChannel } from '@/api/amz/inquiryRequest'; import { queryLogisticsQuote } from '@/api/amz/logisticsQuote'; @@ -360,6 +337,7 @@ import { ElTable } from 'element-plus'; import { LogisticsQuoteVO } from '@/api/amz/logisticsQuote/types'; import { createOrderForm } from '@/api/amz/logisticsOrder/types'; import { createLogisticsOrder } from '@/api/amz/logisticsOrder'; +import { InquiryRequestItemVO } from '@/api/amz/inquiryRequest/types'; const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { biz_transport_channel } = toRefs(proxy?.useDict('biz_transport_channel')); @@ -375,6 +353,8 @@ const single = ref(true); const multiple = ref(true); const total = ref(0); +const props = { emitPath: false, multiple: true }; + const queryFormRef = ref(); const shipmentPlanFormRef = ref(); @@ -464,7 +444,21 @@ const data = reactive>({ shipToAddress: [{ required: true, message: '收货地址不能为空', trigger: 'blur' }], referenceId: [{ required: true, message: '参考编号不能为空', trigger: 'blur' }], staInboundPlanId: [{ required: true, message: '入库计划ID不能为空', trigger: 'blur' }], - isSta: [{ required: true, message: '是否STA计划不能为空', trigger: 'blur' }] + isSta: [{ required: true, message: '是否STA计划不能为空', trigger: 'blur' }], + boxSize: [ + { + required: true, + message: '长宽高都不能为空', + validator: (rule, value, callback) => { + if (!plength.value || !pwidth.value || !pheight.value) { + callback(new Error('长宽高都不能为空')); + } else { + callback(); + } + }, + trigger: 'blur' + } + ] } }); @@ -492,9 +486,14 @@ const createOrder = async (row: ShipmentPlanVO) => { }; const dialogTableVisible = ref(false); +const plength = ref(); +const pheight = ref(); +const pwidth = ref(); const logisticsQuoteList = ref([]); +const inquiryRequestItemVOList = ref([]); + const tableData = ref([ { channelId: '1902912289404719106', @@ -513,6 +512,34 @@ const tableData = ref([ } ]); +const batchSendRest = async () => { + console.log('selectionDatas=', selectionDatas); + console.log('selectedChannel=', selectedChannel); + channelDialogVisible.value = false; + selectionDatas.value.forEach((item) => { + selectedChannel.value.forEach((channel) => { + const inquiryRequestItemVO = { + destination: item.destination, + channelId: channel, + quoteDate: shipDate.value, + shipToAddress: item.shipToAddress, + shipmentId: item.shipmentId + }; + inquiryRequestItemVOList.value.push(inquiryRequestItemVO); + }); + }); + console.log('inquiryRequestItemVOList=', inquiryRequestItemVOList); + + const res = await createBatch(inquiryRequestItemVOList.value); + console.log('res', res); + if (res.code === 200) { + ElMessage.success('批量发送成功'); + getList(); + } else { + ElMessage.error('批量发送失败'); + } +}; + // 时间格式化方法 const formatTime = (timeString) => { return timeString.replace(' ', '\n'); // 换行显示日期时间 @@ -552,11 +579,33 @@ function cancelClick() { const channelCascaderRef = ref(null); const cascaderChange = (value) => { console.log(value); - console.log('selectedChannel', selectedChannel); + console.log('selectedChannel', selectedChannel.value); console.log('groupedChannels', groupedChannels); // console.log('channelCascaderRef', channelCascaderRef); - console.log('label====', channelCascaderRef.value.getCheckedNodes()[0].label); + console.log('label====', channelCascaderRef.value.getCheckedNodes()); +}; + +const batchCascaderChange = (value) => { + console.log(value); + console.log('selectedChannel', selectedChannel.value); + console.log('groupedChannels', groupedChannels); + console.log('selectionDatas', selectionDatas.value); + // console.log('channelCascaderRef', channelCascaderRef); + // console.log('label====', channelCascaderRef.value.getCheckedNodes()); +}; + +const channelDialogVisibleAction = () => { + if (selectionDatas.value === undefined || selectionDatas.value?.length === 0) { + ElMessage.error('请选择需要批量提交的数据'); + return; + } + + channelDialogVisible.value = true; + console.log('channelDialogVisibleAction', selectionDatas.value.length); + selectionDatas.value.forEach((item) => { + console.log(item.channelId); + }); }; function confirmClick() { @@ -723,6 +772,13 @@ const handleSelectionChange = (selection: ShipmentPlanVO[]) => { multiple.value = !selection.length; }; +const selectionDatas = ref(); + +/** 多选框选中数据 */ +const fbaDataSelectionChange = (selection: ShipmentPlanVO[]) => { + selectionDatas.value = selection; +}; + /** 新增按钮操作 */ const handleAdd = () => { reset(); @@ -736,13 +792,13 @@ const checkPrice = async () => { console.log('checkPrice', currentDes.value, selectedChannel.value); //查询报价单 console.log('sshipDate.value', shipDate.value); - if (currentFBAData.value.channelId == null) { - ElMessage({ - type: 'warning', - message: '请先设置渠道!' - }); - return; - } + // if (currentFBAData.value.channelId == null) { + // ElMessage({ + // type: 'warning', + // message: '请先设置渠道!' + // }); + // return; + // } const updateForm = ref({ id: currentFBAData.value.id, @@ -750,41 +806,66 @@ const checkPrice = async () => { }); await updateShipmentPlan(updateForm.value).finally(() => (buttonLoading.value = false)); - const res = await queryLogisticsQuote(currentDes.value, currentFBAData.value.channelId, shipDate.value); - console.log('查询报价单', res); - if (res.total == 0) { - //查询询价单 - const requestQuote = await queryWithDesAndChannel(currentDes.value, currentFBAData.value.channelId, shipDate.value); - console.log('查询询价单', requestQuote); - if (requestQuote.total == 0) { - console.log('询价单也没数据'); - channelDialogVisible.value = false; - const res2 = await createWithDesAndChannel(currentDes.value, currentFBAData.value.channelId, shipDate.value); - console.log('checkPriceEnd2', res2); - if (res2.code == 200) { - ElMessage({ - type: 'success', - message: '询价单创建成功' - }); - } - } else { - //显示询价单 - // channelDialogVisible.value = false; - // dialogTableVisible.value = true; - // tableData.value = requestQuote.rows; - // console.log('requestQuote.rows', requestQuote.rows); - // console.log('tableData', tableData.value); - ElMessage.success('已经有人询价了'); - } - } else { - //显示报价单 - ElMessage.success('已经有人报价了'); + console.log('selectionDatas=', selectionDatas); + console.log('selectedChannel=', selectedChannel); + channelDialogVisible.value = false; - // channelDialogVisible.value = false; - // drawer.value = true; - // logisticsQuoteList.value = res.rows; + selectedChannel.value.forEach((channel) => { + const inquiryRequestItemVO = { + destination: currentFBAData.value.destination, + channelId: channel, + quoteDate: shipDate.value, + shipToAddress: currentFBAData.value.shipToAddress, + shipmentId: currentFBAData.value.shipmentId + }; + inquiryRequestItemVOList.value.push(inquiryRequestItemVO); + }); + + console.log('inquiryRequestItemVOList=', inquiryRequestItemVOList); + + const res = await createBatch(inquiryRequestItemVOList.value); + console.log('res', res); + if (res.code === 200) { + ElMessage.success('提交成功'); + getList(); + } else { + ElMessage.error('提交失败'); } - getList(); + + // const res = await queryLogisticsQuote(currentDes.value, currentFBAData.value.channelId, shipDate.value); + // console.log('查询报价单', res); + // if (res.total == 0) { + // //查询询价单 + // const requestQuote = await queryWithDesAndChannel(currentDes.value, currentFBAData.value.channelId, shipDate.value); + // console.log('查询询价单', requestQuote); + // if (requestQuote.total == 0) { + // console.log('询价单也没数据'); + // channelDialogVisible.value = false; + // const res2 = await createWithDesAndChannel(currentDes.value, currentFBAData.value.channelId, shipDate.value); + // console.log('checkPriceEnd2', res2); + // if (res2.code == 200) { + // ElMessage({ + // type: 'success', + // message: '询价单创建成功' + // }); + // } + // } else { + // //显示询价单 + // // channelDialogVisible.value = false; + // // dialogTableVisible.value = true; + // // tableData.value = requestQuote.rows; + // // console.log('requestQuote.rows', requestQuote.rows); + // // console.log('tableData', tableData.value); + // ElMessage.success('已经有人询价了'); + // } + // } else { + // //显示报价单 + // ElMessage.success('已经有人报价了'); + // + // // channelDialogVisible.value = false; + // // drawer.value = true; + // // logisticsQuoteList.value = res.rows; + // } }; /** 修改按钮操作 */ @@ -794,10 +875,22 @@ const handleUpdate = async (row?: ShipmentPlanVO) => { const res = await getShipmentPlan(_id); Object.assign(form.value, res.data); console.log('form.value', form.value); + + if (res.data.boxSize != null) { + const arr: string[] = res.data.boxSize.split('*'); + if (arr.length > 0) { + plength.value = arr[0]; + pwidth.value = arr[1]; + pheight.value = arr[2]; + } + } selectedChannel.value = res.data.channelId; console.log('selectedChannel', selectedChannel); dialog.visible = true; - dialog.title = '修改货件计划'; + dialog.title = '编辑货件计划开始询价'; + console.log(row); + currentFBAData.value = row; + currentDes.value = row.destination; }; const handleSend = async (row?: ShipmentPlanVO) => { @@ -829,15 +922,15 @@ const submitForm = () => { // console.log('channelCascaderRef', channelCascaderRef); console.log('label====', channelCascaderRef.value.getCheckedNodes()[0].label); form.value.channelName = channelCascaderRef.value.getCheckedNodes()[0].label; - form.value.channelId = selectedChannel; + // form.value.channelId = selectedChannel; const updateForm = ref({ id: form.value.id, boxQuantity: form.value.boxQuantity, - boxSize: form.value.boxSize, + boxSize: plength.value + '*' + pwidth.value + '*' + pheight.value, vendorWeight: form.value.vendorWeight, - setTotal: form.value.setTotal, - channelId: selectedChannel, - channelName: channelCascaderRef.value.getCheckedNodes()[0].label + setTotal: form.value.setTotal + // channelId: selectedChannel, + // channelName: channelCascaderRef.value.getCheckedNodes()[0].label }); shipmentPlanFormRef.value?.validate(async (valid: boolean) => { if (valid) { @@ -849,7 +942,9 @@ const submitForm = () => { } proxy?.$modal.msgSuccess('操作成功'); dialog.visible = false; - await getList(); + // await getList(); + + checkPrice(); } }); }; diff --git a/src/views/amz/shipmentPlanQuery/index.vue b/src/views/amz/shipmentPlanQuery/index.vue index 997bdfc..c44fac5 100644 --- a/src/views/amz/shipmentPlanQuery/index.vue +++ b/src/views/amz/shipmentPlanQuery/index.vue @@ -65,21 +65,21 @@ @@ -93,15 +93,15 @@ @@ -111,14 +111,14 @@ 查看详情 - - - + + + + - - + @@ -102,7 +103,7 @@ - + @@ -116,12 +117,24 @@ {{ scope.row.shipmentStatus }} - + + + +