From b0d172fee60dd3ad1a392f2e36c60333c0b72f97 Mon Sep 17 00:00:00 2001 From: lb Date: Mon, 3 Apr 2023 16:59:56 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=B7=BB=E5=8A=A0=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=9C=80=E5=8F=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/pms/blenderBatch/config.js | 2 +- src/views/modules/pms/blenderBatchDetails/config.js | 2 +- src/views/modules/pms/blenderOrder/config.js | 4 ++-- src/views/modules/pms/blenderStep/config.js | 2 +- src/views/modules/pms/bom/config.js | 4 ++-- src/views/modules/pms/bomDetails/config.js | 4 ++-- src/views/modules/pms/brokeLog/config.js | 2 +- src/views/modules/pms/car/config.js | 2 +- src/views/modules/pms/carPayload/config.js | 2 +- src/views/modules/pms/customer/config.js | 2 +- src/views/modules/pms/equipment/config.js | 4 ++-- src/views/modules/pms/equipmentType/config.js | 2 +- src/views/modules/pms/factory/config.js | 2 +- src/views/modules/pms/firingStep/config.js | 2 +- src/views/modules/pms/kilnOrder/config.js | 2 +- src/views/modules/pms/material/config.js | 4 ++-- src/views/modules/pms/materialStorage/config.js | 2 +- src/views/modules/pms/materialStorageDynamic/config.js | 2 +- src/views/modules/pms/materialType/config.js | 4 ++-- src/views/modules/pms/materialUpload/config.js | 2 +- src/views/modules/pms/packingStep/config.js | 2 +- src/views/modules/pms/pallet/config.js | 2 +- src/views/modules/pms/pressOrder/config.js | 2 +- src/views/modules/pms/product/config.js | 4 ++-- src/views/modules/pms/productionLine/config.js | 2 +- src/views/modules/pms/qualityInspectionRecord/config.js | 2 +- src/views/modules/pms/qualityPackOrder/config.js | 2 +- src/views/modules/pms/reportSheet/config copy.js | 2 +- src/views/modules/pms/reportSheet/config.js | 2 +- src/views/modules/pms/reportSheetCategory/config.js | 2 +- src/views/modules/pms/shape/config.js | 2 +- src/views/modules/pms/shapeStep/config.js | 2 +- src/views/modules/pms/supplier/config.js | 2 +- src/views/modules/pms/testingStep/config.js | 2 +- src/views/modules/pms/workSequence/config.js | 2 +- 35 files changed, 42 insertions(+), 42 deletions(-) diff --git a/src/views/modules/pms/blenderBatch/config.js b/src/views/modules/pms/blenderBatch/config.js index 4d664c2..1df9eef 100644 --- a/src/views/modules/pms/blenderBatch/config.js +++ b/src/views/modules/pms/blenderBatch/config.js @@ -6,7 +6,6 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "batchNo", label: "批次编码" }, { prop: "batchSize", label: "批次重量 [kg]" }, { prop: "status", label: "状态" }, @@ -25,6 +24,7 @@ export default function () { // { prop: 'version', label: '配方号' }, // { prop: 'status', label: '状态', subcomponent: StatusComponent }, // subcomponent { prop: "description", label: "详情", subcomponent: TableTextComponent, actionName: 'view-blender-batch-details' }, + { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/blenderBatchDetails/config.js b/src/views/modules/pms/blenderBatchDetails/config.js index f03fb84..8eca1b7 100644 --- a/src/views/modules/pms/blenderBatchDetails/config.js +++ b/src/views/modules/pms/blenderBatchDetails/config.js @@ -6,11 +6,11 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "batchId", label: "混料批次ID" }, { prop: "materialCode", label: "原料编码" }, { prop: "qty", label: "计算用量" }, { prop: "realqty", label: "实际用量" }, + { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, // { // prop: "operations", // name: "操作", diff --git a/src/views/modules/pms/blenderOrder/config.js b/src/views/modules/pms/blenderOrder/config.js index 99ad4c1..2066843 100644 --- a/src/views/modules/pms/blenderOrder/config.js +++ b/src/views/modules/pms/blenderOrder/config.js @@ -5,8 +5,7 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ - { type: "index", label: "序号" }, - { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, + { type: "index", label: "序号createTime" }, // { prop: "kilnCode", label: "窑炉" }, { width: 160, prop: "orderCode", label: "主订单号" }, { width: 60, prop: "orderCate", label: "子号" }, @@ -23,6 +22,7 @@ export default function () { { width: 120, prop: "qty", label: "混料总量 [kg]" }, { width: 60, prop: "ai", label: "版本" }, { prop: "blenderCode", label: "混料机" }, + { width: 160, prop: "", label: "添加时间", filter: timeFilter }, // { width: 120, prop: "badqty", label: "不合格数量" }, // { prop: "remark", label: "备注" }, // { prop: 'version', label: '配方号' }, diff --git a/src/views/modules/pms/blenderStep/config.js b/src/views/modules/pms/blenderStep/config.js index f7f86a7..36d66d9 100644 --- a/src/views/modules/pms/blenderStep/config.js +++ b/src/views/modules/pms/blenderStep/config.js @@ -6,7 +6,6 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "工艺名称" }, { prop: "code", label: "工艺编码" }, // { prop: 'version', label: '配方号' }, @@ -14,6 +13,7 @@ export default function () { // { prop: 'status', label: '状态', subcomponent: StatusComponent }, // subcomponent { prop: "description", label: "详情", subcomponent: TableTextComponent }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/bom/config.js b/src/views/modules/pms/bom/config.js index e0c8e28..c56ddfd 100644 --- a/src/views/modules/pms/bom/config.js +++ b/src/views/modules/pms/bom/config.js @@ -6,8 +6,8 @@ import { timeFilter, dictFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "牌号" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, // { prop: "code", label: "配方编码" }, // { prop: "externalCode", label: "版本号" }, // { prop: "specifications", label: "程序号" }, @@ -160,12 +160,12 @@ export default function () { extraParams: "bomId", props: [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "material", label: "物料", isEditField: true }, { width: 130, prop: "qty", label: "配方物料重量", filter: (val) => (!!val ? val + " kg" : "-"), isEditField: true }, { width: 130, prop: "sumqty", label: "配方总重量", filter: (val) => (!!val ? val + " kg" : "-"), isEditField: true }, { prop: "percent", label: "配比 [%]", filter: (val) => (!!val ? val + " %" : "-"), isEditField: true }, { prop: "remark", label: "备注", isEditField: true }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/bomDetails/config.js b/src/views/modules/pms/bomDetails/config.js index bd277fb..4589667 100644 --- a/src/views/modules/pms/bomDetails/config.js +++ b/src/views/modules/pms/bomDetails/config.js @@ -7,7 +7,6 @@ import { timeFilter } from '@/utils/filters' export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "syncTime", label: "同步时间", filter: timeFilter }, { prop: "name", label: "名称" }, { prop: "code", label: "编码" }, @@ -16,6 +15,7 @@ export default function () { { prop: "shortDesc", label: "物料销售文本短描述" }, { prop: "description", label: "物料销售文本描述" }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", @@ -113,12 +113,12 @@ export default function () { extraParams: "bomId", props: [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "material", label: "物料", isEditField: true }, { width: 130, prop: "qty", label: "配方物料重量", filter: (val) => (!!val ? val + " kg" : "-"), isEditField: true }, { width: 130, prop: "sumqty", label: "配方总重量", filter: (val) => (!!val ? val + " kg" : "-"), isEditField: true }, { prop: "percent", label: "配比 [%]", filter: (val) => (!!val ? val + " %" : "-"), isEditField: true }, { prop: "remark", label: "备注", isEditField: true }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/brokeLog/config.js b/src/views/modules/pms/brokeLog/config.js index 56f4af8..8d7626c 100644 --- a/src/views/modules/pms/brokeLog/config.js +++ b/src/views/modules/pms/brokeLog/config.js @@ -6,7 +6,6 @@ import { timeFilter, dictFilter } from '@/utils/filters' export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, // { prop: "updateTime", label: "上料时间", filter: timeFilter }, { prop: "materialName", label: "原料" }, // { prop: "material", label: "原料编码" }, @@ -19,6 +18,7 @@ export default function () { { prop: "statusDictValue", label: "破碎作业", filter: val => ['正常停止', '废除'][val] ?? '-' }, // { prop: "description", label: "描述" }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/car/config.js b/src/views/modules/pms/car/config.js index a6142ac..1a60a06 100644 --- a/src/views/modules/pms/car/config.js +++ b/src/views/modules/pms/car/config.js @@ -7,8 +7,8 @@ import { timeFilter } from '@/utils/filters' export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "code", label: "窑车号" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, // { prop: "code", label: "编码" }, // { prop: "typeDictValue", label: "过渡车", filter: val => ['否', '是'][val] }, // { prop: "enabled", label: "状态", subcomponent: switchBtn }, // subcomponent diff --git a/src/views/modules/pms/carPayload/config.js b/src/views/modules/pms/carPayload/config.js index a6142ac..1a60a06 100644 --- a/src/views/modules/pms/carPayload/config.js +++ b/src/views/modules/pms/carPayload/config.js @@ -7,8 +7,8 @@ import { timeFilter } from '@/utils/filters' export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "code", label: "窑车号" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, // { prop: "code", label: "编码" }, // { prop: "typeDictValue", label: "过渡车", filter: val => ['否', '是'][val] }, // { prop: "enabled", label: "状态", subcomponent: switchBtn }, // subcomponent diff --git a/src/views/modules/pms/customer/config.js b/src/views/modules/pms/customer/config.js index 7ad7423..255012d 100644 --- a/src/views/modules/pms/customer/config.js +++ b/src/views/modules/pms/customer/config.js @@ -5,7 +5,6 @@ import { timeFilter } from '@/utils/filters' export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "客户名称" }, { prop: "code", label: "编码" }, { prop: "contact", label: "联系人" }, @@ -15,6 +14,7 @@ export default function () { { prop: "prtTag", label: "是否打印标签", filter: val => ({ yes: '是', no: '否' })[val] ?? '-' }, { prop: "description", label: "描述" }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/equipment/config.js b/src/views/modules/pms/equipment/config.js index 0795454..77e3c04 100644 --- a/src/views/modules/pms/equipment/config.js +++ b/src/views/modules/pms/equipment/config.js @@ -8,13 +8,13 @@ export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: 'name', label: '设备名称' }, { prop: 'code', label: '设备编码' }, { prop: 'equipmentType', label: '设备类型' }, // { prop: 'enabled', label: '状态', subcomponent: switchBtn }, // subcomponent { prop: 'remark', label: '备注' }, { prop: 'description', label: '查看详情', subcomponent: TableTextComponent }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: 'operations', name: '操作', @@ -93,11 +93,11 @@ export default function () { extraParams: 'equipmentId', props: [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, // { prop: 'equipmentId', label: '所属设备id' }, { prop: 'attrName', label: '属性名称', isEditField: true }, { prop: 'attrValue', label: '属性值', isEditField: true }, { prop: 'remark', label: '备注', isEditField: true }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: 'operations', name: '操作', diff --git a/src/views/modules/pms/equipmentType/config.js b/src/views/modules/pms/equipmentType/config.js index eba13d2..723186b 100644 --- a/src/views/modules/pms/equipmentType/config.js +++ b/src/views/modules/pms/equipmentType/config.js @@ -6,12 +6,12 @@ import { dictFind, timeFilter } from '@/utils/filters' export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "类型名称" }, { prop: "code", label: "类型编码" }, // { prop: "description", label: "描述" }, { prop: "remark", label: "备注" }, { prop: 'detail', label: "详情", subcomponent: detailComponent }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/factory/config.js b/src/views/modules/pms/factory/config.js index 2a2feae..cefb351 100644 --- a/src/views/modules/pms/factory/config.js +++ b/src/views/modules/pms/factory/config.js @@ -5,11 +5,11 @@ export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: 'name', label: '工厂名称' }, { prop: 'code', label: '工厂编码' }, { prop: 'address', label: '地址' }, { prop: 'description', label: '描述' }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: 'operations', name: '操作', diff --git a/src/views/modules/pms/firingStep/config.js b/src/views/modules/pms/firingStep/config.js index 317d1fb..971e776 100644 --- a/src/views/modules/pms/firingStep/config.js +++ b/src/views/modules/pms/firingStep/config.js @@ -6,13 +6,13 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "工艺名称" }, { prop: "code", label: "工艺编码" }, // { prop: 'version', label: '配方号' }, { prop: "bomCode", label: "配方号" }, // { prop: 'status', label: '状态', subcomponent: StatusComponent }, // subcomponent { prop: "description", label: "详情", subcomponent: TableTextComponent }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "remark", label: "备注" }, { prop: "operations", diff --git a/src/views/modules/pms/kilnOrder/config.js b/src/views/modules/pms/kilnOrder/config.js index fa32d49..2fef6f2 100644 --- a/src/views/modules/pms/kilnOrder/config.js +++ b/src/views/modules/pms/kilnOrder/config.js @@ -6,7 +6,6 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "kilnCode", label: "窑炉" }, { width: 160, prop: "orderCode", label: "主订单号" }, { width: 60, prop: "orderCate", label: "子号" }, @@ -18,6 +17,7 @@ export default function () { { width: 80, prop: "ai", label: "版本号" }, { width: 80, prop: "qty", label: "生产量" }, { prop: "qtyComplete", label: "完成量" }, + { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, // { prop: "remark", label: "备注" }, // { prop: 'version', label: '配方号' }, // { prop: 'status', label: '状态', subcomponent: StatusComponent }, // subcomponent diff --git a/src/views/modules/pms/material/config.js b/src/views/modules/pms/material/config.js index 70e987a..39be707 100644 --- a/src/views/modules/pms/material/config.js +++ b/src/views/modules/pms/material/config.js @@ -6,7 +6,6 @@ import { timeFilter, dictFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "原料名称" }, { prop: "code", label: "原料编码" }, { prop: "typeDictValue", label: "类别", filter: dictFilter("material_category") }, // subcomponent: {/** TODO: create a new component for this option */} }, @@ -18,6 +17,7 @@ export default function () { // { prop: "description", label: "详情", subcomponent: TableTextComponent }, { prop: "description", label: "原料描述", }, { prop: "remark", label: "中文描述" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, /** TODO: parentId 是用来前端重构成树形结构的... */ { prop: "operations", @@ -193,9 +193,9 @@ export default function () { extraParams: "materialId", props: [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "属性名", isEditField: true }, { prop: "value", label: "属性值", isEditField: true }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/materialStorage/config.js b/src/views/modules/pms/materialStorage/config.js index c8f0b12..faaa519 100644 --- a/src/views/modules/pms/materialStorage/config.js +++ b/src/views/modules/pms/materialStorage/config.js @@ -7,7 +7,6 @@ import { timeFilter } from '@/utils/filters' export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "料仓名称" }, { prop: "code", label: "料仓编码" }, { prop: "typeDictValue", label: "料仓类型", filter: dictFilter('liaocang') }, @@ -19,6 +18,7 @@ export default function () { // { prop: "dosHigh", label: "加料上限" }, { prop: "description", label: "描述" }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/materialStorageDynamic/config.js b/src/views/modules/pms/materialStorageDynamic/config.js index 9a273d9..284fe9d 100644 --- a/src/views/modules/pms/materialStorageDynamic/config.js +++ b/src/views/modules/pms/materialStorageDynamic/config.js @@ -7,7 +7,6 @@ import { timeFilter } from '@/utils/filters' export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "料仓名称" }, { prop: "code", label: "料仓编码" }, { prop: "typeDictValue", label: "料仓类型", filter: dictFilter('liaocang') }, @@ -19,6 +18,7 @@ export default function () { { prop: "dosHigh", label: "加料上限" }, { prop: "description", label: "描述" }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/materialType/config.js b/src/views/modules/pms/materialType/config.js index d8e42a7..ff5005e 100644 --- a/src/views/modules/pms/materialType/config.js +++ b/src/views/modules/pms/materialType/config.js @@ -3,14 +3,14 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ - { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "类型名称" }, { prop: "code", label: "类型编码" }, { prop: "enName", label: "英文名称" }, { prop: "enAb", label: "缩写" }, { prop: "description", label: "描述" }, { prop: "remark", label: "备注" }, + { type: "index", label: "序号" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/materialUpload/config.js b/src/views/modules/pms/materialUpload/config.js index 5301920..bc1c3c5 100644 --- a/src/views/modules/pms/materialUpload/config.js +++ b/src/views/modules/pms/materialUpload/config.js @@ -7,7 +7,6 @@ import { timeFilter, dictFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "startTime", label: "上料时间", filter: timeFilter }, { prop: "endTime", label: "结束上料时间", filter: timeFilter }, { prop: "material", label: "物料" }, @@ -21,6 +20,7 @@ export default function () { // { prop: "currentPos", label: "当前位置" }, // { prop: "description", label: "描述" }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/packingStep/config.js b/src/views/modules/pms/packingStep/config.js index 5948530..e3cf8b9 100644 --- a/src/views/modules/pms/packingStep/config.js +++ b/src/views/modules/pms/packingStep/config.js @@ -6,7 +6,6 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "工艺名称" }, { prop: "code", label: "工艺编码" }, // { prop: 'version', label: '配方号' }, @@ -14,6 +13,7 @@ export default function () { // { prop: 'status', label: '状态', subcomponent: StatusComponent }, // subcomponent { prop: "description", label: "详情", subcomponent: TableTextComponent }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/pallet/config.js b/src/views/modules/pms/pallet/config.js index a4a406e..ab1d4a5 100644 --- a/src/views/modules/pms/pallet/config.js +++ b/src/views/modules/pms/pallet/config.js @@ -9,13 +9,13 @@ import { getDictDataList } from '@/utils'; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "carCode", label: "窑车号" }, { prop: "orderCode", label: "订单号" }, { prop: "realQty", label: "数量" }, { prop: "typeDictValue", label: "类型", filter: dictFilter('pallet_type') }, { prop: "stifling", label: "熏蒸", }, { prop: "printTime", label: "打印时间", filter: timeFilter }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/pressOrder/config.js b/src/views/modules/pms/pressOrder/config.js index 3c1d4ef..53513c5 100644 --- a/src/views/modules/pms/pressOrder/config.js +++ b/src/views/modules/pms/pressOrder/config.js @@ -6,7 +6,6 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, // { prop: "kilnCode", label: "窑炉" }, { width: 160, prop: "orderCode", label: "主订单号" }, { width: 60, prop: "orderCate", label: "子号" }, @@ -20,6 +19,7 @@ export default function () { { prop: "qtyComplete", label: "完成量" }, { prop: "goodqty", label: "合格数量" }, { width: 120, prop: "badqty", label: "不合格数量" }, + { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, // { prop: "remark", label: "备注" }, // { prop: 'version', label: '配方号' }, // { prop: 'status', label: '状态', subcomponent: StatusComponent }, // subcomponent diff --git a/src/views/modules/pms/product/config.js b/src/views/modules/pms/product/config.js index d094c00..9fd211b 100644 --- a/src/views/modules/pms/product/config.js +++ b/src/views/modules/pms/product/config.js @@ -6,7 +6,6 @@ import { timeFilter, dictFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "物料名称" }, { prop: "code", label: "物料编码" }, { prop: "typeDictValue", label: "物料类型", filter: dictFilter("product_type") }, @@ -16,6 +15,7 @@ export default function () { { prop: "processTime", label: "产线完成单位产品用时", width: 200, filter: (val) => val + " s" }, { prop: "remark", label: "备注" }, { prop: "description", label: "附件信息", subcomponent: TableTextComponent, buttonContent: "查看附件", actionName: 'view-attachment' }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", @@ -132,11 +132,11 @@ export default function () { extraParams: "productId", props: [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, // { prop: 'productId', label: '产品ID' }, { prop: "name", label: "属性名称", isEditField: true }, { prop: "value", label: "属性值", isEditField: true }, { prop: "remark", label: "备注", isEditField: true }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/productionLine/config.js b/src/views/modules/pms/productionLine/config.js index 7cc2c06..77e23c5 100644 --- a/src/views/modules/pms/productionLine/config.js +++ b/src/views/modules/pms/productionLine/config.js @@ -6,7 +6,6 @@ import { timeFilter } from '@/utils/filters' export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "产线名称" }, { prop: "code", label: "产线编码" }, { prop: "factory", label: "所属工厂" }, @@ -15,6 +14,7 @@ export default function () { // { prop: "tvalue", label: "每小时下片数量" }, { prop: "description", label: "描述" }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/qualityInspectionRecord/config.js b/src/views/modules/pms/qualityInspectionRecord/config.js index d864144..eea9586 100644 --- a/src/views/modules/pms/qualityInspectionRecord/config.js +++ b/src/views/modules/pms/qualityInspectionRecord/config.js @@ -8,7 +8,6 @@ import { getDictDataList } from "@/utils"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "carCode", label: "窑车号" }, { prop: "orderCode", label: "订单号" }, { prop: "orderCate", label: "子号" }, @@ -17,6 +16,7 @@ export default function () { { prop: "badqty", label: "不合格数量" }, { prop: 'description', label: '查看详情', subcomponent: TableTextComponent }, { width: 160, prop: "checkTime", label: "检测时间", filter: timeFilter }, + { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/qualityPackOrder/config.js b/src/views/modules/pms/qualityPackOrder/config.js index 66e1b95..0d5d903 100644 --- a/src/views/modules/pms/qualityPackOrder/config.js +++ b/src/views/modules/pms/qualityPackOrder/config.js @@ -6,7 +6,6 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "kilnCode", label: "窑炉" }, { width: 120, prop: "orderCode", label: "主订单号" }, { width: 60, prop: "orderCate", label: "子号" }, @@ -24,6 +23,7 @@ export default function () { { width: 120, prop: "qty1Complete", label: "完成量" }, { width: 120, prop: "goodqty1", label: "检测合格量" }, { width: 120, prop: "badqty1", label: "检测不合格量" }, + { width: 160, prop: "createTime", label: "添加时间", filter: timeFilter }, // { width: 120, prop: "qty2", label: "包装要求数量" }, // { width: 120, prop: "qty2Complete", label: "包装完成数量" }, // { prop: "percent2", label: "包装进度", filter: (val) => (val !== null && val !== undefined ? val + " %" : "-") }, diff --git a/src/views/modules/pms/reportSheet/config copy.js b/src/views/modules/pms/reportSheet/config copy.js index 67385c6..7adc194 100644 --- a/src/views/modules/pms/reportSheet/config copy.js +++ b/src/views/modules/pms/reportSheet/config copy.js @@ -67,9 +67,9 @@ export default async function () { console.log('category ====> ', categoryList) const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", width: 180, filter: timeFilter }, { prop: "fileName", label: "报表名称" }, { prop: "category", label: "报表分类", subcomponent: CategoryList, options: categoryList }, + { prop: "createTime", label: "添加时间", width: 180, filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/reportSheet/config.js b/src/views/modules/pms/reportSheet/config.js index be67cc0..50db82d 100644 --- a/src/views/modules/pms/reportSheet/config.js +++ b/src/views/modules/pms/reportSheet/config.js @@ -49,9 +49,9 @@ export async function fetchCategoryList() { export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", width: 180, filter: timeFilter }, { prop: "fileName", label: "报表名称" }, { prop: "category", label: "报表分类", subcomponent: CategoryList, options: [] }, + { prop: "createTime", label: "添加时间", width: 180, filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/reportSheetCategory/config.js b/src/views/modules/pms/reportSheetCategory/config.js index 9e35de0..7d54713 100644 --- a/src/views/modules/pms/reportSheetCategory/config.js +++ b/src/views/modules/pms/reportSheetCategory/config.js @@ -7,8 +7,8 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "分类名称" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, // { prop: "category", label: "报表分类" }, { prop: "operations", diff --git a/src/views/modules/pms/shape/config.js b/src/views/modules/pms/shape/config.js index 5f16a48..405c8b9 100644 --- a/src/views/modules/pms/shape/config.js +++ b/src/views/modules/pms/shape/config.js @@ -6,13 +6,13 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "砖型名称" }, { prop: "code", label: "砖型编码" }, { prop: "externalCode", label: "砖型ID" }, { prop: "description", label: "长描述" }, { prop: "shortDesc", label: "短描述" }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/shapeStep/config.js b/src/views/modules/pms/shapeStep/config.js index 2c1e949..05ce1f6 100644 --- a/src/views/modules/pms/shapeStep/config.js +++ b/src/views/modules/pms/shapeStep/config.js @@ -6,7 +6,6 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "工艺名称" }, { prop: "code", label: "工艺编码" }, // { prop: 'version', label: '配方号' }, @@ -14,6 +13,7 @@ export default function () { // { prop: 'status', label: '状态', subcomponent: StatusComponent }, // subcomponent { prop: "description", label: "详情", subcomponent: TableTextComponent }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/supplier/config.js b/src/views/modules/pms/supplier/config.js index 8ddef1c..dbaa901 100644 --- a/src/views/modules/pms/supplier/config.js +++ b/src/views/modules/pms/supplier/config.js @@ -6,7 +6,6 @@ import { timeFilter } from '@/utils/filters' export default function () { const tableProps = [ { type: 'index', label: '序号' }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "供应商名称" }, { prop: "code", label: "编码" }, { prop: "contact", label: "联系人" }, @@ -16,6 +15,7 @@ export default function () { // { prop: "status", label: "产线状态", subcomponent: switchBtn }, // subcomponent { prop: "description", label: "描述" }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/testingStep/config.js b/src/views/modules/pms/testingStep/config.js index 9753fd9..b5e3c8f 100644 --- a/src/views/modules/pms/testingStep/config.js +++ b/src/views/modules/pms/testingStep/config.js @@ -6,7 +6,6 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "工艺名称" }, { prop: "code", label: "工艺编码" }, // { prop: 'version', label: '配方号' }, @@ -14,6 +13,7 @@ export default function () { // { prop: 'status', label: '状态', subcomponent: StatusComponent }, // subcomponent { prop: "description", label: "详情", subcomponent: TableTextComponent }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", diff --git a/src/views/modules/pms/workSequence/config.js b/src/views/modules/pms/workSequence/config.js index 89dec0b..b7daaaf 100644 --- a/src/views/modules/pms/workSequence/config.js +++ b/src/views/modules/pms/workSequence/config.js @@ -4,12 +4,12 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "name", label: "工序名称" }, { prop: "code", label: "工序编码" }, { prop: "prdLine", label: "产线名称" }, { prop: "description", label: "描述" }, { prop: "remark", label: "备注" }, + { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作",