From 2f519ead537a0b38019bbf64a6075cbb6e08f9b4 Mon Sep 17 00:00:00 2001
From: hyingbo <1363390067@qq.com>
Date: 星期三, 09 七月 2025 13:53:01 +0800
Subject: [PATCH] 车间大屏看板设置设备默认图片

---
 src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue |   52 ++++++++++++++++++++++------------------------------
 1 files changed, 22 insertions(+), 30 deletions(-)

diff --git a/src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue b/src/views/tms/modules/inboundOrder/JSelectSharpenListModal.vue
index f83c694..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: {},
@@ -78,43 +82,37 @@
         {
           title: '宸ュ叿缂栫爜',
           align: 'center',
-          dataIndex: 'toolingNum',
+          dataIndex: 'toolCode',
           sorter: true,
         },
         {
-          title: '宸ュ叿鍚嶇О',
-          align: 'center',
-          dataIndex: 'toolingName',
-          sorter: true,
-        },
-        {
-          title: '鍞竴缂栫爜',
+          title: '宸ュ叿缂栧彿',
           align: 'center',
           dataIndex: 'onlyCode',
           sorter: true,
         },
         {
-          title: '鍏ュ簱鏁伴噺',
+          title: '宸ュ叿鍚嶇О',
           align: 'center',
-          dataIndex: 'inStorageQuantity',
+          dataIndex: 'chineseName',
           sorter: true,
         },
         {
-          title: '宸ュ叿鍒嗙被',
+          title: '宸ュ叿绫诲瀷',
           align: 'center',
-          dataIndex: 'toolingCategoryName',
+          dataIndex: 'applicationTypeName',
           sorter: true,
         },
         {
-          title: '瑙勬牸鍨嬪彿',
+          title: '鍨嬪彿/鍥惧彿',
           align: 'center',
-          dataIndex: 'model',
+          dataIndex: 'toolModel',
           sorter: true,
         },
-        {
-          title: '鍗曚綅',
+         {
+          title: '鏁伴噺',
           align: 'center',
-          dataIndex: 'unitName',
+          dataIndex: 'quantity',
           sorter: true,
         },
       ],
@@ -135,17 +133,14 @@
         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/querySharpenTool',
       },
+      classifyId:''
     }
   },
   computed: {
@@ -175,11 +170,12 @@
       let that = this
       this.loading = true
       let params = this.getQueryParams() //鏌ヨ鏉′欢
-      params["sharpenStatus"] = 1
+      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
@@ -200,7 +196,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 +224,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