From b8ffb8335fbe7300eb035c77add6635a02730735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Fri, 7 Apr 2023 15:55:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=90=88=E6=A0=BC=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E8=B0=83=E6=95=B4=E5=8F=8A=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PC/src/utils/tableColumns/index.js | 15 +++++++++++---- .../quality/unqualifiedToQualified.vue | 14 ++++++++------ 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/fe/PC/src/utils/tableColumns/index.js b/fe/PC/src/utils/tableColumns/index.js index f41081862..7016f8764 100644 --- a/fe/PC/src/utils/tableColumns/index.js +++ b/fe/PC/src/utils/tableColumns/index.js @@ -1524,20 +1524,23 @@ export const InspectNote = [ // 不合格库存(不合格转合格) 已调整 export const unqualifiedToQualified = [ { label: "创建时间", prop: "creationTime", type: "dateTime" }, - // { label: "发货单号", prop: "asnNumber", width: orderWidth }, + { label: "创建者ID", prop: 'creatorId' }, { label: "物品代码", prop: "itemCode" }, { label: "物品名称", prop: "itemName" }, - { label: "物品描述", prop: "itemDesc1" }, + { label: "物品描述1", prop: "itemDesc1" }, + { label: "物品描述2", prop: "itemDesc2" }, { label: "数量", prop: "qty" }, { label: "单位", prop: "uom" }, { label: "批次", prop: "lot" }, { label: "箱码", prop: "packingCode" }, { label: "库位", prop: 'locationCode' }, { label: "入库时间", prop: 'putInTime',type: "dateTime" }, + { label: "备注", prop: 'remark' }, // ----------------------------------------------------------------------- { label: "ERP库位", prop: "locationErpCode" }, + { label: "标包数量", prop: "stdPackQty" }, { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, - { label: "公司", prop: 'company' }, + { label: "上次修改者ID", prop: "lastModifierId" }, { label: "供应商批次", prop: 'supplierBatch' }, { label: "到货时间", prop: 'arriveDate', type: "dateTime" }, { label: "生产时间", prop: 'produceDate', type: "dateTime" }, @@ -1551,9 +1554,13 @@ export const unqualifiedToQualified = [ { label: "最后盘点标签", prop: 'lastCountLabel' }, { label: "是否可用", prop: 'isActive' }, { label: "最后事务号", prop: 'lastTransNumber' }, - { label: "lastTransType", prop: 'lastTransType' }, + { label: "最后事务类型", prop: "lastTransType", type: "filter", filters: "TransTypeBase" }, { label: "manageType", prop: 'manageType' }, { label: "status", prop: 'status' }, + { label: "ID", prop: 'id' }, + { label: "事务ID", prop: "tenantId" }, + // { label: "发货单号", prop: "asnNumber", width: orderWidth }, + // { label: "公司", prop: 'company' }, // ----------------------------------------------------------------------- ] // 不合格转合格记录 已调整 20230407 diff --git a/fe/PC/src/views/rawMaterialManage/quality/unqualifiedToQualified.vue b/fe/PC/src/views/rawMaterialManage/quality/unqualifiedToQualified.vue index 1b80d4e6b..b151c1c44 100644 --- a/fe/PC/src/views/rawMaterialManage/quality/unqualifiedToQualified.vue +++ b/fe/PC/src/views/rawMaterialManage/quality/unqualifiedToQualified.vue @@ -110,22 +110,23 @@ export default { if (this.selectionData != undefined ) { if (this.selectionData.length > 0) { this.Loading.appMainLoading = true + // 20230407 let params = { tenantId: null, remark: null, extraProperties: null, worker: store.getters.name.userName, - warehouseCode: null, activeDate: new Date(), autoSubmit: false, autoAgree: false, autoHandle: false, autoCompleteJob: false, directCreateNote: false, - requestStatus: 0, - company: localStorage.getItem('company'), number: null, details: [] + // warehouseCode: null, + // requestStatus: 0, + // company: localStorage.getItem('company'), } // company "DongYang" // concurrencyStamp "187ecf6d642e48f68a86f05ceddcbaea" @@ -147,12 +148,10 @@ export default { // status 3 // tenantId null this.selectionData.forEach(item => { - item.stdPackUom = null + // 20230407 item.stdPackQty = 0 item.fromPackingCode = item.packingCode item.toPackingCode = item.packingCode - item.fromContainerCode = item.containerCode - item.toContainerCode = item.containerCode item.fromLot = item.lot item.toLot = item.lot item.fromLocationCode = item.locationCode @@ -173,6 +172,9 @@ export default { item.poNumber = null item.supplierCode = null params.details.push(item) + // item.fromContainerCode = item.containerCode + // item.toContainerCode = item.containerCode + // item.stdPackUom = null }) convertOk(params).then(res => { this.$message.success('已成功转为合格')