|
|
@@ -125,9 +125,10 @@ export default function () { |
|
|
|
label: "原料", |
|
|
|
prop: "material", |
|
|
|
optionValue: 'code', |
|
|
|
customLabel: 'description', |
|
|
|
rules: { required: true, message: "必填项不能为空", trigger: "blur" }, |
|
|
|
// elparams: { placeholder: "请输入原料名称" }, |
|
|
|
elparams: { placeholder: "请选择原料" }, |
|
|
|
elparams: { filterable: true, placeholder: "请选择原料" }, |
|
|
|
fetchData: () => this.$http.get("/pms/material/page", { params: { limit: 999, page: 1 } }), |
|
|
|
// rules: { required: true, message: "必填项不能为空", trigger: "change" }, |
|
|
|
}, |
|
|
@@ -149,7 +150,8 @@ export default function () { |
|
|
|
options: [], |
|
|
|
rules: { required: true, message: "必填项不能为空", trigger: "blur" }, |
|
|
|
fetchData: () => this.$http.get("/pms/materialStorage/page", { params: { page: 1, limit: 999, typeDictValue: '0' } }), |
|
|
|
elparams: { placeholder: "请选择上料料仓1" } |
|
|
|
elparams: { filterable: true, placeholder: "请选择上料料仓1" }, |
|
|
|
customLabel: 'description', |
|
|
|
}, |
|
|
|
{ |
|
|
|
prop: 'silo2', |
|
|
@@ -158,7 +160,8 @@ export default function () { |
|
|
|
options: [], |
|
|
|
rules: { required: true, message: "必填项不能为空", trigger: "blur" }, |
|
|
|
fetchData: () => this.$http.get("/pms/materialStorage/page", { params: { page: 1, limit: 999, typeDictValue: '0' } }), |
|
|
|
elparams: { placeholder: "请选择上料料仓2" } |
|
|
|
elparams: { filterable: true, placeholder: "请选择上料料仓2" }, |
|
|
|
customLabel: 'description', |
|
|
|
}, |
|
|
|
{ |
|
|
|
prop: 'silo3', |
|
|
@@ -167,7 +170,8 @@ export default function () { |
|
|
|
options: [], |
|
|
|
rules: { required: true, message: "必填项不能为空", trigger: "blur" }, |
|
|
|
fetchData: () => this.$http.get("/pms/materialStorage/page", { params: { page: 1, limit: 999, typeDictValue: '0' } }), |
|
|
|
elparams: { placeholder: "请选择上料料仓3" } |
|
|
|
elparams: { filterable: true, placeholder: "请选择上料料仓3" }, |
|
|
|
customLabel: 'description', |
|
|
|
}, |
|
|
|
], |
|
|
|
[ |
|
|
|