update
This commit is contained in:
@@ -7,7 +7,7 @@ import { getDictDataList } from '@/utils'
|
||||
export default function () {
|
||||
const tableProps = [
|
||||
{ type: 'index', label: '序号' },
|
||||
{ prop: "createTime", label: "添加时间", filter: timeFilter },
|
||||
// { prop: "createTime", label: "添加时间", filter: timeFilter },
|
||||
{ prop: "code", label: "窑车号" },
|
||||
{ prop: "stateDictValue", label: "状态", subcomponent: StateSelect },
|
||||
// { prop: "stateDictValue", label: "状态", filter: v => (v !== null && v !== undefined) ? ['没有数据', '正常', '判废', '过渡'][v] : '-' }, // subcomponent
|
||||
@@ -98,7 +98,7 @@ export default function () {
|
||||
label: "开始时间",
|
||||
prop: "startTime",
|
||||
rules: { required: true, message: "必填项不能为空", trigger: "blur" },
|
||||
elparams: { placeholder: "请选择开始时间" },
|
||||
elparams: { placeholder: "请选择开始时间", type: 'datetime' },
|
||||
},
|
||||
{
|
||||
datetime: true,
|
||||
@@ -106,7 +106,7 @@ export default function () {
|
||||
prop: "endTime",
|
||||
default: null,
|
||||
// rules: { required: true, message: "必填项不能为空", trigger: "blur" },
|
||||
elparams: { placeholder: "请选择结束时间" },
|
||||
elparams: { placeholder: "请选择结束时间", type: 'datetime' },
|
||||
},
|
||||
],
|
||||
[
|
||||
@@ -197,6 +197,7 @@ export default function () {
|
||||
// };
|
||||
|
||||
const carPayloadDialogConfigs = {
|
||||
dialogWidth: '70%',
|
||||
carPayloadDialog: true,
|
||||
clickModalToClose: true,
|
||||
tableConfig: {
|
||||
@@ -204,21 +205,23 @@ export default function () {
|
||||
column: [
|
||||
// 窑车的 装载详情
|
||||
// tableProps
|
||||
{ type: "index", label: "序号" },
|
||||
{ width: 56, type: "index", label: "序号" },
|
||||
{ prop: "orderCode", label: "订单号" },
|
||||
{ prop: "bomCode", label: "配方号" },
|
||||
{ prop: "shapeCode", label: "砖型编码" },
|
||||
{ width: 160, prop: "qty", label: "订单对应数量" },
|
||||
{ prop: "goodqty", label: "合格数量" },
|
||||
{ prop: "badqty", label: "废砖数量" },
|
||||
{ prop: "startTime", label: "开始时间" },
|
||||
{ prop: "endTime", label: "结束时间" },
|
||||
{ width: 80, prop: "orderCate", label: "订单子号" },
|
||||
{ prop: "bomCode", label: "配方" },
|
||||
{ prop: "shapeCode", label: "砖型" },
|
||||
{ width: 80, prop: "qty", label: "订单数量" },
|
||||
{ width: 72, prop: "goodqty", label: "合格数" },
|
||||
{ width: 72, prop: "badqty", label: "废砖数" },
|
||||
// { prop: "startTime", label: "开始时间" },
|
||||
// { prop: "endTime", label: "结束时间" },
|
||||
// { prop: "remark", label: "备注" },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
|
||||
return {
|
||||
carPayloadAddConfigs,
|
||||
carPayloadDialogConfigs,
|
||||
|
||||
Reference in New Issue
Block a user