From e80c672ac136b3171a74b1728431b9537b6eeb7d Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 08 五月 2024 16:49:22 +0800
Subject: [PATCH] 1. 圣沣 同步 U8 数据

---
 src/views/materialManager/inventoryList.vue |  120 ++++++++++++++++++++++++++++++-----------------------------
 1 files changed, 61 insertions(+), 59 deletions(-)

diff --git a/src/views/materialManager/inventoryList.vue b/src/views/materialManager/inventoryList.vue
index 30808b4..f056c08 100644
--- a/src/views/materialManager/inventoryList.vue
+++ b/src/views/materialManager/inventoryList.vue
@@ -14,18 +14,18 @@
               <div style="margin-left: 8px;">瀛樿揣妗f</div>
             </div>
 
-            <div style="margin-right:10px">
-              <el-tooltip v-del-tab-index class="item" effect="dark" content="鏂板" placement="top">
-                <i class="el-icon-plus" style="cursor: pointer;color: #999" @click="treeAddClick('add')" />
-              </el-tooltip>
-            </div>
+            <!--            <div style="margin-right:10px">-->
+            <!--              <el-tooltip v-del-tab-index class="item" effect="dark" content="鏂板" placement="top">-->
+            <!--                <i class="el-icon-plus" style="cursor: pointer;color: #999" @click="treeAddClick('add')" />-->
+            <!--              </el-tooltip>-->
+            <!--            </div>-->
 
           </div>
 
           <el-tree
             ref="treeLeftRef"
             style="padding: 10px;overflow: auto"
-            :style="{height:(tableHeight+222)+'px'}"
+            :style="{height:(tableHeight+192)+'px'}"
             :data="treeLeft"
             node-key="code"
             highlight-current
@@ -34,42 +34,44 @@
             :expand-on-click-node="false"
             @node-click="getTMaterielData"
           >
-            <span slot-scope="{ node, data }" class="custom-tree-node">
-              <span v-if="!data.isEdit">{{ data.name }}</span>
-              <span v-if="!data.isEdit">
-                <el-tooltip v-del-tab-index class="item" effect="dark" content="缂栬緫" placement="top">
-                  <i
-                    v-if="data.code!=='-1'"
-                    class="el-icon-edit"
-                    style="margin-right:10px;color: #999"
-                    @click.stop="treeEditClick(node,data,'edit')"
-                  />
-                </el-tooltip>
-                <el-tooltip v-del-tab-index class="item" effect="dark" content="鍒犻櫎" placement="top">
-                  <i
-                    v-if="data.code!=='-1'"
-                    class="el-icon-delete"
-                    style="margin-right: 4px;color: #999"
-                    @click.stop="treeDeleteClick(node,data)"
-                  />
-                </el-tooltip>
-              </span>
-            </span>
+            <!--            <span slot-scope="{ node, data }" class="custom-tree-node">-->
+            <!--              <span v-if="!data.isEdit">{{ data.name }}</span>-->
+            <!--              <span v-if="!data.isEdit">-->
+            <!--                <el-tooltip v-del-tab-index class="item" effect="dark" content="缂栬緫" placement="top">-->
+            <!--                  <i-->
+            <!--                    v-if="data.code!=='-1'"-->
+            <!--                    class="el-icon-edit"-->
+            <!--                    style="margin-right:10px;color: #999"-->
+            <!--                    @click.stop="treeEditClick(node,data,'edit')"-->
+            <!--                  />-->
+            <!--                </el-tooltip>-->
+            <!--                <el-tooltip v-del-tab-index class="item" effect="dark" content="鍒犻櫎" placement="top">-->
+            <!--                  <i-->
+            <!--                    v-if="data.code!=='-1'"-->
+            <!--                    class="el-icon-delete"-->
+            <!--                    style="margin-right: 4px;color: #999"-->
+            <!--                    @click.stop="treeDeleteClick(node,data)"-->
+            <!--                  />-->
+            <!--                </el-tooltip>-->
+            <!--              </span>-->
+            <!--            </span>-->
           </el-tree>
         </div>
 
         <div
           style=" width:calc(100% - 300px);"
         >
