|
|
@@ -71,25 +71,65 @@ export default function () { |
|
|
|
rows: [ |
|
|
|
[ |
|
|
|
{ |
|
|
|
input: true, |
|
|
|
select: true, |
|
|
|
prop: "carId", |
|
|
|
label: "窑车号", |
|
|
|
prop: "code", |
|
|
|
options: [], |
|
|
|
fetchData: () => this.$http.get('/pms/car/page', { params: { limit: 999, page: 1, code: '' } }), |
|
|
|
optionLabel: 'code', |
|
|
|
rules: { required: true, message: "必填项不能为空", trigger: "blur" }, |
|
|
|
elparams: { placeholder: "请输入窑车号" }, |
|
|
|
elparams: { placeholder: "请选择窑车" }, |
|
|
|
}, |
|
|
|
// { |
|
|
|
// input: true, |
|
|
|
// label: "编码", |
|
|
|
// prop: "code", |
|
|
|
// rules: { required: true, message: "必填项不能为空", trigger: "blur" }, |
|
|
|
// elparams: { placeholder: "请输入料仓编码" }, |
|
|
|
// }, |
|
|
|
{ |
|
|
|
select: true, |
|
|
|
label: "位置", |
|
|
|
prop: "pos", |
|
|
|
// options: [ |
|
|
|
// { id: 0, value: 0 }, |
|
|
|
// { id: 1, value: 1 }, |
|
|
|
// { id: 2, value: 2 }, |
|
|
|
// { id: 3, value: 3 }, |
|
|
|
// { id: 4, value: 4 }, |
|
|
|
// { id: 5, value: 5 }, |
|
|
|
// { id: 6, value: 6 }, |
|
|
|
// { id: 7, value: 7 }, |
|
|
|
// ], |
|
|
|
options: [], |
|
|
|
fetchData: () => this.$http.post('/pms/carHandle/listPos', { limit: 999, page: 1 }), |
|
|
|
rules: { required: true, message: "必填项不能为空", trigger: "blur" }, |
|
|
|
elparams: { placeholder: "请选择窑车位置" }, |
|
|
|
}, |
|
|
|
], |
|
|
|
[ |
|
|
|
{ |
|
|
|
datetime: true, |
|
|
|
label: "开始时间", |
|
|
|
prop: "startTime", |
|
|
|
rules: { required: true, message: "必填项不能为空", trigger: "blur" }, |
|
|
|
elparams: { placeholder: "请选择开始时间" }, |
|
|
|
}, |
|
|
|
{ |
|
|
|
datetime: true, |
|
|
|
label: "结束时间", |
|
|
|
prop: "endTime", |
|
|
|
// rules: { required: true, message: "必填项不能为空", trigger: "blur" }, |
|
|
|
elparams: { placeholder: "请选择结束时间" }, |
|
|
|
}, |
|
|
|
], |
|
|
|
[ |
|
|
|
{ |
|
|
|
select: true, |
|
|
|
label: "窑车状态", |
|
|
|
prop: "stateDictValue", |
|
|
|
options: [ |
|
|
|
{ value: 0, label: '正常' }, |
|
|
|
{ value: 1, label: '报废' } |
|
|
|
], |
|
|
|
rules: { required: true, message: "必填项不能为空", trigger: "blur" }, |
|
|
|
elparams: { placeholder: "请选择窑车状态" }, |
|
|
|
}, |
|
|
|
{} |
|
|
|
], |
|
|
|
// [{ component: QuillRichInput, label: "描述信息", prop: "description" }], |
|
|
|
[{ |
|
|
|
richInput: true, label: "描述信息", prop: "description" |
|
|
|
}], |
|
|
|
[{ input: true, label: "备注", prop: "remark", elparams: { placeholder: "备注" } }], |
|
|
|
], |
|
|
|
operations: [ |
|
|
|
{ name: "add", label: "保存", type: "primary", permission: "pms:car:save", showOnEdit: false }, |
|
|
@@ -137,7 +177,8 @@ export default function () { |
|
|
|
urls: { |
|
|
|
base: "/pms/carHandle", |
|
|
|
page: "/pms/carHandle/pageHis", |
|
|
|
pageIsPostApi: true |
|
|
|
pageIsPostApi: true, |
|
|
|
formUrl: "/pms/trans/inputCurrent" |
|
|
|
// subase: '/pms/blenderStepParam', |
|
|
|
// subpage: '/pms/blenderStepParam/page', |
|
|
|
// more... |
|
|
|