From 4062e6df79a5a0a02ddcb05162916b257d61f0c7 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期日, 28 四月 2024 15:04:30 +0800
Subject: [PATCH] 设置满勤,设置野纤生丝标准 2个模块保存接口增加对应的id

---
 src/views/productManage/silkRegisterForm/addPage.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/views/productManage/silkRegisterForm/addPage.vue b/src/views/productManage/silkRegisterForm/addPage.vue
index fa97898..b923be7 100644
--- a/src/views/productManage/silkRegisterForm/addPage.vue
+++ b/src/views/productManage/silkRegisterForm/addPage.vue
@@ -181,6 +181,7 @@
               :detail-enter="isView ? true : false"
               :selectBox="false"
               :detailEnter="true"
+              :isBorder="true"
               :show-summary="showSummary"
               :product-table-list="tableList"
               @inputContent="inputContent"
@@ -251,6 +252,8 @@
               tooltip-effect="dark"
               style="width: 100%"
               :height="'calc(100% - 0px)'"
+              :header-cell-style="{ background: '#f1f3f8',color: '#000009', 'font-size': '12px', 'font-family': 'PingFangSC' }"
+              border
             >
               <el-table-column label="杞﹀彿" prop="ID" width="100">
               </el-table-column>
@@ -606,7 +609,7 @@
                   JSON.stringify(response.data ? response.data : {})
                 );
                 this.form = config;
-                this.getGroupNumber()
+                this.getGroupNumber('','edit')
                 let finenessList=config.finenessList
                   ? config.finenessList
                   : [];
@@ -762,7 +765,7 @@
         }
       });
     },
-    async getGroupNumber(val) {
+    async getGroupNumber(val,type) {
       if (this.form.name) {
         //缁勫埆
         let number = "";
@@ -789,8 +792,8 @@
             }
           })
         }
-        if(this.form.workshopGroup&&this.form.market){
-            getCarNumber({
+        if(this.form.workshopGroup&&this.form.market&&type!='edit'){
+          await  getCarNumber({
               workshopName:this.form.name,
               marketName:this.form.market,
               groupNumber:this.form.workshopGroup,

--
Gitblit v1.8.0