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

@ -20,7 +20,11 @@ export default function () {
fixed: "right", fixed: "right",
width: 128, width: 128,
subcomponent: TableOperaionComponent, subcomponent: TableOperaionComponent,
options: [ { name: "copy", label: "复制", icon: "copy-document" }, { name: "edit", label: "编辑", icon: "edit-outline" }, { name: "delete", icon: "delete", label: "删除", emitFull: true, permission: "pms:blenderStep:delete" }], options: [
{ name: "copy", label: "复制", icon: "copy-document" },
{ name: "edit", label: "编辑", icon: "edit-outline" },
{ name: "delete", icon: "delete", label: "删除", emitFull: true, permission: "pms:blenderStep:delete" },
],
}, },
]; ];
@ -58,6 +62,12 @@ export default function () {
name: "查询", name: "查询",
}, },
}, },
{
button: {
type: "plain",
name: "同步",
},
},
// { // {
// button: { // button: {
// type: "plain", // type: "plain",
@ -216,6 +226,7 @@ export default function () {
subase: "/pms/equipmentTechParam", subase: "/pms/equipmentTechParam",
subpage: "/pms/equipmentTechParam/page", subpage: "/pms/equipmentTechParam/page",
copyUrl: "/pms/equipmentTech/copy", copyUrl: "/pms/equipmentTech/copy",
syncUrl: "/pms/trans/kilnSync"
// more... // more...
}, },
}; };

View File

@ -227,7 +227,7 @@ export default {
} }
}) })
.catch((errMsg) => { .catch((errMsg) => {
console.log('ere...') console.log("ere...");
this.$message({ this.$message({
message: errMsg, message: errMsg,
type: "error", type: "error",
@ -390,6 +390,18 @@ export default {
this.showUploadDialog(payload); this.showUploadDialog(payload);
// alert('/pms/order/importExcelOrder'); // alert('/pms/order/importExcelOrder');
break; 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": 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; break;
case "finished": case "finished":
break; break;

View File

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