fix(wms): 修复调拨单二次调整按钮显示及仓库选择保存问题
修复调拨单列表中二次调整按钮的显示条件,从原审批状态为2或3改为仅状态为3时显示 移除执行全部按钮的注释状态 为仓库选择添加change事件自动保存功能 调整重新提交审批的提示信息和成功消息
This commit is contained in:
@@ -149,14 +149,14 @@
|
||||
v-if="scope.row.approveStatus == '1'"
|
||||
icon="el-icon-refresh"
|
||||
>撤回</el-button>
|
||||
<!-- <el-button
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
plain
|
||||
@click="handleReSubmit(scope.row)"
|
||||
v-if="scope.row.approveStatus == '3' || scope.row.approveStatus == '2'"
|
||||
v-if="scope.row.approveStatus == '3'"
|
||||
icon="el-icon-refresh"
|
||||
>二次调整</el-button> -->
|
||||
>二次调整</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@@ -220,7 +220,7 @@
|
||||
<div style="margin-bottom: 10px; display: flex; align-items: center;">
|
||||
<el-button icon="el-icon-download" type="warning" plain @click="handleExportDetail">导出</el-button>
|
||||
<el-button style="margin-right: 10px;" icon="el-icon-refresh" type="success" plain @click="handleRefreshDetailList">刷新</el-button>
|
||||
<el-button :loading="buttonLoading" style="margin-right: 10px;" icon="el-icon-check" type="primary" plain @click="handleConfirmAll" v-if="currentOrderStatus == '2'">执行全部</el-button>
|
||||
<!-- <el-button :loading="buttonLoading" style="margin-right: 10px;" icon="el-icon-check" type="primary" plain @click="handleConfirmAll" v-if="currentOrderStatus == '2'">执行全部</el-button> -->
|
||||
<coil-selector v-loading="buttonLoading" ref="coilSelector" multiple @confirm="handleCoilChange" v-if="canAddCoils"></coil-selector>
|
||||
</div>
|
||||
<transfer-item-table ref="transferItemTable" :data="transferOrderItems" @refreshData="getDetailList" :orderStatus="currentOrderStatus" :canEdit="canAddCoils" />
|
||||
@@ -410,7 +410,7 @@ export default {
|
||||
},
|
||||
/** 重新提交 */
|
||||
handleReSubmit(row) {
|
||||
this.$confirm('确定要重新提交审批吗?', '提示', {
|
||||
this.$confirm('确定要调整后重新提交审批吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'info'
|
||||
@@ -422,7 +422,7 @@ export default {
|
||||
...row,
|
||||
approveStatus: '0',
|
||||
}).then(response => {
|
||||
this.$modal.msgSuccess('重新提交成功');
|
||||
this.$modal.msgSuccess('请调整后重新提交审批');
|
||||
this.getList();
|
||||
}).finally(() => {
|
||||
this.loading = false;
|
||||
|
||||
Reference in New Issue
Block a user