From 92a9aa2f62de1ad002b9eff7e543f841a5404c31 Mon Sep 17 00:00:00 2001 From: lb Date: Thu, 3 Aug 2023 16:54:24 +0800 Subject: [PATCH 1/5] update 0803_docs --- public/importTemplates/orderImport.xlsx | Bin 10106 -> 12971 bytes src/views/modules/pms/finishedOrder/config.js | 30 ++++----- .../order/components/ListSectionWithHead.vue | 4 +- .../pms/order/components/order--edit.vue | 28 ++++++++- src/views/modules/pms/order/config.js | 58 +++++++++++------- 5 files changed, 80 insertions(+), 40 deletions(-) diff --git a/public/importTemplates/orderImport.xlsx b/public/importTemplates/orderImport.xlsx index 4b6a312aa267cfc0b13646db342f7a12417c2424..4a9b83392fa42fae6e8a929dca14d7da537be28f 100644 GIT binary patch delta 8402 zcmaKSWmH|uvhG5Ivmm%H+}+(hSkT}u!67&-ToU_2=Dkw6Ii89F3@jD^9)JJ<06+i`M4I0P3IKq>)#8Dm!Qa$} z?R!~)9a{S$lAW3n0TLP-uxR=*OqiE2ih>}V2s=-BB=Bm4j=Bb;IN4PKZSAhzwIaCL zX5S1ED!RVqw*_&$KT{^RTS`>*u=hPBCZ%~}SyqT%1ysMIBluTNg^*G2433K`#+@Zy zZAq?b8XtO!mOL(j)FZydRJlnN*n-SEYdoJZld2|3EeZtxq(wXPrD)5pzl%q{XdrUS zyuP~dd&qewcL+HSeX8aQNKRiT9lC)52UWuIHwEd{5%s%4ncYZ?;x}v zlWGN)X>KSN zsE>!?g8_4al|j$Y0KhUl0D%6wD;~Bi?hei$O&lCPGJDwBR%j^LFR}ucaeouT9%Dz` z&*PB4aofs;TIiLXGJ8vwOSM4G7(p*Jh!&^^`u(M?$|cCYb~uieP`rioW6uWYKUeK zIz15KNn>>+B}m5D(?KZZF0;zeU&}=E(vlIbeA_c63=BDzAD4i7JLJoftiB~VC6TQVw~%nJYp!8T zN=+nLku_P(K~0-U90zQMVT$l!rw@~)UQjH6LV8m8G|o&)O7i^J*|ii$G(U4A5*{P@ z-4f=pqUGo2t}qPMI!`Zwd|u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%W)yLjN-Ul! z>qfuwj7*AC*(KY;A-K0AeEX-3imxUBy3yg)Wjz6LKlW z^D_7tpcVBb$r6syXrRTxJ1D$e@14uuz7f_sEb*2+-0)r06|vek%Wio3!JyKDd{)pj zG!9vkF@IhWT2WzwBcsZTK}yrY=Y4v9-4=4Y(A7QAqF2rTmxp!f(ZU(o)*^d>W`zA6 z-R3HyaCV)RRps-brRG(qCvC3z1Un}V&f%@iTI&64Lh9!*9b{Kl(3JV06YjO^P4@uk zbo7;0kT8i5NiF9d@G`7uGUSRa#qH1C;z+#wMV$3WdI9SVco|XPDZQ@CApB?~#tmWg zQ9_O@XS9rgP7zPw!bgB=pdn0xf?FLiKr@;L%b>?RAn;vU_U?I7*pN^HS=Mu7g>TF& z>uv-uFH}YS_1X_38{(NB{-sOARqx~Z-rg4JI0?5Q_dY$DGuErz@lBT6SSc9=G%gmr z3|s@2XzCr+`KdCv2-9M+?)3s^k%((c4R_)C%>FGV-RYNS(wiR@-PzJOEZs&hhmGTr zPx(5Ju4X zwMBG*oNXjfWmrxEjltoe z&wt;YJnXpjsxml+h`G`a|0vA4ARway`(mPD;lxDpL{Q8$I~Fi^p**8UyTnI33ahU| zargI{nAg$}=seE5W#?>Wv1AAlJmRnJA2a8UEOmK8F<56ntR~SDx_pahDN$5f&YW=C z25U>5cTj-amRIo^Od+4yuVZp1B`R?4f4|*k`8&$^^A)3@@&W!ozA{x_Ku0124FE9r zggJW&@c$|QTl&ALw#QBXFLk6&3NX|DCk^qBxj*%2DjtZB?q8uf06_Kc(}3T2soEsu zsSY6W)Bz9;svvRd8iL(13Vt;-_r(NY7Hwz>NyBV_s8@t z9@W$Q(d!WZy9^+NAyq+$Md6?N`*?cbe+ZB<0{}K|*4mzK?p^|x?(TnZy0$vTBhv@~ P;6CQC$1S&5|MdO`AZ import BaseListTable from "./BaseListTable.vue"; import BaseSearchForm from "./BaseSearchForm.vue"; -import DialogJustForm from "./DialogJustForm.vue"; +// import DialogJustForm from "./DialogJustForm.vue"; import DialogUpload from "@/components/DialogUpload.vue"; import moment from "moment"; import Overlay from "@/components/Overlay.vue"; @@ -76,7 +76,7 @@ import DialogWithMenu from "./DialogWithMenu.vue"; // const dictList = JSON.parse(localStorage.getItem("dictList")); export default { name: "ListSectionWithHead", - components: { OrderEditDialog, BaseSearchForm, DialogWithMenu, BaseListTable, DialogJustForm, DialogUpload, Overlay }, + components: { OrderEditDialog, BaseSearchForm, DialogWithMenu, BaseListTable, DialogUpload, Overlay }, props: { headConfig: { type: Object, diff --git a/src/views/modules/pms/order/components/order--edit.vue b/src/views/modules/pms/order/components/order--edit.vue index bb0963a..c590bfb 100644 --- a/src/views/modules/pms/order/components/order--edit.vue +++ b/src/views/modules/pms/order/components/order--edit.vue @@ -472,8 +472,32 @@ {{ dataForm.shortDesc }} - - + + + + + + + + + + + + + + + + diff --git a/src/views/modules/pms/order/config.js b/src/views/modules/pms/order/config.js index 9931999..2fb37a3 100644 --- a/src/views/modules/pms/order/config.js +++ b/src/views/modules/pms/order/config.js @@ -64,31 +64,31 @@ export default function () { { width: 60, type: "index", label: "序号", fixed: true }, { width: 120, prop: "code", label: "订单号", fixed: "left" }, { width: 60, prop: "cate", label: "子号" }, - { width: 60, prop: "statusDictValue", label: "状态", filter: dictFilter("order_status") }, // 不可编辑 - { width: 120, prop: "planStartTime", label: "计划开始时间", filter: timeFilter }, // "订单砖数" }, - ...startTimeProp(type), - { width: 60, prop: "prodqty", label: "数量" }, // "订单砖数" }, { width: 100, prop: "productCode", label: "物料" }, // "物料编号" }, // select, filterable { width: 100, prop: "shapeCode", label: "砖型" }, // "砖型编号" }, // select, filterable { width: 120, prop: "brand", label: "牌号" }, // select, filterable - { width: 60, prop: "ai", label: "版本" }, // "版本号" }, // auto display according to the 配方 - { width: 65, prop: "sapParam1", label: "addon" }, - { width: 200, prop: "shortDesc", label: "物料号销售文本" }, { width: 100, prop: "bomCode", label: "配方编码" }, - { width: 80, prop: "pressCode", label: "压机号" }, // select, filterable + { width: 60, prop: "ai", label: "版本" }, // "版本号" }, // auto display according to the 配方 + { width: 60, prop: "prodqty", label: "数量" }, // "订单砖数" }, { width: 80, prop: "blenderCode", label: "混料机号" }, // select, filterable + { width: 80, prop: "pressCode", label: "压机号" }, // select, filterable { width: 80, prop: "kilnCode", label: "隧道窑号" }, // select, filterable + { width: 120, prop: "planStartTime", label: "计划开始时间", filter: timeFilter }, // "订单砖数" }, + ...startTimeProp(type), { width: 120, prop: "sapParam6", label: "烧成温度" }, { width: 120, prop: "sapParam7", label: "烧成时间(h)" }, - { width: 120, prop: "yieldqty", label: "已生产数量" }, // uneditable - { width: 120, prop: "soqty", label: "销售订单数" }, + { width: 200, prop: "packTechCode", label: "包装工艺代码" }, // select, filterable + { width: 120, prop: "pcsKilnCar", label: "托盘码放砖数" }, + { width: 120, prop: "customerCode", label: "客户" }, + { width: 120, prop: "specifications", label: "生产订单类型" }, + { width: 60, prop: "statusDictValue", label: "状态", filter: dictFilter("order_status") }, // 不可编辑 { width: 200, prop: "saleNo", label: "销售订单号" }, { width: 200, prop: "saleOrderItem", label: "销售订单item号" }, - { width: 200, prop: "packTechCode", label: "包装工艺代码" }, // select, filterable - { width: 120, prop: "specifications", label: "生产订单类型" }, + { width: 120, prop: "soqty", label: "销售订单数" }, { width: 120, prop: "deliveryTime", label: "销售时间", filter: timeFilter }, - { width: 120, prop: "customerCode", label: "客户" }, - { width: 120, prop: "pcsKilnCar", label: "托盘码放砖数" }, + { width: 65, prop: "sapParam1", label: "addon" }, + { width: 200, prop: "shortDesc", label: "物料号销售文本" }, + { width: 120, prop: "yieldqty", label: "已生产数量" }, // uneditable // { prop: "description", label: "详情", subcomponent: TableTextComponent }, { width: 120, prop: "remark", label: "备注" }, { width: 120, prop: "createTime", label: "添加时间", filter: timeFilter }, @@ -283,11 +283,11 @@ export default function () { datetime: true, label: "计划开始时间", prop: "planStartTime", - rules: { - required: true, - message: "必填项不能为空", - trigger: "blur", - }, + // rules: { + // required: true, + // message: "必填项不能为空", + // trigger: "blur", + // }, elparams: { placeholder: "选择计划开始时间", type: "datetime", @@ -552,8 +552,24 @@ export default function () { useBuiltin: false, }, }, - {}, - {} + { + label: '托板类型', + prop: 'palletType', + select: true, + options: [ + { label: '非熏蒸', value: '0' }, + { label: '熏蒸', value: '1' }, + ] + }, + { + label: '贴纸板', + prop: 'paperboard', + select: true, + options: [ + { label: '不要', value: '0' }, + { label: '要', value: '1' }, + ] + }, ], [ { input: true, label: "备注", prop: "remark", elparams: { placeholder: "备注" } }, From 2ab361be8531b44f7855f8d9527406f49e91eb17 Mon Sep 17 00:00:00 2001 From: lb Date: Tue, 8 Aug 2023 15:54:47 +0800 Subject: [PATCH 2/5] fix 0807docs --- public/importTemplates/orderImport.xlsx | Bin 12971 -> 11828 bytes src/components/DialogJustForm.vue | 52 +++++++++------ src/views/modules/pms/bom/config.js | 22 ++++-- src/views/modules/pms/bomDetails/config.js | 4 +- src/views/modules/pms/brokeLog/config.js | 2 + src/views/modules/pms/brokeLogHand/config.js | 2 + src/views/modules/pms/carHistory/config.js | 29 ++++---- .../components/tabs/orderDetail.vue | 20 +++--- src/views/modules/pms/finishedOrder/config.js | 4 +- src/views/modules/pms/materialBase/config.js | 2 +- .../pms/materialStorageDynamic/config.js | 26 ++++---- .../pms/order/components/order--edit.vue | 63 +++++++++++++----- src/views/modules/pms/order/config.js | 4 +- src/views/modules/pms/shape/config.js | 4 +- src/views/pages/login.vue | 4 +- 15 files changed, 147 insertions(+), 91 deletions(-) diff --git a/public/importTemplates/orderImport.xlsx b/public/importTemplates/orderImport.xlsx index 4a9b83392fa42fae6e8a929dca14d7da537be28f..79ba14f834bfdcd05505ec8709678098cdd7f94d 100644 GIT binary patch literal 11828 zcmaJ{b6{Rg){kx5w%NEb8a1{X=ZS4LZfrYg?8Y|Q*lcX;OWNIi_wBd4^T*u#+~;8C zoVjPtocoiP1_grwdTYUQ8-j1we>UjX8zUP-d4P?rJ)`_98QSXus9$7=fmk5|z(7E% zAV5G!|4ycFYs=tbW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ufr39+>!4&q|L534ka@Jn$Bb~)XqG)bJ4SDMy&>ieunRrlccR2%|7Z`#S5u~#nxN_x6tt5|fP0K$h=s^yt_FkIVqHi~68t6i~0;#NJrJ$=<=4-q_yB^jC}ungIK6 ziypLfUI~J7eV{(dt;90$g0FF|wZPRjy zsJ(w;LlJsd(cY`arTMmdgNnx)48xSfJwTt74{CxyK1{s!Um*dP9iH)Iw_2(hf1+VDwhg3CSj zw%88PUG9;~YoIE&3Td7a8heHv$?$m*&h@Y(PYK8j_4Y@phK(m&mQt6hX2l;#P&Fh?MjUAFk^h9xC`8%O< z4^p`MBFmgbu#4yY^w0GIdPa|?83U-?h=5Y|yz0On?>$D@elcozYA%HoP;u-@0U0x| z&9EvNRxtu2mDb`47`{sz?c9^_gGwkgy;cpX01wsf2OEjEO=g(js@Lnq;ahT`DOok{hPsg z1?hhW`1kqUe+vG(R)Fa9FVnog3;sUS_?PH6kW>A~@XbFb9Df)7_bIQxL;-*&kiP~A z|1UFNzvKKq^Ya%H8^ZtmiT{`Y`W@x>-tk{3EU15r@<%86ca+~-41b|0gT|3S@AP}a z;dg-F%RPSqz<}a75Wru>pWj7)Pfz|5O(gkK^!H@tcZA<#!oLs;(p diff --git a/src/components/DialogJustForm.vue b/src/components/DialogJustForm.vue index 13b98f3..314c9a4 100644 --- a/src/components/DialogJustForm.vue +++ b/src/components/DialogJustForm.vue @@ -78,6 +78,14 @@ {{ opt[col.customLabel] || "无描述" }} + { - console.log("getData: ", col.prop, "/", param ?? "no param!"); + // console.log("getData: ", col.prop, "/", param ?? "no param!"); // 获取数据 - 不需要等待前置条件时 promiseHistory[col.prop] = col.fetchData(param).then(({ data: res }) => { if (res.code === 0) { if ("list" in res.data) { - console.log( - "SdASD ", - res.data.list.map((i) => ({ + let options = []; + if (col.customLabel) { + options = res.data.list.map((i) => ({ label: col.optionLabel ? i[col.optionLabel] : i.name, value: col.optionValue ? i[col.optionValue] : i.id, [col.customLabel]: i[col.customLabel], - })) - ); + })); + } else if (col.customLabels) { + options = res.data.list.map((i) => { + let extraOptions = {}; + col.customLabels.forEach((label) => { + extraOptions[label] = i[label]; + }); + return { + label: col.optionLabel ? i[col.optionLabel] : i.name, + value: col.optionValue ? i[col.optionValue] : i.id, + ...extraOptions, + }; + }); + } else { + options = res.data.list.map((i) => ({ + label: col.optionLabel ? i[col.optionLabel] : i.name, + value: col.optionValue ? i[col.optionValue] : i.id, + })); + } // 填充 options - this.$set( - col, - "options", - col.customLabel - ? res.data.list.map((i) => ({ - label: col.optionLabel ? i[col.optionLabel] : i.name, - value: col.optionValue ? i[col.optionValue] : i.id, - [col.customLabel]: i[col.customLabel], - })) - : res.data.list.map((i) => ({ - label: col.optionLabel ? i[col.optionLabel] : i.name, - value: col.optionValue ? i[col.optionValue] : i.id, - })) - ); + this.$set(col, "options", options); // 是否需要缓存数据列表 if ("injectTo" in col || col.cached) { diff --git a/src/views/modules/pms/bom/config.js b/src/views/modules/pms/bom/config.js index a18128b..0f36d8a 100644 --- a/src/views/modules/pms/bom/config.js +++ b/src/views/modules/pms/bom/config.js @@ -12,9 +12,9 @@ export default function () { { prop: "name", label: "牌号" }, { prop: "syncTime", label: "同步时间", filter: timeFilter }, { width: 120, prop: "techCode", label: "烧制曲线", subcomponent: techBox }, - { prop: "upweight", label: "建议混料上限" }, - { prop: "downweight", label: "建议混料下限" }, - // { prop: "externalCode", label: "版本号" }, + { width: 110, prop: "upweight", label: "建议混料上限" }, + { width: 110, prop: "downweight", label: "建议混料下限" }, + { prop: "shortDesc", label: "喷码描述" }, // { prop: "specifications", label: "程序号" }, // { prop: "unitDictValue", label: "砖型", filter: dictFilter("unit") }, // { prop: "unitDictValue", label: "物料号", filter: dictFilter("unit") }, @@ -256,7 +256,7 @@ export default function () { rows: [ [ { - input: true, + forceDisabled: true, label: "配方号", prop: "code", rules: { required: true, message: "必填项不能为空", trigger: "blur" }, @@ -264,7 +264,7 @@ export default function () { elparams: { disabled: true }, }, { - input: true, + forceDisabled: true, label: "牌号", prop: "name", rules: { required: true, message: "必填项不能为空", trigger: "blur" }, @@ -286,7 +286,17 @@ export default function () { rules: [{ type: "number", trigger: "blur", message: "请输入数字类型", transform: (val) => Number(val) }], elparams: { placeholder: "请输入建议混料上限" }, }, - ] + ], + [ + { + input: true, + label: "喷码描述", + prop: "shortDesc", + // rules: { required: true, message: "必填项不能为空", trigger: "blur" }, + // elparams: { disabled: true }, + }, + null + ], ], operations: [ { name: "add-bom", label: "保存", type: "primary", permission: "", showOnEdit: false }, diff --git a/src/views/modules/pms/bomDetails/config.js b/src/views/modules/pms/bomDetails/config.js index 9af60d8..15a8a9f 100644 --- a/src/views/modules/pms/bomDetails/config.js +++ b/src/views/modules/pms/bomDetails/config.js @@ -37,8 +37,8 @@ export default function () { { prop: "name", label: "牌号" }, { prop: "version", label: "版本" }, { prop: "sumqty", label: "总重量" }, - { prop: "description", label: "物料销售文本" }, - { width: 150, prop: "shortDesc", label: "物料销售文本短描述" }, + // { prop: "description", label: "物料销售文本" }, + // { width: 150, prop: "shortDesc", label: "物料销售文本短描述" }, { prop: "remark", label: "备注" }, { prop: "createTime", label: "添加时间", filter: timeFilter }, { diff --git a/src/views/modules/pms/brokeLog/config.js b/src/views/modules/pms/brokeLog/config.js index e2b5c3d..aa4eef7 100644 --- a/src/views/modules/pms/brokeLog/config.js +++ b/src/views/modules/pms/brokeLog/config.js @@ -60,6 +60,7 @@ export default function () { } }; + const now = new Date().getTime(); const headFormFields = [ { prop: "material", @@ -95,6 +96,7 @@ export default function () { "start-placeholder": "开始时间", "end-placeholder": "结束时间", }, + default: { value: [now - 3600 * 24 * 7 * 1000, now] }, }, { button: { diff --git a/src/views/modules/pms/brokeLogHand/config.js b/src/views/modules/pms/brokeLogHand/config.js index a8589a4..bac96f4 100644 --- a/src/views/modules/pms/brokeLogHand/config.js +++ b/src/views/modules/pms/brokeLogHand/config.js @@ -60,6 +60,7 @@ export default function () { } }; + const now = new Date().getTime(); const headFormFields = [ { prop: "material", @@ -95,6 +96,7 @@ export default function () { "start-placeholder": "开始时间", "end-placeholder": "结束时间", }, + default: { value: [now - 3600 * 24 * 7 * 1000, now] }, }, { button: { diff --git a/src/views/modules/pms/carHistory/config.js b/src/views/modules/pms/carHistory/config.js index 71ea583..4ba710d 100644 --- a/src/views/modules/pms/carHistory/config.js +++ b/src/views/modules/pms/carHistory/config.js @@ -1,7 +1,7 @@ import TableOperaionComponent from "@/components/noTemplateComponents/operationComponent"; -import StateSelect from '@/components/StateSelect.vue'; +import StateSelect from "@/components/StateSelect.vue"; import request from "@/utils/request"; -import { timeFilter } from '@/utils/filters' +import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ @@ -21,31 +21,32 @@ export default function () { width: 180, subcomponent: TableOperaionComponent, options: [ - { name: "temperature", label: "烧制温度", }, - { name: "to-car-payload", label: "装载详情", icon: 'document' }, - { name: "delete", label: "删除", icon: 'delete', emitFull: true, promptField: 'code' } + { name: "temperature", label: "烧制温度" }, + { name: "to-car-payload", label: "装载详情", icon: "document" }, + { name: "delete", label: "删除", icon: "delete", emitFull: true, promptField: "code" }, ], }, ]; + const now = new Date().getTime(); const headFormFields = [ { input: true, - prop: 'code', + prop: "code", label: "窑车号", default: { value: "" }, bind: { - placeholder: '请输入窑车号' - } + placeholder: "请输入窑车号", + }, }, { input: true, - prop: 'orderCode', + prop: "orderCode", label: "订单号", default: { value: "" }, bind: { - placeholder: '请输入订单号' - } + placeholder: "请输入订单号", + }, }, { timerange: true, @@ -57,6 +58,7 @@ export default function () { "start-placeholder": "开始时间", "end-placeholder": "结束时间", }, + default: { value: [now - 3600 * 24 * 7 * 1000, now] }, }, { button: { @@ -79,7 +81,7 @@ export default function () { const dialogJustFormConfigs = null; const carPayloadDialogConfigs = { - dialogWidth: '70%', + dialogWidth: "70%", carPayloadDialog: true, clickModalToClose: false, tableConfig: { @@ -102,7 +104,6 @@ export default function () { }, }; - return { carPayloadDialogConfigs, dialogConfigs: dialogJustFormConfigs, @@ -117,7 +118,7 @@ export default function () { urls: { base: "/pms/carHandle", page: "/pms/carHandle/pageHis", - pageIsPostApi: true + pageIsPostApi: true, // subase: '/pms/blenderStepParam', // subpage: '/pms/blenderStepParam/page', // more... diff --git a/src/views/modules/pms/finishedOrder/components/tabs/orderDetail.vue b/src/views/modules/pms/finishedOrder/components/tabs/orderDetail.vue index d6c33a3..044fb78 100644 --- a/src/views/modules/pms/finishedOrder/components/tabs/orderDetail.vue +++ b/src/views/modules/pms/finishedOrder/components/tabs/orderDetail.vue @@ -266,7 +266,7 @@ - - + --> - - + --> @@ -377,8 +377,8 @@ + prop="saleNo"> + + prop="deliveryTime"> + - + {{ dataForm.shortDesc }} diff --git a/src/views/modules/pms/finishedOrder/config.js b/src/views/modules/pms/finishedOrder/config.js index 0be0d26..cb2f37b 100644 --- a/src/views/modules/pms/finishedOrder/config.js +++ b/src/views/modules/pms/finishedOrder/config.js @@ -13,7 +13,7 @@ export default function () { { width: 60, prop: "cate", label: "子号" }, { width: 100, prop: "productCode", label: "物料" }, { width: 100, prop: "shapeCode", label: "砖型" }, - { width: 120, prop: "brand", label: "牌号" }, + { width: 160, prop: "brand", label: "牌号" }, { width: 100, prop: "bomCode", label: "配方编码" }, { width: 60, prop: "ai", label: "版本" }, { width: 60, prop: "prodqty", label: "数量" }, @@ -34,7 +34,7 @@ export default function () { { width: 120, prop: "soqty", label: "销售订单数" }, { width: 120, prop: "deliveryTime", label: "销售时间", filter: timeFilter }, { width: 65, prop: "sapParam1", label: "addon" }, - { width: 200, prop: "shortDesc", label: "物料号销售文本" }, + { width: 200, prop: "shortDesc", label: "喷码描述" }, { width: 120, prop: "yieldqty", label: "已生产数量" }, { width: 120, prop: "remark", label: "备注" }, // { width: 120, prop: "createTime", label: "添加时间", filter: timeFilter }, diff --git a/src/views/modules/pms/materialBase/config.js b/src/views/modules/pms/materialBase/config.js index 885bc95..ac8de78 100644 --- a/src/views/modules/pms/materialBase/config.js +++ b/src/views/modules/pms/materialBase/config.js @@ -4,11 +4,11 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "name", label: "名称" }, { prop: "code", label: "编码" }, // { prop: "enName", label: "英文名称" }, // { prop: "enAb", label: "缩写" }, { prop: "description", label: "描述" }, + { prop: "name", label: "名称" }, { prop: "remark", label: "备注" }, { prop: "createTime", label: "添加时间", filter: timeFilter }, { diff --git a/src/views/modules/pms/materialStorageDynamic/config.js b/src/views/modules/pms/materialStorageDynamic/config.js index a83005d..8b2beab 100644 --- a/src/views/modules/pms/materialStorageDynamic/config.js +++ b/src/views/modules/pms/materialStorageDynamic/config.js @@ -7,20 +7,21 @@ import { timeFilter } from "@/utils/filters"; export default function () { const tableProps = [ { type: "index", label: "序号" }, - { prop: "name", label: "料仓名称" }, - { prop: "code", label: "料仓编码" }, - { prop: "typeDictValue", label: "料仓类型", filter: dictFilter("liaocang") }, + { width: 90, prop: "name", label: "料仓名称" }, + { width: 90, prop: "code", label: "料仓编码" }, + { width: 90, prop: "typeDictValue", label: "料仓类型", filter: dictFilter("liaocang") }, // { prop: "enabled", label: "状态", subcomponent: switchBtn }, // subcomponent - { prop: "materialDescription", label: "原料" }, - { prop: "qty", label: "料位" }, + { width: 220, prop: "materialDescription", label: "原料" }, + { prop: "qty", label: "料位[kg]" }, // { prop: "unitDictValue", label: "单位", filter: dictFilter('unit') }, - { prop: "materialTypeDictValue", label: "原料类型", filter: dictFilter("material_category") }, - { prop: "density", label: "原料堆积密度" }, - { prop: "dosLow", label: "加料下限" }, - { prop: "dosHigh", label: "加料上限" }, - { prop: "description", label: "描述" }, + { width: 128, prop: "materialTypeDictValue", label: "原料类型", filter: dictFilter("material_category") }, + { width: 128, prop: "density", label: "原料堆积密度" }, + { width: 90, prop: "dosLow", label: "加料下限" }, + { width: 90, prop: "dosHigh", label: "加料上限" }, + { width: 128, prop: "description", label: "描述" }, + { width: 128, prop: "materialName", label: "中文描述" }, // { prop: "remark", label: "备注" }, - { prop: "createTime", label: "添加时间", filter: timeFilter }, + { width: 128, prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", @@ -123,7 +124,8 @@ export default function () { fetchData: () => this.$http.get("/pms/material/page", { params: { key: "", limit: 999, page: 1 } }), options: [], optionLabel: "code", - customLabel: "description", + // customLabel: "description+name", + customLabels: ["description", "name"], rules: { required: true, message: "必填项不能为空", trigger: "change" }, elparams: { filterable: true, placeholder: "请选择原料" }, }, diff --git a/src/views/modules/pms/order/components/order--edit.vue b/src/views/modules/pms/order/components/order--edit.vue index c590bfb..12b72d7 100644 --- a/src/views/modules/pms/order/components/order--edit.vue +++ b/src/views/modules/pms/order/components/order--edit.vue @@ -56,10 +56,7 @@ - + - - + --> - - + --> @@ -393,8 +390,8 @@ + prop="saleNo"> + + prop="deliveryTime"> + - + {{ dataForm.shortDesc }} - + - + { if (res && res.code === 0) { this.dataForm = __pick(res.data, Object.keys(this.dataForm)); + + return res.data.bomId; // 特殊需求:编辑页面,还要根据 bomId 来更新配方号 } else { this.$message({ message: `${res.code}: ${res.msg}`, @@ -812,6 +817,28 @@ export default { duration: 1500, }); } + }) + .then((bomId) => { + return this.$http({ + url: "/pms/bom/pageById", + method: "get", + params: { + limit: 999, + page: 1, + key: "", + id: bomId, + }, + }); + }) + .then(({ data: res }) => { + if (res.code == 0) { + this.bomOptions = res.data.list.map((item) => ({ + name: item.name, + label: item.code, + value: item.id, + })); + } + this.formLoading = false; }) .catch((err) => { diff --git a/src/views/modules/pms/order/config.js b/src/views/modules/pms/order/config.js index 2fb37a3..57a0e3a 100644 --- a/src/views/modules/pms/order/config.js +++ b/src/views/modules/pms/order/config.js @@ -66,7 +66,7 @@ export default function () { { width: 60, prop: "cate", label: "子号" }, { width: 100, prop: "productCode", label: "物料" }, // "物料编号" }, // select, filterable { width: 100, prop: "shapeCode", label: "砖型" }, // "砖型编号" }, // select, filterable - { width: 120, prop: "brand", label: "牌号" }, // select, filterable + { width: 160, prop: "brand", label: "牌号" }, // select, filterable { width: 100, prop: "bomCode", label: "配方编码" }, { width: 60, prop: "ai", label: "版本" }, // "版本号" }, // auto display according to the 配方 { width: 60, prop: "prodqty", label: "数量" }, // "订单砖数" }, @@ -87,7 +87,7 @@ export default function () { { width: 120, prop: "soqty", label: "销售订单数" }, { width: 120, prop: "deliveryTime", label: "销售时间", filter: timeFilter }, { width: 65, prop: "sapParam1", label: "addon" }, - { width: 200, prop: "shortDesc", label: "物料号销售文本" }, + { width: 200, prop: "shortDesc", label: "喷码描述" }, { width: 120, prop: "yieldqty", label: "已生产数量" }, // uneditable // { prop: "description", label: "详情", subcomponent: TableTextComponent }, { width: 120, prop: "remark", label: "备注" }, diff --git a/src/views/modules/pms/shape/config.js b/src/views/modules/pms/shape/config.js index 906ab25..14cdb82 100644 --- a/src/views/modules/pms/shape/config.js +++ b/src/views/modules/pms/shape/config.js @@ -14,8 +14,8 @@ export default function () { { prop: "line", label: "中心线颜色", filter: dictFilter("line") }, { prop: "tequipmentTechCode1", label: "压制工艺", subcomponent: techBox }, { prop: "tequipmentTechCode2", label: "检测工艺", subcomponent: techBox }, - { prop: "description", label: "长描述" }, - { prop: "shortDesc", label: "短描述" }, + // { prop: "description", label: "长描述" }, + { prop: "shortDesc", label: "喷码描述" }, { prop: "remark", label: "备注" }, { prop: "toggle-attachment-dialog", diff --git a/src/views/pages/login.vue b/src/views/pages/login.vue index d7adaee..b54a771 100644 --- a/src/views/pages/login.vue +++ b/src/views/pages/login.vue @@ -132,8 +132,8 @@ export default { baseImg: require("../../assets/img/login-back.png"), coverImgUrl: "", dataForm: { - username: "admin", - password: "admin", + username: "", + password: "", uuid: "string", captcha: "", }, From 3601b574fb5234443134271780606df0c89ad36b Mon Sep 17 00:00:00 2001 From: lb Date: Tue, 8 Aug 2023 16:54:39 +0800 Subject: [PATCH 3/5] =?UTF-8?q?add=20=E5=AD=90=E8=AE=A2=E5=8D=95=E8=BF=9B?= =?UTF-8?q?=E5=BA=A6=E2=80=94=E6=B7=B7=E6=96=99=E8=AE=A2=E5=8D=95=E7=BC=96?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pms/order/components/TablePagi.vue | 24 ++-- .../components/tabs/blenderOrder-edit.vue | 86 +++++++++++++ .../order/components/tabs/subOrderDetail.vue | 118 +++++++++++------- 3 files changed, 177 insertions(+), 51 deletions(-) create mode 100644 src/views/modules/pms/order/components/tabs/blenderOrder-edit.vue diff --git a/src/views/modules/pms/order/components/TablePagi.vue b/src/views/modules/pms/order/components/TablePagi.vue index fa926cc..1f30166 100644 --- a/src/views/modules/pms/order/components/TablePagi.vue +++ b/src/views/modules/pms/order/components/TablePagi.vue @@ -18,8 +18,13 @@ :total="totalPage" layout="total, prev, pager, next, jumper"> - - + + + import BaseListTable from "./BaseListTable.vue"; -import DialogJustForm from "./DialogJustForm.vue"; +// import DialogJustForm from "./DialogJustForm.vue"; import BatchDialog from "./BatchDialog.vue"; +import BlenderOrderEdit from "./tabs/blenderOrder-edit.vue"; export default { name: "TablePaginationComp", - components: { BaseListTable, DialogJustForm, BatchDialog }, + components: { BaseListTable, BlenderOrderEdit, BatchDialog }, props: { tableConfig: { type: Object, @@ -68,6 +74,7 @@ export default { }, totalPage: 0, refreshLayoutKey: 0, + blenderOrderEditVisible: false, /** batch related */ batchDialogVisible: false, batchDialogConfigs: {}, @@ -80,10 +87,11 @@ export default { handleOperate({ type, data: id }) { console.log("payload", type, id); switch (type) { - case "edit": - // 编辑 - this.$refs.vdialog.init(id); - console.log("编辑"); + case "blender-edit": + this.blenderOrderEditVisible = true; + this.$nextTick(() => { + this.$refs.blenderOrderEdit.init(id); + }); break; case "view-batch": // 查看批次 diff --git a/src/views/modules/pms/order/components/tabs/blenderOrder-edit.vue b/src/views/modules/pms/order/components/tabs/blenderOrder-edit.vue new file mode 100644 index 0000000..3201e57 --- /dev/null +++ b/src/views/modules/pms/order/components/tabs/blenderOrder-edit.vue @@ -0,0 +1,86 @@ + + + + + + + diff --git a/src/views/modules/pms/order/components/tabs/subOrderDetail.vue b/src/views/modules/pms/order/components/tabs/subOrderDetail.vue index 1b93082..7430eac 100644 --- a/src/views/modules/pms/order/components/tabs/subOrderDetail.vue +++ b/src/views/modules/pms/order/components/tabs/subOrderDetail.vue @@ -3,16 +3,24 @@ - - @@ -22,16 +30,24 @@ - - @@ -43,39 +59,37 @@ - + From bc5b6c286860d9684d776a775d8f6f8b0a64c98d Mon Sep 17 00:00:00 2001 From: lb Date: Wed, 9 Aug 2023 14:11:57 +0800 Subject: [PATCH 5/5] =?UTF-8?q?update=20=E8=AE=A2=E5=8D=95=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=9A=84cell-class-name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/pms/blenderOrder/config.js | 8 +- src/views/modules/pms/blenderOrder/index.vue | 10 +- .../components/ListViewWithHead.vue | 10 +- src/views/modules/pms/blenderPress/config.js | 97 +++++++++++++------ src/views/modules/pms/blenderPress/index.vue | 13 ++- src/views/modules/pms/order/index.vue | 43 +++++--- src/views/modules/pms/pressOrder/config.js | 26 ++++- src/views/modules/pms/pressOrder/index.vue | 10 +- 8 files changed, 161 insertions(+), 56 deletions(-) diff --git a/src/views/modules/pms/blenderOrder/config.js b/src/views/modules/pms/blenderOrder/config.js index 08d0d18..941ea1c 100644 --- a/src/views/modules/pms/blenderOrder/config.js +++ b/src/views/modules/pms/blenderOrder/config.js @@ -305,7 +305,13 @@ export default function () { return { dialogConfigs, tableConfig: { - table: null, // 此处可省略,el-table 上的配置项 + table: { + "cell-class-name": ({ row, column, rowIndex, columnIndex }) => { + if ("statusDictValue" in row && row.statusDictValue == "2") { + return "cell-in-production"; + } + }, + }, column: tableProps, // el-column-item 上的配置项 }, headFormConfigs: { diff --git a/src/views/modules/pms/blenderOrder/index.vue b/src/views/modules/pms/blenderOrder/index.vue index de8ab96..83d9b95 100644 --- a/src/views/modules/pms/blenderOrder/index.vue +++ b/src/views/modules/pms/blenderOrder/index.vue @@ -1,5 +1,6 @@