-          <div class="bodyTopButtonGroup" style="justify-content: space-between">
-            <el-button v-waves type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">鏂板</el-button>
-            <div style="display: flex">
-              <el-button v-waves type="success" icon="el-icon-download" @click="$router.push('./../systemSetting/dataImport?fileCode=8')">瀵煎叆</el-button>
-              <el-button v-waves icon="el-icon-refresh-right" @click="syncERP">鍚屾瀛樿揣妗f</el-button>
-            </div>
+          <div class="bodyTopButtonGroup" style="justify-content: end">
+            <!--                      <el-button v-waves type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">鏂板</el-button>-->
+            <!--                      <div style="display: flex">-->
+            <!--                        <el-button v-waves type="success" icon="el-icon-download" @click="$router.push('./../systemSetting/dataImport?fileCode=8')">瀵煎叆</el-button>-->
+            <!--                        <el-button v-waves icon="el-icon-refresh-right" @click="syncERP">鍚屾瀛樿揣妗f</el-button>-->
+            <!--                      </div>-->
+            <el-button v-waves icon="el-icon-refresh-right" @click="syncERP">鍚屾瀛樿揣妗f</el-button>
+
           </div>
 
-          <div class="bodyTopFormGroup">
+          <div class="bodyTopFormGroup" style="margin-top: 10px">
             <el-form
               ref="form"
               :model="form"
@@ -236,30 +238,30 @@
                 width="160"
               />
 
-              <el-table-column
-                label="鎿嶄綔"
-                width="120"
-                fixed="right"
-              >
-                <template slot-scope="{row}">
-                  <div class="operationClass">
-                    <el-tooltip class="item" effect="dark" content="缂栬緫" placement="top">
-                      <i
-                        class="el-icon-edit-outline"
-                        :style="{color:$store.state.settings.theme}"
-                        @click="edit('edit',row)"
-                      />
-                    </el-tooltip>
-                    <el-tooltip v-del-tab-index class="item" effect="dark" content="鍒犻櫎" placement="top">
-                      <i
-                        class="el-icon-delete"
-                        :style="{color:$store.state.settings.theme}"
-                        @click="del(row)"
-                      />
-                    </el-tooltip>
-                  </div>
-                </template>
-              </el-table-column>
+              <!--              <el-table-column-->
+              <!--                label="鎿嶄綔"-->
+              <!--                width="120"-->
+              <!--                fixed="right"-->
+              <!--              >-->
+              <!--                <template slot-scope="{row}">-->
+              <!--                  <div class="operationClass">-->
+              <!--                    <el-tooltip class="item" effect="dark" content="缂栬緫" placement="top">-->
+              <!--                      <i-->
+              <!--                        class="el-icon-edit-outline"-->
+              <!--                        :style="{color:$store.state.settings.theme}"-->
+              <!--                        @click="edit('edit',row)"-->
+              <!--                      />-->
+              <!--                    </el-tooltip>-->
+              <!--                    <el-tooltip v-del-tab-index class="item" effect="dark" content="鍒犻櫎" placement="top">-->
+              <!--                      <i-->
+              <!--                        class="el-icon-delete"-->
+              <!--                        :style="{color:$store.state.settings.theme}"-->
+              <!--                        @click="del(row)"-->
+              <!--                      />-->
+              <!--                    </el-tooltip>-->
+              <!--                  </div>-->
+              <!--                </template>-->
+              <!--              </el-table-column>-->
             </el-table>
           </div>
 
@@ -743,7 +745,7 @@
     getHeight() {
       this.$nextTick(() => {
         this.mainHeight = window.innerHeight - 85
-        this.tableHeight = this.mainHeight - 280
+        this.tableHeight = this.mainHeight - 290
         this.$refs.tableDataRef.doLayout()
       })
     },

--
Gitblit v1.9.3