update order

This commit is contained in:
lb
2023-07-18 11:24:17 +08:00
parent 80e7c5d292
commit 4c69135048
4 changed files with 61 additions and 2 deletions

View File

@@ -227,7 +227,7 @@ export default {
}
})
.catch((errMsg) => {
console.log('ere...')
console.log("ere...");
this.$message({
message: errMsg,
type: "error",
@@ -390,6 +390,18 @@ export default {
this.showUploadDialog(payload);
// alert('/pms/order/importExcelOrder');
break;
case "压制工艺":
// 跳转至压制工艺页面
alert("跳转至压制工艺页面");
// this.$router.push({ path: "/pms/pressing-process", query: { orderId: payload.id } });
break;
case "烧制曲线":
// 跳转至烧制曲线页面
alert("跳转至烧制曲线页面");
break;
case "检测工艺": // 跳转至检测工艺页面
alert("跳转至检测工艺页面");
break;
}
},

View File

@@ -454,6 +454,18 @@ export default {
}
}
case "pending":
console.log("[search form btn click]", type, btnName, payload);
if (btnName === "压制工艺") {
// 跳转至压制工艺页面
alert("跳转至压制工艺页面");
// this.$router.push({ path: "/pms/pressing-process", query: { orderId: payload.id } });
} else if (btnName === '烧制曲线') {
// 跳转至烧制曲线页面
alert("跳转至烧制曲线页面");
} else if (btnName === '检测工艺') {
// 跳转至检测工艺页面
alert("跳转至检测工艺页面");
}
break;
case "finished":
break;

View File

@@ -178,6 +178,30 @@ export default function () {
plain: true,
},
},
{
button: {
name: '压制工艺'
},
bind: {
plain: true
}
},
{
button: {
name: '烧制曲线'
},
bind: {
plain: true
}
},
{
button: {
name: '检测工艺'
},
bind: {
plain: true
}
}
],
finished: [
{