调整
This commit is contained in:
@@ -107,8 +107,19 @@
|
||||
:tableData="orderDataList"
|
||||
:col-configs="orderColConfig"
|
||||
height="700"
|
||||
:isShowPagination="false"
|
||||
:size="100"
|
||||
:current.sync="form.current"
|
||||
:size.sync="form.size"
|
||||
:total="orderTotal"
|
||||
@getList="getOrderList"
|
||||
style="margin-top: 8px;">
|
||||
<el-table-column slot="options" label="操作" align="center" fixed="right" width="140px">
|
||||
<template v-slot="{ row }">
|
||||
<div class="table-options">
|
||||
<el-button type="text" v-if="form.status == '1'" @click="toSend(row)">重新发货</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</ai-table>
|
||||
</ai-card>
|
||||
<AiDialog
|
||||
@@ -197,6 +208,7 @@
|
||||
return {
|
||||
isShow: false,
|
||||
orderDataList: [],
|
||||
orderTotal: 0,
|
||||
colConfigs: [
|
||||
{ type: "selection", width: '70px', align: 'left' },
|
||||
{ slot: 'productName' },
|
||||
@@ -225,7 +237,9 @@
|
||||
],
|
||||
form: {
|
||||
warehouseId: 'XinCang',
|
||||
status: ''
|
||||
status: '',
|
||||
current: 1,
|
||||
size: 100
|
||||
},
|
||||
mallId: '',
|
||||
mallName: '',
|
||||
@@ -319,6 +333,7 @@
|
||||
}
|
||||
}).then(res => {
|
||||
this.orderDataList = res.data.records
|
||||
this.orderTotal = res.data.total
|
||||
})
|
||||
},
|
||||
handleClick (e) {
|
||||
@@ -516,6 +531,10 @@
|
||||
params['invoice[product_declared_value][]'] = ''
|
||||
params['invoice[product_weight][]'] = ''
|
||||
|
||||
if (obj.details[0].warehouseCode == 'UAXC002') {
|
||||
params.courier = 'USPS'
|
||||
}
|
||||
|
||||
for (let i = 0; i < obj.details.length; i++) {
|
||||
params[`platform_barcode[${obj.details[i].productId}]`] = ''
|
||||
params[`product_title_en[${obj.details[i].productId}]`] = obj.details[i].productTitleEn
|
||||
|
||||
Reference in New Issue
Block a user