✨ feat(mes): 新增 OQC 来源单据类型错误码及相关校验
parent
4a3683aea8
commit
f628c2e7f5
|
|
@ -116,7 +116,7 @@
|
|||
<el-button
|
||||
link
|
||||
type="warning"
|
||||
@click="openForm('submit', scope.row.id)"
|
||||
@click="handleSubmit(scope.row.id)"
|
||||
v-hasPermi="['mes:wm-product-issue:update']"
|
||||
v-if="scope.row.status === MesWmProductIssueStatusEnum.PREPARE"
|
||||
>
|
||||
|
|
@ -247,6 +247,16 @@ const handleCancel = async (id: number) => {
|
|||
} catch {}
|
||||
}
|
||||
|
||||
/** 提交按钮操作 */
|
||||
const handleSubmit = async (id: number) => {
|
||||
try {
|
||||
await message.confirm('确认提交该领料出库单?提交后将不能修改。')
|
||||
await WmProductIssueApi.submitProductIssue(id)
|
||||
message.success('提交成功')
|
||||
await getList()
|
||||
} catch {}
|
||||
}
|
||||
|
||||
/** 删除按钮操作 */
|
||||
const handleDelete = async (id: number) => {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue