1
This commit is contained in:
@@ -97,8 +97,8 @@
|
||||
<el-button type="primary" size="small" icon="el-icon-refresh-right" @click="handleBatchSyncLogistics" :loading="batchSyncLoading" title="批量同步物流链接到腾讯文档">一键发货到腾峰</el-button>
|
||||
<el-button type="success" size="small" icon="el-icon-check" @click="handleBatchMarkRebateReceived" :loading="batchMarkLoading" title="批量将赔付金额大于0的订单标记为后返到账(仅执行一次)">批量标记后返到账</el-button>
|
||||
<el-button type="warning" size="small" icon="el-icon-sort" @click="handleReverseSyncThirdPartyOrderNo" :loading="reverseSyncLoading" title="从腾讯文档第850行开始,通过物流链接反向匹配订单,将腾讯文档的单号列值写入到订单的第三方单号字段">反向同步第三方单号</el-button>
|
||||
<el-button type="primary" size="small" icon="el-icon-document-copy" @click="handleBatchCopyExcelText" :disabled="selectedRows.length === 0" title="批量复制选中订单的录单格式(Excel可粘贴)">批量复制录单格式</el-button>
|
||||
<el-button type="success" size="small" icon="el-icon-document-copy" @click="handleBatchCopyRebateText" :disabled="selectedRows.length === 0" title="批量复制选中订单的后返录表格式(Excel可粘贴)">批量复制后返录表</el-button>
|
||||
<el-button v-if="!isMobile" type="primary" size="small" icon="el-icon-document-copy" @click="handleBatchCopyExcelText" :disabled="selectedRows.length === 0" title="批量复制选中订单的录单格式(Excel可粘贴)">批量复制录单格式</el-button>
|
||||
<el-button v-if="!isMobile" type="success" size="small" icon="el-icon-document-copy" @click="handleBatchCopyRebateText" :disabled="selectedRows.length === 0" title="批量复制选中订单的后返录表格式(Excel可粘贴)">批量复制后返录表</el-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -114,10 +114,10 @@
|
||||
@selection-change="handleSelectionChange"
|
||||
style="width: 100%;"
|
||||
class="order-table">
|
||||
<!-- 多选列 -->
|
||||
<el-table-column type="selection" width="55" fixed="left" align="center"/>
|
||||
<!-- 多选列(仅桌面端显示) -->
|
||||
<el-table-column v-if="!isMobile" type="selection" width="55" fixed="left" align="center"/>
|
||||
<!-- 核心信息列 -->
|
||||
<el-table-column label="内部单号" prop="remark" width="140" sortable fixed="left"/>
|
||||
<el-table-column label="内部单号" prop="remark" width="140" sortable :fixed="isMobile ? false : 'left'"/>
|
||||
<el-table-column label="订单号" prop="orderId" width="180"/>
|
||||
<el-table-column label="第三方单号" prop="thirdPartyOrderNo" width="150">
|
||||
<template slot-scope="scope">
|
||||
@@ -666,6 +666,7 @@ export default {
|
||||
return false
|
||||
},
|
||||
actionButtons() {
|
||||
// 移动端按钮组,不包含批量复制相关按钮
|
||||
return [
|
||||
{ key: 'export', label: '导出', type: 'warning', icon: 'el-icon-download', handler: () => this.handleExport() },
|
||||
{ key: 'config', label: '腾峰文档配置', type: 'success', icon: 'el-icon-setting', handler: () => { this.showAutoWriteConfig = true } },
|
||||
@@ -673,9 +674,7 @@ export default {
|
||||
{ key: 'touser', label: '接收人配置', type: 'warning', icon: 'el-icon-user', handler: () => { this.showTouserConfig = true } },
|
||||
{ key: 'sync', label: '一键发货到腾峰', type: 'primary', icon: 'el-icon-refresh-right', handler: () => this.handleBatchSyncLogistics(), loading: this.batchSyncLoading },
|
||||
{ key: 'mark', label: '批量标记后返到账', type: 'success', icon: 'el-icon-check', handler: () => this.handleBatchMarkRebateReceived(), loading: this.batchMarkLoading },
|
||||
{ key: 'reverse', label: '反向同步第三方单号', type: 'warning', icon: 'el-icon-sort', handler: () => this.handleReverseSyncThirdPartyOrderNo(), loading: this.reverseSyncLoading },
|
||||
{ key: 'batchCopyExcel', label: '批量复制录单格式', type: 'primary', icon: 'el-icon-document-copy', handler: () => this.handleBatchCopyExcelText(), disabled: this.selectedRows.length === 0 },
|
||||
{ key: 'batchCopyRebate', label: '批量复制后返录表', type: 'success', icon: 'el-icon-document-copy', handler: () => this.handleBatchCopyRebateText(), disabled: this.selectedRows.length === 0 }
|
||||
{ key: 'reverse', label: '反向同步第三方单号', type: 'warning', icon: 'el-icon-sort', handler: () => this.handleReverseSyncThirdPartyOrderNo(), loading: this.reverseSyncLoading }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user