diff --git a/fe/PC/src/api/wms-api.js b/fe/PC/src/api/wms-api.js index f81e8de52..647a198e3 100644 --- a/fe/PC/src/api/wms-api.js +++ b/fe/PC/src/api/wms-api.js @@ -513,9 +513,9 @@ export function sumPrint(number, url ) { } // 线边仓调拨列表 | 上架前退货记录 | 采购上架记录 | 半成品上架记录 | 原料直发 -export function getPageListWip(data, url) { +export function getPageListWip(data, url, hasDetail) { return request({ - url: baseURL + url, + url: baseURL + url + '?includeDetails=' + Boolean(hasDetail), method: 'post', data }) @@ -639,14 +639,22 @@ export async function itemTransformNewCreate(data) { }) } -// 获取bom -export function getBomByComponentTree(code) { +// 客户退拆-获取bom(全部展开) +export function getBomByComponentList(code) { return request({ url: baseURL + 'basedata/bom/get-list-by-component-with-tree/?component=' + code, method: 'get' }) } +// 客户退拆-获取bom(树状) +export function getBomByComponentTree(code) { + return request({ + url: baseURL + 'basedata/bom/get-bom-tree-by-code/?component=' + code, + method: 'get' + }) +} + // 客户退拆任务-执行提交 export async function productionRecycleJobHandle(id,data) { return request({ diff --git a/fe/PC/src/components/currenTable/index.vue b/fe/PC/src/components/currenTable/index.vue index b8faf9faf..022727200 100644 --- a/fe/PC/src/components/currenTable/index.vue +++ b/fe/PC/src/components/currenTable/index.vue @@ -16,6 +16,9 @@ :tree-props="treeProps" :cell-style="cellStyle" :key="isUpdate" + @select="tableHandleSelect" + @select-all="tableHandleSelectAll" + :default-expand-all="isDefaultExpandAll" > @@ -28,7 +31,7 @@ :fixed="item.fixed" :show-overflow-tooltip="true" :width="item.width" - align="center" + :align="item.align || 'center'" > {{ item.label }} @@ -344,6 +347,13 @@ export default { }, }, props: { + // 是否默认全部展开(针对于树形table) + isDefaultExpandAll:{ + type: Boolean, + default: () => { + return false + } + }, // table key 字段设置顺序后需更新该值 isUpdate: { type: Boolean, @@ -731,6 +741,14 @@ export default { sortChange(data) { this.$emit("sortChange", data); }, + // table选择多选 + tableHandleSelect(selection, row){ + this.$emit("tableHandleSelect", selection, row); + }, + // table全选 + tableHandleSelectAll(selection){ + this.$emit("tableHandleSelectAll", selection); + }, //点击selection框 handleSelectionChange(val) { this.$emit("handleSelectionChange", val); diff --git a/fe/PC/src/mixins/TableMixins.js b/fe/PC/src/mixins/TableMixins.js index 3556eaf89..6281f437b 100644 --- a/fe/PC/src/mixins/TableMixins.js +++ b/fe/PC/src/mixins/TableMixins.js @@ -114,7 +114,6 @@ export const tableMixins = { }, //点击Table行内名称 inlineDialog(val) { - console.log(117,val) // 打开抽屉后,点击其他信息,默认回到详情位置上,避免特殊需要重新点击获取接口的tag页面数据不更新 this.firstTabs = 'xq' //打开抽屉 diff --git a/fe/PC/src/router/index.js b/fe/PC/src/router/index.js index 373689244..14b7f543f 100644 --- a/fe/PC/src/router/index.js +++ b/fe/PC/src/router/index.js @@ -196,16 +196,64 @@ export const constantRoutes = [ redirect: '/gridlayout', hidden: true, children: [{ - path: 'completDumpRequest', - component: () => import('@/views/finishedProductManage/completDump/completDumpRequest.vue'), - name: 'completDumpRequest', + path: 'completDumpNoteZS', + component: () => import('@/views/finishedProductManage/completDump/completDumpNoteZS.vue'), + name: 'completDumpNoteZS', meta: { keepAlive : true, - title: '完工转储申请', + title: '完工转储记录(注塑)', icon: '完工转储申请', } }] }, + { + path: '/', + component: Layout, + redirect: '/gridlayout', + hidden: true, + children: [{ + path: 'completDumpNotePT', + component: () => import('@/views/finishedProductManage/completDump/completDumpNotePT.vue'), + name: 'completDumpNotePT', + meta: { + keepAlive : true, + title: '完工转储记录(喷涂)', + icon: '完工转储申请', + } + }] + }, + { + path: '/', + component: Layout, + redirect: '/gridlayout', + hidden: true, + children: [{ + path: 'completDumpNoteZP', + component: () => import('@/views/finishedProductManage/completDump/completDumpNoteZP.vue'), + name: 'completDumpNoteZP', + meta: { + keepAlive : true, + title: '完工转储记录(装配)', + icon: '完工转储申请', + } + }] + }, + { + path: '/', + component: Layout, + redirect: '/gridlayout', + hidden: true, + children: [{ + path: 'completDumpNoteZS', + component: () => import('@/views/finishedProductManage/completDump/completDumpNoteZS.vue'), + name: 'completDumpNoteZS', + meta: { + keepAlive : true, + title: '完工转储记录(注塑)', + icon: '完工转储申请', + } + }] + }, { path: '/', component: Layout, diff --git a/fe/PC/src/utils/detailsTableColumns/index.js b/fe/PC/src/utils/detailsTableColumns/index.js index 49e189e98..e6e186a30 100644 --- a/fe/PC/src/utils/detailsTableColumns/index.js +++ b/fe/PC/src/utils/detailsTableColumns/index.js @@ -3525,64 +3525,121 @@ export const callEmptyUtensilJob = [ { label: "备注", prop: 'remark' }, ] -// 完工转储申请 -export const completDumpRequest = [ - { label: "退货申请单号", +// 完工转储记录(注塑) +export const completDumpNoteZS = [ + { label: "记录单号", prop: "number", fixed: "left", type: "name", }, - { label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" }, - { label: "创建时间", prop: "creationTime",type:"dateTime" }, - { label: "发货单号", prop: "asnNumber" }, - { label: "订单号", prop: "poNumber" }, - { label: "供应商代码", prop: "supplierCode" }, - { label: "退货时间", prop: "returnTime", type:"dateTime" }, - { label: "操作员", prop: "worker" }, + { label: "物品代码", prop: "itemCode" }, + { label: "物品名称", prop: "itemName" }, + { label: "物品描述1", prop: "itemDesc1" }, + { label: "物品描述2", prop: "itemDesc2" }, + { label: "单位", prop: "uom" }, + { label: "数量", prop: "qty" }, + { label: "标包数量", prop: 'stdPackQty' }, + { label: "来源箱码", prop: 'fromPackingCode' }, + { label: "目标箱码", prop: 'toPackingCode' }, + { label: "来源批次", prop: 'fromLot' }, + { label: "目标批次", prop: 'toLot' }, + { label: "供应商批次", prop: 'supplierBatch' }, + { label: "到货时间", prop: "arriveDate", type: "dateTime" }, + { label: "生产时间", prop: "produceDate", type: "dateTime" }, + { label: "过期时间", prop: "expireDate", type: "dateTime" }, + { label: "来源库位", prop: 'fromLocationCode' }, + { label: "目标库位", prop: "toLocationCode" }, + { label: "来源库区", prop: 'fromLocationArea' }, + { label: "目标库区", prop: 'toLocationArea' }, + { label: "来源库位组", prop: 'fromLocationGroup' }, + { label: "目标库位组", prop: 'toLocationGroup' }, + { label: "来源ERP库位", prop: 'fromLocationErpCode' }, + { label: "目标ERP库位", prop: "toLocationErpCode" }, + { label: "来源仓库", prop: 'fromWarehouseCode' }, + { label: "目标仓库", prop: 'toWarehouseCode' }, + { label: "在途库位", prop: "onTheWayLocationCode" }, + { label: "原因", prop: 'reason' }, { label: "备注", prop: 'remark' }, + { label: "创建时间", prop: "creationTime",type:"dateTime" }, { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, - { label: "生效日期", prop: 'activeDate', type: "dateTime" }, - { label: "收货单号", prop: 'rpNumber' }, ] -// 完工转储任务 -export const completDumpJob = [ - { label: "退货申请单号", +// 完工转储记录(喷涂) +export const completDumpNotePT = [ + { label: "记录单号", prop: "number", fixed: "left", type: "name", }, - { label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" }, - { label: "创建时间", prop: "creationTime",type:"dateTime" }, - { label: "发货单号", prop: "asnNumber" }, - { label: "订单号", prop: "poNumber" }, - { label: "供应商代码", prop: "supplierCode" }, - { label: "退货时间", prop: "returnTime", type:"dateTime" }, - { label: "操作员", prop: "worker" }, + { label: "物品代码", prop: "itemCode" }, + { label: "物品名称", prop: "itemName" }, + { label: "物品描述1", prop: "itemDesc1" }, + { label: "物品描述2", prop: "itemDesc2" }, + { label: "单位", prop: "uom" }, + { label: "数量", prop: "qty" }, + { label: "标包数量", prop: 'stdPackQty' }, + { label: "来源箱码", prop: 'fromPackingCode' }, + { label: "目标箱码", prop: 'toPackingCode' }, + { label: "来源批次", prop: 'fromLot' }, + { label: "目标批次", prop: 'toLot' }, + { label: "供应商批次", prop: 'supplierBatch' }, + { label: "到货时间", prop: "arriveDate", type: "dateTime" }, + { label: "生产时间", prop: "produceDate", type: "dateTime" }, + { label: "过期时间", prop: "expireDate", type: "dateTime" }, + { label: "来源库位", prop: 'fromLocationCode' }, + { label: "目标库位", prop: "toLocationCode" }, + { label: "来源库区", prop: 'fromLocationArea' }, + { label: "目标库区", prop: 'toLocationArea' }, + { label: "来源库位组", prop: 'fromLocationGroup' }, + { label: "目标库位组", prop: 'toLocationGroup' }, + { label: "来源ERP库位", prop: 'fromLocationErpCode' }, + { label: "目标ERP库位", prop: "toLocationErpCode" }, + { label: "来源仓库", prop: 'fromWarehouseCode' }, + { label: "目标仓库", prop: 'toWarehouseCode' }, + { label: "在途库位", prop: "onTheWayLocationCode" }, + { label: "原因", prop: 'reason' }, { label: "备注", prop: 'remark' }, + { label: "创建时间", prop: "creationTime",type:"dateTime" }, { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, - { label: "生效日期", prop: 'activeDate', type: "dateTime" }, - { label: "收货单号", prop: 'rpNumber' }, ] -// 完工转储记录 -export const completDumpNote = [ - { label: "退货申请单号", +// 完工转储记录(装配) +export const completDumpNoteZP = [ + { label: "记录单号", prop: "number", fixed: "left", type: "name", }, - { label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" }, - { label: "创建时间", prop: "creationTime",type:"dateTime" }, - { label: "发货单号", prop: "asnNumber" }, - { label: "订单号", prop: "poNumber" }, - { label: "供应商代码", prop: "supplierCode" }, - { label: "退货时间", prop: "returnTime", type:"dateTime" }, - { label: "操作员", prop: "worker" }, + { label: "物品代码", prop: "itemCode" }, + { label: "物品名称", prop: "itemName" }, + { label: "物品描述1", prop: "itemDesc1" }, + { label: "物品描述2", prop: "itemDesc2" }, + { label: "单位", prop: "uom" }, + { label: "数量", prop: "qty" }, + { label: "标包数量", prop: 'stdPackQty' }, + { label: "来源箱码", prop: 'fromPackingCode' }, + { label: "目标箱码", prop: 'toPackingCode' }, + { label: "来源批次", prop: 'fromLot' }, + { label: "目标批次", prop: 'toLot' }, + { label: "供应商批次", prop: 'supplierBatch' }, + { label: "到货时间", prop: "arriveDate", type: "dateTime" }, + { label: "生产时间", prop: "produceDate", type: "dateTime" }, + { label: "过期时间", prop: "expireDate", type: "dateTime" }, + { label: "来源库位", prop: 'fromLocationCode' }, + { label: "目标库位", prop: "toLocationCode" }, + { label: "来源库区", prop: 'fromLocationArea' }, + { label: "目标库区", prop: 'toLocationArea' }, + { label: "来源库位组", prop: 'fromLocationGroup' }, + { label: "目标库位组", prop: 'toLocationGroup' }, + { label: "来源ERP库位", prop: 'fromLocationErpCode' }, + { label: "目标ERP库位", prop: "toLocationErpCode" }, + { label: "来源仓库", prop: 'fromWarehouseCode' }, + { label: "目标仓库", prop: 'toWarehouseCode' }, + { label: "在途库位", prop: "onTheWayLocationCode" }, + { label: "原因", prop: 'reason' }, { label: "备注", prop: 'remark' }, + { label: "创建时间", prop: "creationTime",type:"dateTime" }, { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, - { label: "生效日期", prop: 'activeDate', type: "dateTime" }, - { label: "收货单号", prop: 'rpNumber' }, ] // 人工发料申请(注塑) diff --git a/fe/PC/src/utils/tableColumns/index.js b/fe/PC/src/utils/tableColumns/index.js index 65efe64a2..3baf36f16 100644 --- a/fe/PC/src/utils/tableColumns/index.js +++ b/fe/PC/src/utils/tableColumns/index.js @@ -4187,67 +4187,64 @@ export const callEmptyUtensilJob = [ { label: "优先级增量", prop: 'priorityIncrement' }, ] -// 完工转储申请 -export const completDumpRequest = [ - { label: "退货申请单号", +// 完工转储记录(注塑) +export const completDumpNoteZS = [ + { label: "记录单号", prop: "number", fixed: "left", type: "name", width: orderWidth }, - { label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" }, - { label: "创建时间", prop: "creationTime",type:"dateTime" }, - { label: "发货单号", prop: "asnNumber", width: orderWidth }, - { label: "订单号", prop: "poNumber",width: orderWidth }, - { label: "供应商代码", prop: "supplierCode" }, - { label: "退货时间", prop: "returnTime", type:"dateTime" }, + { label: "申请单号", prop: "requestNumber",width: orderWidth }, + { label: "任务单号", prop: 'jobNumber',width: orderWidth }, + { label: "使用中间库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" }, + { label: "是否确认", prop: "confirmed", type: "tagFilter", filters: "whetherOrNot" }, { label: "操作员", prop: "worker" }, { label: "备注", prop: 'remark' }, - { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, { label: "生效日期", prop: 'activeDate', type: "dateTime" }, - { label: "收货单号", prop: 'rpNumber' }, + { label: "确认时间", prop: "confirmTime",type:"dateTime" }, + { label: "创建时间", prop: "creationTime",type:"dateTime" }, + { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, ] -// 完工转储任务 -export const completDumpJob = [ - { label: "退货申请单号", +// 完工转储记录(喷涂) +export const completDumpNotePT = [ + { label: "记录单号", prop: "number", fixed: "left", type: "name", width: orderWidth }, - { label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" }, - { label: "创建时间", prop: "creationTime",type:"dateTime" }, - { label: "发货单号", prop: "asnNumber", width: orderWidth }, - { label: "订单号", prop: "poNumber",width: orderWidth }, - { label: "供应商代码", prop: "supplierCode" }, - { label: "退货时间", prop: "returnTime", type:"dateTime" }, + { label: "申请单号", prop: "requestNumber",width: orderWidth }, + { label: "任务单号", prop: 'jobNumber',width: orderWidth }, + { label: "使用中间库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" }, + { label: "是否确认", prop: "confirmed", type: "tagFilter", filters: "whetherOrNot" }, { label: "操作员", prop: "worker" }, { label: "备注", prop: 'remark' }, - { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, { label: "生效日期", prop: 'activeDate', type: "dateTime" }, - { label: "收货单号", prop: 'rpNumber' }, + { label: "确认时间", prop: "confirmTime",type:"dateTime" }, + { label: "创建时间", prop: "creationTime",type:"dateTime" }, + { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, ] -// 完工转储记录 -export const completDumpNote = [ - { label: "退货申请单号", +// 完工转储记录(装配) +export const completDumpNoteZP = [ + { label: "记录单号", prop: "number", fixed: "left", type: "name", width: orderWidth }, - { label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" }, - { label: "创建时间", prop: "creationTime",type:"dateTime" }, - { label: "发货单号", prop: "asnNumber", width: orderWidth }, - { label: "订单号", prop: "poNumber",width: orderWidth }, - { label: "供应商代码", prop: "supplierCode" }, - { label: "退货时间", prop: "returnTime", type:"dateTime" }, + { label: "申请单号", prop: "requestNumber",width: orderWidth }, + { label: "任务单号", prop: 'jobNumber',width: orderWidth }, + { label: "使用中间库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" }, + { label: "是否确认", prop: "confirmed", type: "tagFilter", filters: "whetherOrNot" }, { label: "操作员", prop: "worker" }, { label: "备注", prop: 'remark' }, - { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, { label: "生效日期", prop: 'activeDate', type: "dateTime" }, - { label: "收货单号", prop: 'rpNumber' }, + { label: "确认时间", prop: "confirmTime",type:"dateTime" }, + { label: "创建时间", prop: "creationTime",type:"dateTime" }, + { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, ] // 人工发料申请(注塑) diff --git a/fe/PC/src/utils/tabsDesTions/index.js b/fe/PC/src/utils/tabsDesTions/index.js index 3bc99d438..29aa832d8 100644 --- a/fe/PC/src/utils/tabsDesTions/index.js +++ b/fe/PC/src/utils/tabsDesTions/index.js @@ -3044,64 +3044,61 @@ export const callEmptyUtensilJob = [ { label: "优先级增量", prop: 'priorityIncrement' }, ] -// 完工转储申请 -export const completDumpRequest = [ - { label: "退货申请单号", +// 完工转储记录(注塑) +export const completDumpNoteZS = [ + { label: "记录单号", prop: "number", fixed: "left", type: "name", }, - { label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" }, - { label: "创建时间", prop: "creationTime",type:"dateTime" }, - { label: "发货单号", prop: "asnNumber" }, - { label: "订单号", prop: "poNumber" }, - { label: "供应商代码", prop: "supplierCode" }, - { label: "退货时间", prop: "returnTime", type:"dateTime" }, + { label: "申请单号", prop: "requestNumber" }, + { label: "任务单号", prop: 'jobNumber' }, + { label: "使用中间库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" }, + { label: "是否确认", prop: "confirmed", type: "tagFilter", filters: "whetherOrNot" }, { label: "操作员", prop: "worker" }, { label: "备注", prop: 'remark' }, - { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, { label: "生效日期", prop: 'activeDate', type: "dateTime" }, - { label: "收货单号", prop: 'rpNumber' }, + { label: "确认时间", prop: "confirmTime",type:"dateTime" }, + { label: "创建时间", prop: "creationTime",type:"dateTime" }, + { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, ] -// 完工转储任务 -export const completDumpJob = [ - { label: "退货申请单号", +// 完工转储记录(喷涂) +export const completDumpNotePT = [ + { label: "记录单号", prop: "number", fixed: "left", type: "name", }, - { label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" }, - { label: "创建时间", prop: "creationTime",type:"dateTime" }, - { label: "发货单号", prop: "asnNumber" }, - { label: "订单号", prop: "poNumber" }, - { label: "供应商代码", prop: "supplierCode" }, - { label: "退货时间", prop: "returnTime", type:"dateTime" }, + { label: "申请单号", prop: "requestNumber" }, + { label: "任务单号", prop: 'jobNumber' }, + { label: "使用中间库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" }, + { label: "是否确认", prop: "confirmed", type: "tagFilter", filters: "whetherOrNot" }, { label: "操作员", prop: "worker" }, { label: "备注", prop: 'remark' }, - { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, { label: "生效日期", prop: 'activeDate', type: "dateTime" }, - { label: "收货单号", prop: 'rpNumber' }, + { label: "确认时间", prop: "confirmTime",type:"dateTime" }, + { label: "创建时间", prop: "creationTime",type:"dateTime" }, + { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, ] -// 完工转储记录 -export const completDumpNote = [ - { label: "退货申请单号", +// 完工转储记录(装配) +export const completDumpNoteZP = [ + { label: "记录单号", prop: "number", fixed: "left", type: "name", }, - { label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" }, - { label: "创建时间", prop: "creationTime",type:"dateTime" }, - { label: "发货单号", prop: "asnNumber" }, - { label: "订单号", prop: "poNumber" }, - { label: "供应商代码", prop: "supplierCode" }, - { label: "退货时间", prop: "returnTime", type:"dateTime" }, + { label: "申请单号", prop: "requestNumber" }, + { label: "任务单号", prop: 'jobNumber' }, + { label: "使用中间库", prop: 'useOnTheWayLocation', type: "filter", filters: "whetherOrNot" }, + { label: "是否确认", prop: "confirmed", type: "tagFilter", filters: "whetherOrNot" }, { label: "操作员", prop: "worker" }, { label: "备注", prop: 'remark' }, - { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, { label: "生效日期", prop: 'activeDate', type: "dateTime" }, - { label: "收货单号", prop: 'rpNumber' }, + { label: "确认时间", prop: "confirmTime",type:"dateTime" }, + { label: "创建时间", prop: "creationTime",type:"dateTime" }, + { label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" }, ] // 人工发料申请(注塑) diff --git a/fe/PC/src/views/finishedProductManage/completDump/completDumpJob.vue b/fe/PC/src/views/finishedProductManage/completDump/completDumpJob.vue deleted file mode 100644 index fb19042e4..000000000 --- a/fe/PC/src/views/finishedProductManage/completDump/completDumpJob.vue +++ /dev/null @@ -1,309 +0,0 @@ - - - - - - - (displayDialog.detailsDialog = val)" - @drawerbutton="drawerbutton" - @close-value="closeValue" - :currenButtonData="currenButtonData" - :tableColumns="detailsTableColumns" - :totalCount="totalCountDetails" - :MaxResultCount="MaxResultCountDetails" - @alterResultCountDetails="alterResultCountDetails" - @alertoldSkipCountDetails="alertoldSkipCountDetails" - > - - - - \ No newline at end of file diff --git a/fe/PC/src/views/finishedProductManage/completDump/completDumpRequest.vue b/fe/PC/src/views/finishedProductManage/completDump/completDumpNotePT.vue similarity index 66% rename from fe/PC/src/views/finishedProductManage/completDump/completDumpRequest.vue rename to fe/PC/src/views/finishedProductManage/completDump/completDumpNotePT.vue index 8d9bdecfe..accaffee3 100644 --- a/fe/PC/src/views/finishedProductManage/completDump/completDumpRequest.vue +++ b/fe/PC/src/views/finishedProductManage/completDump/completDumpNotePT.vue @@ -24,18 +24,7 @@ :httpOverallSearchData="httpOverallSearchData" > - - - + (displayDialog.detailsDialog = val)" @close-value="closeValue" + @drawerbutton="drawerbutton" :tableColumns="detailsTableColumns" :totalCount="totalCountDetails" :MaxResultCount="MaxResultCountDetails" @@ -55,14 +44,15 @@ \ No newline at end of file diff --git a/fe/PC/src/views/finishedProductManage/deliver/FISDeliverNote-Query.vue b/fe/PC/src/views/finishedProductManage/deliver/FISDeliverNote-Query.vue index cb9ce6cef..3894d2d41 100644 --- a/fe/PC/src/views/finishedProductManage/deliver/FISDeliverNote-Query.vue +++ b/fe/PC/src/views/finishedProductManage/deliver/FISDeliverNote-Query.vue @@ -119,13 +119,6 @@ export default { drawerbutton (val) { // 打印 if(val == 'print'){ - let _option = { - details:{ - packingCode:"toPackingCode", - } - } - let data = initPrintAllData(this.tableDataDetails,'chdmxb.rdlx',false,_option); - this.Print(data) this.beforePrintHandle(()=>{ let _option = { details:{ diff --git a/fe/PC/src/views/finishedProductManage/deliver/FISDeliverRequest.vue b/fe/PC/src/views/finishedProductManage/deliver/FISDeliverRequest.vue index 984184f1f..914733c2d 100644 --- a/fe/PC/src/views/finishedProductManage/deliver/FISDeliverRequest.vue +++ b/fe/PC/src/views/finishedProductManage/deliver/FISDeliverRequest.vue @@ -33,7 +33,7 @@ :tabsDesTions="tabsDesTions" :Butttondata="DrawerButtonData" @drawerShut="(val) => (displayDialog.detailsDialog = val)" - @drawerbutton="drawerbutton" + @drawerbutton="drawerbuttonHandle" @handleCommand="drawerHandle" @close-value="closeValue" :tableColumns="detailsTableColumns" @@ -57,12 +57,18 @@ \ No newline at end of file diff --git a/fe/PC/src/views/finishedProductManage/dismantle/StepsFormTree/okk_currenTable.vue b/fe/PC/src/views/finishedProductManage/dismantle/StepsFormTree/okk_currenTable.vue new file mode 100644 index 000000000..eb3d9b0c8 --- /dev/null +++ b/fe/PC/src/views/finishedProductManage/dismantle/StepsFormTree/okk_currenTable.vue @@ -0,0 +1,542 @@ + + + + + + + + + + + + + 添加一行 + + 导入 + + 父级物料代码:{{ propsData.details[0].itemCode }} + + + + + + 删除 + + + + + + + + + + + + + {{ item.label }} + + 退出 + + + + + + + 重新提交 + 退出 + + + + + + + + \ No newline at end of file diff --git a/fe/PC/src/views/finishedProductManage/dismantle/StepsFormTree/okk_el.vue b/fe/PC/src/views/finishedProductManage/dismantle/StepsFormTree/okk_el.vue new file mode 100644 index 000000000..9ead6920b --- /dev/null +++ b/fe/PC/src/views/finishedProductManage/dismantle/StepsFormTree/okk_el.vue @@ -0,0 +1,548 @@ + + + + + + + + + + + + 父级物料代码:{{ propsData.details[0].itemCode }} + + + + + + + + + + + {filterOptionSelectHandle(item,props,val,scope)}" + @filterClearHandle="(item)=>{filterClearHandle(item,scope)}" + > + + + + + + + + + + + {{ item.label }} + + 退出 + + + + + + + 重新提交 + 退出 + + + + + + + + \ No newline at end of file diff --git a/fe/PC/src/views/finishedProductManage/dismantle/StepsFormTree/style/index.scss b/fe/PC/src/views/finishedProductManage/dismantle/StepsFormTree/style/index.scss new file mode 100644 index 000000000..88b964f31 --- /dev/null +++ b/fe/PC/src/views/finishedProductManage/dismantle/StepsFormTree/style/index.scss @@ -0,0 +1,142 @@ +#StepsFormTree { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + padding-bottom: 15px; + + ::v-deep .el-steps { + padding-bottom: 15px; + + .el-step__main { + .el-step__title { + line-height: 24px; + font-size: 14px; + } + } + } + + .page1 { + flex: 1; + display: flex; + flex-direction: column; + justify-content: space-between; + overflow: hidden; + overflow-y: auto; + } + + .page2 { + // flex: 1; + // display: flex; + // flex-direction: column; + // justify-content: space-between; + // // padding-bottom: 54px; + // overflow: hidden; + // overflow-y: auto; + height: calc(100% - 95px); + + ::v-deep .el-form { + flex: 1; + display: flex; + height: 100%; + .el-row { + display: none; + } + + .formTable-box { + flex: 1; + overflow: hidden; + overflow-y: auto; + + .el-form-item__content { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + margin: 0 !important; + + .heder { + padding: 5px 0; + text-align: center; + font-size: 18px; + + button{ + margin: 0 10px; + } + } + + .el-table { + flex: 1; + + .cell { + display:flex !important + } + + .childTable { + display: flex; + justify-content: space-around; + + span { + cursor: pointer; + + &:nth-child(1) { + color: red; + } + + &:nth-child(2) { + color: green; + } + } + } + } + } + } + } + + ::v-deep .formButton { + // position: absolute; + // bottom: 0; + // right: 0; + z-index: 3; + } + } + + .page3 { + flex: 1; + display: flex; + flex-direction: column; + // padding-bottom: 54px; + overflow: hidden; + overflow-y: auto; + + ::v-deep .el-form { + flex: 1; + display: flex; + flex-direction: column; + + .el-row { + flex: 1; + flex-wrap: wrap; + } + + .formTable-box { + margin-bottom: 0; + // flex: 1; + + .el-form-item__content { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + margin: 0 !important; + } + } + } + ::v-deep .formButton { + // position: absolute; + // bottom: 0; + // right: 0; + z-index: 3; + } + } +} diff --git a/fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob-old.vue b/fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob-old.vue index 1d45443b7..ed5f12ec9 100644 --- a/fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob-old.vue +++ b/fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob-old.vue @@ -66,7 +66,7 @@ import { getDetailed, getPageList, - getBomByComponentTree, + getBomByComponentList, productRecycleNoteExport, productionRecycleJobHandle, // productionRecycleJobComplete @@ -337,7 +337,7 @@ export default { this.Loading.appMainLoading = true // 获取接口生成bom列表 let _itemInfo = this.propsData.details[0] - getBomByComponentTree(_itemInfo.itemCode) + getBomByComponentList(_itemInfo.itemCode) .then(res=>{ this.bomList = res this.Loading.appMainLoading = false diff --git a/fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob.vue b/fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob.vue index 1d45443b7..3276554dc 100644 --- a/fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob.vue +++ b/fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob.vue @@ -44,7 +44,9 @@ :firstTabs="firstTabs" > - + >