给7种单据增加强制结单的按钮

This commit is contained in:
jishenghua
2025-04-08 22:29:11 +08:00
parent 65c517b335
commit 338f9ffd5d
8 changed files with 53 additions and 0 deletions

View File

@@ -94,6 +94,7 @@
<div class="table-operator" style="margin-top: 5px">
<a-button v-if="btnEnableList.indexOf(1)>-1" @click="myHandleAdd" type="primary" icon="plus">新增</a-button>
<a-button v-if="btnEnableList.indexOf(1)>-1" icon="delete" @click="batchDel">删除</a-button>
<a-button v-if="btnEnableList.indexOf(1)>-1" icon="issues-close" @click="batchForceClose">强制结单</a-button>
<a-button v-if="checkFlag && btnEnableList.indexOf(2)>-1" icon="check" @click="batchSetStatus(1)">审核</a-button>
<a-button v-if="checkFlag && btnEnableList.indexOf(7)>-1" icon="stop" @click="batchSetStatus(0)">反审核</a-button>
<a-button v-if="isShowExcel && btnEnableList.indexOf(3)>-1" icon="download" @click="handleExport">导出</a-button>
@@ -271,6 +272,7 @@
list: "/depotHead/list",
delete: "/depotHead/delete",
deleteBatch: "/depotHead/deleteBatch",
forceCloseBatch: "/depotHead/forceCloseBatch",
batchSetStatusUrl: "/depotHead/batchSetStatus"
}
}