From 34feb4908ec7b7e5b51adf6355603978c67bd3a4 Mon Sep 17 00:00:00 2001 From: cuijian <cuijian@xalxzn.com> Date: 星期四, 05 六月 2025 09:53:14 +0800 Subject: [PATCH] 申请单入库 --- src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue b/src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue index 317b880..0b22be9 100644 --- a/src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue +++ b/src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue @@ -60,7 +60,11 @@ export default { name: 'JSelectToolingModal', components: {}, - props: {}, + props: { + classifyId:{ + type:String + } + }, data() { return { queryParam: {}, @@ -84,16 +88,16 @@ { title: '宸ュ叿缂栧彿', align: 'center', - dataIndex: 'toolNum', + dataIndex: 'onlyCode', sorter: true, }, { title: '宸ュ叿鍚嶇О', align: 'center', - dataIndex: 'toolName', + dataIndex: 'chineseName', sorter: true, }, - { + { title: '宸ュ叿绫诲瀷', align: 'center', dataIndex: 'applicationTypeName', @@ -134,8 +138,9 @@ loading: false, url: { // list: '/base/tooling/list', - list: '/tms/toolLedgerDetail/list', + list: '/tms/toolLedgerDetail/querySharpenTool', }, + classifyId:'' } }, computed: { @@ -165,11 +170,12 @@ let that = this this.loading = true let params = this.getQueryParams() //鏌ヨ鏉′欢 - params["status"] = "5" + params.status = "5" + params.classifyId = this.classifyId await getAction(this.url.list, params).then((res) => { if (res.success) { for (let i = 0; i < res.result.records.length; i++) { - if (that.oldSlelectRows.indexOf(res.result.records[i].toolingId) > -1) { + if (that.oldSlelectRows.indexOf(res.result.records[i].id) > -1) { res.result.records[i].distable = true } else { res.result.records[i].distable = false -- Gitblit v1.9.3