add 测试工艺
This commit is contained in:
@@ -68,6 +68,7 @@ export default function () {
|
||||
];
|
||||
|
||||
const dialogConfigs = {
|
||||
extraIds: { wsId: 2 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id
|
||||
menu: [{ name: "压制工艺", key: 'info' }, { name: "工艺参数", key: 'attr', onlyEditMode: true }],
|
||||
form: {
|
||||
rows: [
|
||||
@@ -86,15 +87,31 @@ export default function () {
|
||||
rules: { required: true, message: "必填项不能为空", trigger: "blur" },
|
||||
elparams: { placeholder: "请输入混料程序编码" },
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
forceDisabled: true,
|
||||
prop: 'shapeCode',
|
||||
label: '当前砖型'
|
||||
},
|
||||
{
|
||||
select: true,
|
||||
label: "砖型",
|
||||
prop: "shape",
|
||||
label: "选择新砖型",
|
||||
prop: "shapeId",
|
||||
options: [],
|
||||
refreshOptionsAfterConfirm: true,
|
||||
elparams: { clearable: true, filterable: true, placeholder: "请选择砖型" },
|
||||
fetchData: () => this.$http.get("/pms/shape/page", { params: { limit: 999, page: 1 } }),
|
||||
fetchData: () => this.$http.get("/pms/shape/listUnR", { params: { wsId: 2, externalCode: '', key: '' } }),
|
||||
},
|
||||
],
|
||||
// {
|
||||
// select: true,
|
||||
// label: "砖型",
|
||||
// prop: "shape",
|
||||
// options: [],
|
||||
// elparams: { clearable: true, filterable: true, placeholder: "请选择砖型" },
|
||||
// fetchData: () => this.$http.get("/pms/shape/page", { params: { limit: 999, page: 1 } }),
|
||||
// },
|
||||
[{ textarea: true, label: "备注", prop: "remark", elparams: { placeholder: "备注" } }],
|
||||
],
|
||||
operations: [
|
||||
@@ -105,7 +122,7 @@ export default function () {
|
||||
],
|
||||
},
|
||||
table: {
|
||||
extraParams: "techId ",
|
||||
extraParams: ["techId", "key"],
|
||||
props: [
|
||||
// { type: 'index', label: '序号' },
|
||||
// { prop: "createTime", label: "添加时间", filter: timeFilter },
|
||||
@@ -134,26 +151,16 @@ export default function () {
|
||||
},
|
||||
|
||||
subDialog: {
|
||||
extraParam: "stepId",
|
||||
extraParam: "techId",
|
||||
rows: [
|
||||
[
|
||||
{
|
||||
input: true,
|
||||
label: "步骤",
|
||||
prop: "sort",
|
||||
label: "参数名称",
|
||||
prop: "name",
|
||||
rules: { required: true, message: "必填项不能为空", trigger: "blur" },
|
||||
elparams: { placeholder: "请输入步骤" },
|
||||
elparams: { placeholder: "请输入参数名称" },
|
||||
},
|
||||
{
|
||||
input: true,
|
||||
label: "步骤描述",
|
||||
prop: "description",
|
||||
rules: { required: true, message: "必填项不能为空", trigger: "blur" },
|
||||
elparams: { placeholder: "请输入描述" },
|
||||
},
|
||||
],
|
||||
[
|
||||
{ input: true, label: "参数名称", prop: "name", elparams: { placeholder: "请输入参数名称" } },
|
||||
{
|
||||
input: true,
|
||||
label: "参数编码",
|
||||
@@ -166,7 +173,16 @@ export default function () {
|
||||
{ input: true, label: "参数值上限", prop: "valueTop", elparams: { placeholder: "请输入参数值上限" } },
|
||||
{ input: true, label: "参数值下限", prop: "valueFloor", elparams: { placeholder: "请输入参数值下限" } },
|
||||
],
|
||||
[{ input: true, label: "参数值", prop: "value", elparams: { placeholder: "请输入参数值" } }],
|
||||
[
|
||||
{ input: true, label: "参数值", prop: "value", elparams: { placeholder: "请输入参数值" } },
|
||||
{
|
||||
input: true,
|
||||
label: "描述",
|
||||
prop: "description",
|
||||
// rules: { required: true, message: "必填项不能为空", trigger: "blur" },
|
||||
elparams: { placeholder: "请输入描述" },
|
||||
},
|
||||
],
|
||||
],
|
||||
operations: [
|
||||
{ name: "add", label: "保存", type: "primary", permission: "pms:blenderStepParam:save", showOnEdit: false },
|
||||
|
||||
Reference in New Issue
Block a user