From 34b44ef04091bdf3c7d97cf94d0f3d2fc8bfa031 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期二, 19 十二月 2023 09:26:04 +0800
Subject: [PATCH] 	modified:   src/views/plan/manufacturingorder/index.vue 	modified:   vue.config.js

---
 src/views/technology/structure/index.vue |   75 +++++++++++--------------------------
 1 files changed, 22 insertions(+), 53 deletions(-)

diff --git a/src/views/technology/structure/index.vue b/src/views/technology/structure/index.vue
index d3a6693..53ae977 100644
--- a/src/views/technology/structure/index.vue
+++ b/src/views/technology/structure/index.vue
@@ -47,44 +47,12 @@
                 multiple
               >
                 <i class="el-icon-upload"></i>
-                <div class="el-upload__text"><em>瀵煎叆瑁呭鏁版嵁</em></div>
+                <div class="el-upload__text"><em>瀵煎叆浜у搧缁撴瀯</em></div>
                 <div class="el-upload__tip" slot="tip">
                   鍙兘涓婁紶xlsx/xls鏂囦欢锛屼笖涓嶈秴杩�10M<el-button
                     type="text"
                     style="font-size:12px;"
-                    @click="downZhuangbeiDataTemplate"
-                    >涓嬭浇妯℃澘</el-button
-                  >
-                </div>
-              </el-upload>
-            </div>
-            <div>
-              <el-upload
-                style="margin-left:8px;display: inline;"
-                class="upload-demo"
-                drag
-                :headers="headers"
-                :action="shepinUploadInfo.url"
-                :beforeUpload="beforeAvatarUpload"
-                :limit="1"
-                :show-file-list="false"
-                :file-list="shepinfileList"
-                :data="shepinUploadInfo.uploadData"
-                :on-success="shepinFileSuccessUploadScan"
-                :on-error="handleError"
-                accept=".xlsx,.xls,.csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
-                :auto-upload="true"
-                ref="shepinUploadScan"
-                multiple
-              >
-                <i class="el-icon-upload"></i>
-                <div class="el-upload__text"><em>瀵煎叆灏勯鏁版嵁</em></div>
-                <div class="el-upload__tip" slot="tip">
-                  鍙兘涓婁紶xlsx/xls鏂囦欢锛屼笖涓嶈秴杩�10M<el-button
-                    type="text"
-                    style="font-size:12px;"
-                    @click="downShepinDataTemplate"
-                    >涓嬭浇妯℃澘</el-button
+                    ></el-button
                   >
                 </div>
               </el-upload>
@@ -130,7 +98,7 @@
       uploadInfo: {
         // 鏄惁灞曠ず涓婁紶EXCEL浠ュ強瀵瑰簲鐨剈rl
         isShow: true,
-        url: '/mes/structure/uploadExt'
+        url: '/mes/structure/uploadExcelPlus'
       },
       prelang: 'structure',
       options: {
@@ -185,19 +153,19 @@
             searchInfoType: 'text'
           },
           // 缁撴瀯绫诲瀷
-          {
-            minWidth: '120',
-            prop: 'bomTypeDb',
-            label: '缁撴瀯绫诲瀷',
-            sort: true,
-            isTrue: true,
-            isSearch: true,
-            searchInfoType: 'select',
-            formatter: this.formatBomTypeDbType,
-            optList: () => {
-              return this.bomTypeDbOptions
-            }
-          },
+          // {
+          //   minWidth: '120',
+          //   prop: 'bomTypeDb',
+          //   label: '缁撴瀯绫诲瀷',
+          //   sort: true,
+          //   isTrue: true,
+          //   isSearch: true,
+          //   searchInfoType: 'select',
+          //   formatter: this.formatBomTypeDbType,
+          //   optList: () => {
+          //     return this.bomTypeDbOptions
+          //   }
+          // },
           // 鏇夸唬
           // {
           //   minWidth: '120',
@@ -235,7 +203,7 @@
             }
           },
           // 鏄惁涓洪粯璁ょ粨鏋�
-          {
+          /* {
             minWidth: '120',
             prop: 'master',
             label: '榛樿缁撴瀯',
@@ -249,7 +217,7 @@
             formatter: (row, column, cellValue) => {
               return cellValue == true ? '鏄�' : '鍚�'
             }
-          },
+          }, */
           // 鎻忚堪
           {
             minWidth: '120',
@@ -326,7 +294,7 @@
       zhuangbeiUploadInfo: {
         // 鏄惁灞曠ず涓婁紶EXCEL浠ュ強瀵瑰簲鐨剈rl
         isShow: true,
-        url: '/mes/structure/uploadExt'
+        url: '/mes/structure/uploadExcelPlus'
       },
       zhuangbeifileList: [],
       shepinfileList: [],
@@ -487,8 +455,9 @@
         this.$message.warning(response.msg)
       } else {
         this.$message({
-          message: '涓婁紶鎴愬姛',
-          type: 'success'
+          message: response.data,
+          type: 'success',
+          dangerouslyUseHTMLString: true
         })
         this.getData()
       }

--
Gitblit v1.9.3