From ad2437550eb0c8f3c3c8736df1a38a713f920ec2 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期五, 15 十二月 2023 10:13:40 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before

---
 src/views/quality/processInspect/index.vue |   34 +++++++++++++++++++++++++---------
 1 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/src/views/quality/processInspect/index.vue b/src/views/quality/processInspect/index.vue
index 2f8ca18..2fddf58 100644
--- a/src/views/quality/processInspect/index.vue
+++ b/src/views/quality/processInspect/index.vue
@@ -56,12 +56,28 @@
                     column: [
                         {
                             minWidth: '120',
-                            prop: 'orderNumber',
-                            label: '璁㈠崟缂栧彿',
+                            prop: 'proInsNo',
+                            label: '杩囩▼妫�楠岀紪鍙�',
                             isTrue: true,
                             isSearch: true,
                             searchInfoType: 'text',
                             render: { fun: this.addOrUpdateHandle }
+                        },
+                        {
+                            minWidth: '120',
+                            prop: 'orderNumber',
+                            label: '璁㈠崟缂栧彿',
+                            isTrue: true,
+                            isSearch: true,
+                            searchInfoType: 'text'
+                        },
+                        {
+                            minWidth: '120',
+                            prop: 'materialCode',
+                            label: '浜у搧缂栧彿',
+                            isTrue: true,
+                            isSearch: true,
+                            searchInfoType: 'text'
                         },
                         {
                             minWidth: '120',
@@ -152,10 +168,10 @@
                         type: 'primary',
                         fun: this.addOrUpdateHandle
                     },
-                    {
-                        text: '瀵煎嚭',
-                        fun: this.exportExcel
-                    }
+                    // {
+                    //     text: '瀵煎嚭',
+                    //     fun: this.exportExcel
+                    // }
                     ],
                     operator: [{
                         text: '浣滃簾',
@@ -177,7 +193,6 @@
             exportExcel(){
                 let queryParam=this.$refs.processInspect.getQueryParam();
                 delete queryParam.criteria
-                console.log(queryParam);
                 exportProcessInsProduct(queryParam).then((res)=>{
                     transform(res)
                 })
@@ -202,8 +217,9 @@
 			addOrUpdateHandle(row) {
 				this.$router.push({
 					name: 'processInspectForm',
-					query: { id: row == null ? null : row.id,resultVal : row == null ? null : row.result },
-				})
+					query: { id: row == null ? null : row.id },
+                    params: { resultVal : row == null ? null : row.result }
+                })
 			},
             formatResult(row, column, cellValue){
                 if(cellValue != undefined || cellValue != null){

--
Gitblit v1.9.3