This commit is contained in:
启航 2024-06-12 17:02:38 +08:00
parent 8980e4859c
commit ebcfc35d9d
3 changed files with 29 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 130 KiB

View File

@ -4,7 +4,7 @@
<el-tab-pane label="天猫" name="taoOrder"> <el-tab-pane label="天猫" name="taoOrder">
<order-tao></order-tao> <order-tao></order-tao>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="京东" name="jdOrder" lazy> <el-tab-pane label="京东POP" name="jdOrder" lazy>
<order-jd></order-jd> <order-jd></order-jd>
</el-tab-pane> </el-tab-pane>

View File

@ -55,16 +55,16 @@
@click="handlePull" @click="handlePull"
>API拉取订单</el-button> >API拉取订单</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <!-- <el-col :span="1.5">-->
<el-button <!-- <el-button-->
:loading="pullLoading" <!-- :loading="pullLoading"-->
type="primary" <!-- type="primary"-->
plain <!-- plain-->
icon="el-icon-download" <!-- icon="el-icon-download"-->
size="mini" <!-- size="mini"-->
@click="handlePullDetailByTid" <!-- @click="handlePullDetailByTid"-->
>API拉取单个订单</el-button> <!-- >API拉取单个订单</el-button>-->
</el-col> <!-- </el-col>-->
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
type="primary" type="primary"
@ -73,7 +73,7 @@
size="mini" size="mini"
:disabled="multiple" :disabled="multiple"
@click="handlePushOms" @click="handlePushOms"
>手动将选中订单推送到OMS</el-button> >批量确认订单</el-button>
</el-col> </el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@ -128,12 +128,26 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-row>
<el-button
:loading="pullLoading"
type="text"
@click="handlePullUpdate(scope.row)"
>详情</el-button>
<el-button
:loading="pullLoading"
type="text"
icon="el-icon-refresh"
@click="handlePullUpdate(scope.row)"
>更新</el-button>
</el-row>
<el-button <el-button
:loading="pullLoading" :loading="pullLoading"
size="mini" size="mini"
icon="el-icon-refresh" type="success"
icon="el-icon-success"
@click="handlePullUpdate(scope.row)" @click="handlePullUpdate(scope.row)"
>更新订单</el-button> >确认订单</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -311,7 +325,7 @@ export default {
}, },
handlePushOms(row) { handlePushOms(row) {
const ids = row.id || this.ids; const ids = row.id || this.ids;
this.$modal.confirm('是否手动推送到系统').then(function() { this.$modal.confirm('是否批量确认订单').then(function() {
return pushOms({ids:ids}); return pushOms({ids:ids});
}).then(() => { }).then(() => {
// this.getList(); // this.getList();