抛光仓库相关功能-未完成(但已部署)

This commit is contained in:
2024-08-05 10:20:07 +08:00
parent a4d6d3efbc
commit cc1b7389b9
9 changed files with 1484 additions and 19 deletions

View File

@@ -846,7 +846,6 @@
if (res.code == 200) {
if (res.data != undefined) {
this.CurrentWorkorder = res.data
this.$message.success('更新今日工单号成功')
this.$loading()
return GetcheckItemTable({ workorderID: this.CurrentWorkorder.clientWorkorder })
@@ -874,12 +873,13 @@
workOrderCompleted() {
// 待保存的工单信息
const saveWorkorderInfo = JSON.parse(JSON.stringify(this.CurrentWorkorder));
const timeStr = this.$dayjs().format("YYYY-MM-DD HH:mm:ss");
this.$modal
.confirm('是否确认完成本工单?')
.then(() => {
this.$notify.success(`已完成工单${saveWorkorderInfo.clientWorkorder},即将跳转下一个工单`);
// 毛坯库存出库
this.$notify.success(`工单${saveWorkorderInfo.clientWorkorder},开始同步毛坯库存!`)
this.$notify.success(`工单${saveWorkorderInfo.clientWorkorder},开始同步毛坯库存!`);
const queryData = {
workOrderId: saveWorkorderInfo.clientWorkorder
}
@@ -888,7 +888,7 @@
this.$notify.success(`工单${saveWorkorderInfo.clientWorkorder},毛坯库存已扣除!`)
}
}).catch((err) => {
})
//todo 更改这个工单状态为2
this.getNext_current_workorder().then(() => {