From 7790aa0ad0f37fab2700d35c0d9e2ee869ecba9c Mon Sep 17 00:00:00 2001 From: cuijian <cuijian@xalxzn.com> Date: 星期二, 03 六月 2025 09:09:47 +0800 Subject: [PATCH] 入库新增 --- src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue | 58 ++++++++++++++++++++++------------------------------------ 1 files changed, 22 insertions(+), 36 deletions(-) diff --git a/src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue b/src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue index f83c694..317b880 100644 --- a/src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue +++ b/src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue @@ -78,43 +78,37 @@ { title: '宸ュ叿缂栫爜', align: 'center', - dataIndex: 'toolingNum', + dataIndex: 'toolCode', + sorter: true, + }, + { + title: '宸ュ叿缂栧彿', + align: 'center', + dataIndex: 'toolNum', sorter: true, }, { title: '宸ュ叿鍚嶇О', align: 'center', - dataIndex: 'toolingName', + dataIndex: 'toolName', + sorter: true, + }, + { + title: '宸ュ叿绫诲瀷', + align: 'center', + dataIndex: 'applicationTypeName', sorter: true, }, { - title: '鍞竴缂栫爜', + title: '鍨嬪彿/鍥惧彿', align: 'center', - dataIndex: 'onlyCode', + dataIndex: 'toolModel', sorter: true, }, - { - title: '鍏ュ簱鏁伴噺', + { + title: '鏁伴噺', align: 'center', - dataIndex: 'inStorageQuantity', - sorter: true, - }, - { - title: '宸ュ叿鍒嗙被', - align: 'center', - dataIndex: 'toolingCategoryName', - sorter: true, - }, - { - title: '瑙勬牸鍨嬪彿', - align: 'center', - dataIndex: 'model', - sorter: true, - }, - { - title: '鍗曚綅', - align: 'center', - dataIndex: 'unitName', + dataIndex: 'quantity', sorter: true, }, ], @@ -135,16 +129,12 @@ showSizeChanger: true, total: 0, }, - isorter: { - column: 'num', - order: 'desc', - }, departTree: [], visible: false, loading: false, url: { // list: '/base/tooling/list', - list: '/sharpen/sharpenDetail/querySharpenList', + list: '/tms/toolLedgerDetail/list', }, } }, @@ -175,7 +165,7 @@ let that = this this.loading = true let params = this.getQueryParams() //鏌ヨ鏉′欢 - params["sharpenStatus"] = 1 + params["status"] = "5" await getAction(this.url.list, params).then((res) => { if (res.success) { for (let i = 0; i < res.result.records.length; i++) { @@ -200,7 +190,7 @@ this.loadData(1) }, getQueryParams() { - let param = Object.assign({}, this.queryParam, this.isorter) + let param = Object.assign({}, this.queryParam) param.field = this.getQueryField() param.pageNo = this.ipagination.current param.pageSize = this.ipagination.pageSize @@ -228,10 +218,6 @@ }, handleTableChange(pagination, filters, sorter) { //TODO 绛涢�� - if (Object.keys(sorter).length > 0) { - this.isorter.column = sorter.field - this.isorter.order = 'ascend' === sorter.order ? 'asc' : 'desc' - } this.ipagination = pagination this.loadData() }, -- Gitblit v1.9.3