|
|
@@ -562,9 +562,9 @@ |
|
|
|
] // 换货类型 |
|
|
|
const logisticsCompanyList = ref([]) |
|
|
|
function getLogisticsCompanyList() { |
|
|
|
BaseService.post('30', {}).then((res: any) => { |
|
|
|
BaseService.post('/managew/order/couriercompanyselect', {}).then((res: any) => { |
|
|
|
if (res && res.statusCode === 0) { |
|
|
|
logisticsCompanyList.value = res?.bizContent ? JSON.parse(res.bizContent) : [] |
|
|
|
logisticsCompanyList.value = res?.bizContent ? res.data : [] |
|
|
|
} else { |
|
|
|
ElMessage.error(res.message) |
|
|
|
} |
|
|
@@ -876,10 +876,10 @@ |
|
|
|
let api = '' |
|
|
|
let params = {} |
|
|
|
if (type == 2) { |
|
|
|
api = 'f92bfe60dbdf492eb37e2aad96ae1fd2' |
|
|
|
api = '/managew/order/orderreuse' |
|
|
|
params = { orderId: row.orderId, orderSource: 'WEB' } |
|
|
|
} else if (type == 3) { |
|
|
|
api = '6eb10e968aac40f8bf4549cd05c8f5eb' |
|
|
|
api = '/managew/order/orderend' |
|
|
|
params = { orderId: row.orderId, orderSource: 'WEB' } |
|
|
|
} |
|
|
|
BaseService.post(api, params).then((res: any) => { |
|
|
@@ -979,13 +979,13 @@ |
|
|
|
biddingProcessType.value = type |
|
|
|
biddingProcessInfoLoading.value = true |
|
|
|
if (type === 'APPLYRETURN') { // 退货 |
|
|
|
api = 'f0247eddf01e4dc3996b44e84b5938f0' |
|
|
|
api = '/managew/api/generalAudit/verificationquery' |
|
|
|
biddingProcessTypeTitle.value = '退货详情' |
|
|
|
} else if (type === 'APPLYREPLACEMENT') { // 换货 |
|
|
|
api = '0dff04ef1e8648e6a5cddfb1eae1ee4b' |
|
|
|
biddingProcessTypeTitle.value = '换货详情' |
|
|
|
} else if (type === 'PAYEND') { // 支付 |
|
|
|
api = '2fb55d1b0144410c8482c97234d9d3bb' |
|
|
|
api = '/managew/api/generalAudit/paymentdetails' |
|
|
|
biddingProcessTypeTitle.value = '支付详情' |
|
|
|
} |
|
|
|
BaseService.post(api, { orderId: beanData.orderId }).then((res: any) => { |
|
|
@@ -1048,9 +1048,9 @@ |
|
|
|
exchangeInformationDialog.value = true |
|
|
|
} else if (start == 6) { |
|
|
|
detailDialogTitle.value = '保证金详情' |
|
|
|
BaseService.post('45ea142406cb437a84104cdc6f3b5025', { orderId: data.orderId }).then((res: any) => { |
|
|
|
BaseService.post('/managew/query/userdeposit', { orderId: data.orderId }).then((res: any) => { |
|
|
|
if (res && res.statusCode === 0) { |
|
|
|
earnestMoneyObj.value = JSON.parse(res.bizContent) //渲详情数据 |
|
|
|
earnestMoneyObj.value = res.data //渲详情数据 |
|
|
|
if (earnestMoneyObj.value) { |
|
|
|
visible.value = true |
|
|
|
} else { |
|
|
@@ -1091,12 +1091,12 @@ |
|
|
|
const biddingProcessList: any = ref([]) |
|
|
|
function getBiddingProcess(row) { |
|
|
|
biddingProcessList.value = [] |
|
|
|
BaseService.post('872125e2bf0540659004d28be4a7a9cb', { |
|
|
|
BaseService.post('/managew/api/generalAudit/biddingprocess', { |
|
|
|
orderId: row.orderId, |
|
|
|
}).then((res: any) => { |
|
|
|
if (res && res.statusCode === 0) { |
|
|
|
biddingProcessLoading.value = false |
|
|
|
biddingProcessList.value = JSON.parse(res.bizContent)?.data ?? [] |
|
|
|
biddingProcessList.value = res.data?.data ?? [] |
|
|
|
console.log(biddingProcessList.value, 'biddingProcessList.value') |
|
|
|
} else { |
|
|
|
biddingProcessLoading.value = false |
|
|
@@ -1127,11 +1127,11 @@ |
|
|
|
} |
|
|
|
//取消订单 |
|
|
|
if (operationStart == 1) { |
|
|
|
ifCode = cancellationOfOrder |
|
|
|
ifCode = '/iaw/issue/order/orderCancel' |
|
|
|
startTitle.value = '取消订单' |
|
|
|
} else if (operationStart == 4) { |
|
|
|
//退货 |
|
|
|
ifCode = salesReturn |
|
|
|
ifCode = '165' |
|
|
|
} else { |
|
|
|
timer = null |
|
|
|
return |
|
|
@@ -1228,7 +1228,7 @@ |
|
|
|
} |
|
|
|
// 发货导出 |
|
|
|
function download() { |
|
|
|
exportFn('347df56516ea4bc6b8b48c1879346646', getParams(), '发货信息') |
|
|
|
exportFn('/managew/api/order/deliverGoodsExport', getParams(), '发货信息') |
|
|
|
} |
|
|
|
// 发货导入 |
|
|
|
const upload = ref<UploadInstance>() |
|
|
@@ -1236,7 +1236,7 @@ |
|
|
|
const { ossFilePath, originalFileName } = response.data |
|
|
|
const url = data.bucket + '/' + ossFilePath |
|
|
|
console.log(ossFilePath, originalFileName) |
|
|
|
BaseService.post('2cd3736a0c9b4527890e73a76dea2687', { path: url, }).then((res: any) => { |
|
|
|
BaseService.post('/managew/api/order/deliverGoodsImport', { path: url, }).then((res: any) => { |
|
|
|
if (res && res.statusCode === 0) { |
|
|
|
getList && getList(); |
|
|
|
console.log(res.bizContent, 'res') |