Commit 00050ef8 by linjinhong

feat:订单状态在“挂起、取消”的异常状态

parent 5b49d58b
......@@ -2,7 +2,7 @@
"name": "JomallProductionAssistant",
"productName": "JomallProductionAssistant",
"description": "",
"version": "1.0.35",
"version": "1.0.36",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
......
......@@ -736,6 +736,13 @@ export default {
this.detail = findByPodProductionNo.data;
if (this.detail.pause || this.detail.status == "CANCEL") {
this.detail = "";
const err = new Error();
err.data = `订单:${this.productionNo}已挂起或者已取消,无法生产`;
throw err;
}
//赋值当前扫码为生产单号的标识
if (!this.detail["newId"]) {
this.detail["newId"] = this.productionNo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment