给销售订单单据增加强制结单-以销定购的按钮

This commit is contained in:
jishenghua
2025-04-08 22:57:50 +08:00
parent aad6590da5
commit 8cd8b20b78
3 changed files with 67 additions and 32 deletions

View File

@@ -86,6 +86,7 @@
<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="purchaseBySaleFlag && btnEnableList.indexOf(1)>-1" icon="issues-close" @click="batchForceClosePurchase">强制结单-以销定购</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>
@@ -201,6 +202,8 @@
remark: ""
},
prefixNo: 'XSDD',
//以销定购开关
purchaseBySaleFlag: false,
labelCol: {
span: 5
},
@@ -258,6 +261,7 @@
delete: "/depotHead/delete",
deleteBatch: "/depotHead/deleteBatch",
forceCloseBatch: "/depotHead/forceCloseBatch",
forceClosePurchaseBatch: "/depotHead/forceClosePurchaseBatch",
batchSetStatusUrl: "/depotHead/batchSetStatus"
}
}