From c0ae2d732eb9fc13d3cfc0c2f2f2ab71d2592ac6 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 30 一月 2023 12:49:13 +0800
Subject: [PATCH] 1.存货档案 对话框新增 高级设置属性

---
 src/views/scgl/gd.vue |   37 ++++++++++++++++++++++++++-----------
 1 files changed, 26 insertions(+), 11 deletions(-)

diff --git a/src/views/scgl/gd.vue b/src/views/scgl/gd.vue
index e87c583..4e03823 100644
--- a/src/views/scgl/gd.vue
+++ b/src/views/scgl/gd.vue
@@ -17,10 +17,10 @@
           :model="form"
           label-width="100px"
           inline
-          style="display: flex;justify-content: space-between"
+          style="display: flex;"
         >
           <div class="elForm">
-            <el-form-item label-width="70px" label="璁㈠崟鐘舵��" style=" display: flex;">
+            <el-form-item label="璁㈠崟鐘舵��" style=" display: flex;">
               <el-select
                 v-model="form.mesorderstus"
                 :popper-append-to-body="false"
@@ -59,7 +59,7 @@
                 />
               </el-select>
             </el-form-item>
-            <el-form-item v-show="isExpandForm" label-width="70px" label="浜у搧缂栫爜" style=" display: flex;">
+            <el-form-item v-show="isExpandForm" label="浜у搧缂栫爜" style=" display: flex;">
               <el-input v-model="form.partcode" style="width: 200px" placeholder="璇疯緭鍏�" />
             </el-form-item>
             <el-form-item v-show="isExpandForm" label="浜у搧鍚嶇О" style=" display: flex;">
@@ -71,7 +71,7 @@
             <el-form-item v-show="isExpandForm" label="鍒涘缓浜哄憳" style=" display: flex;">
               <el-input v-model="form.creatuser" style="width: 200px" placeholder="璇疯緭鍏�" />
             </el-form-item>
-            <el-form-item v-show="isExpandForm" label-width="70px" label="鍒涘缓鏃堕棿" style=" display: flex;">
+            <el-form-item v-show="isExpandForm" label="鍒涘缓鏃堕棿" style=" display: flex;">
               <!--              <el-date-picker-->
               <!--                v-model="form.createdate"-->
               <!--                type="daterange"-->
@@ -93,7 +93,7 @@
             </el-form-item>
           </div>
 
-          <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}">
+          <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened? $store.state.settings.menuIsHorizontal?'15%':'3%':'10%'}">
             <el-button type="primary" icon="el-icon-search" @click="search">鏌ヨ</el-button>
             <el-button type="info" icon="el-icon-refresh" @click="reset">閲嶇疆</el-button>
           </div>
@@ -339,13 +339,14 @@
                   <!--                    @click="check(row)"-->
                   <!--                  />-->
                   <i
+                    :style="{color:$store.state.settings.theme}"
                     class="el-icon-tickets"
-                    style="cursor: pointer;color: #42b983;margin-right: 15px"
+                    style="cursor: pointer;margin-right: 15px"
                     @click="handlePrint(row.wo_code)"
                   />
                 </el-tooltip>
                 <el-tooltip v-del-tab-index class="item" effect="dark" content="鍒犻櫎" placement="top">
-                  <i class="el-icon-delete" @click="del(row)" />
+                  <i class="el-icon-delete" :style="{color:$store.state.settings.theme}" @click="del(row)" />
                 </el-tooltip>
               </div>
             </template>
@@ -442,7 +443,8 @@
                 <el-tooltip class="item" effect="dark" content="鎵撳嵃宸ュ簭" placement="top">
                   <i
                     class="el-icon-tickets"
-                    style="cursor: pointer;color: #42b983;margin-right: 15px"
+                    :style="{color:$store.state.settings.theme}"
+                    style="cursor: pointer;margin-right: 15px"
                     @click="supplementSmallClick(row)"
                   />
                 </el-tooltip>
@@ -454,6 +456,7 @@
     </div>
     <!--鏂板娲惧彂瀵硅瘽妗�-->
     <el-dialog
+      v-el-drag-dialog
       :title="operation==='add'?'鏂板':'娲惧彂'"
       :visible.sync="dialogVisible"
       width="840px"
@@ -750,6 +753,7 @@
 
     <!-- 宸ュ簭浠诲姟瀵硅瘽妗�-->
     <el-dialog
+      v-el-drag-dialog
       title="宸ュ簭浠诲姟"
       :visible.sync="dialogVisibleTask"
       width="840px"
@@ -844,6 +848,7 @@
 
     <!-- 婧愬崟鍗曞彿瀵硅瘽妗�-->
     <el-dialog
+      v-el-drag-dialog
       title="婧愬崟鍗曞彿"
       :visible.sync="dialogVisibleSource"
       width="1200px"
@@ -968,6 +973,7 @@
           :header-cell-style="this.$headerCellStyle"
           :cell-style="this.$cellStyle"
           @sort-change="sourceSortChange"
+          @row-click="getCurrentRowSource"
         >
           <!--          <el-table-column-->
           <!--            type="selection"-->
@@ -982,8 +988,8 @@
                 v-model="radioSelectedId"
                 :label="row.id"
                 style="color: transparent;padding-left: 10px;"
-                @change.native="getCurrentRowSource(row.id)"
               />
+              <!--              @change.native="getCurrentRowSource(row.id)"-->
             </template>
           </el-table-column>
           <el-table-column
@@ -1153,6 +1159,7 @@
 
     <!--鎵撳嵃棰勮瀵硅瘽妗�  澶ф爣绛�-->
     <el-dialog
+      v-el-drag-dialog
       title=""
       :visible.sync="dialogVisibleApprove"
       width="812px"
@@ -1298,6 +1305,7 @@
 
     <!--鎵撳嵃棰勮椤甸潰  灏忔爣绛�-->
     <el-dialog
+      v-el-drag-dialog
       title="棰勮"
       :visible.sync="dialogVisible2"
       width="1140"
@@ -1523,6 +1531,7 @@
 
     <!--    宸ヨ壓璺嚎瀵硅瘽妗�-->
     <el-dialog
+      v-el-drag-dialog
       :close-on-click-modal="false"
       title="鍏宠仈宸ヨ壓璺嚎"
       :visible.sync="dialogVisibleRoute"
@@ -1658,12 +1667,14 @@
 import { urlAddRandomNo, webapp_ws_ajax_run, webapp_ws_autoupdate } from '@/utils/grwebapp'
 import QRCode from 'qrcodejs2'
 import $ from 'jquery'
+import elDragDialog from '@/directive/el-drag-dialog'
 
 export default {
   name: 'GD',
   components: {
     Pagination
   },
+  directives: { elDragDialog },
   data() {
     return {
       mouseHoverType: 'mouseout',
@@ -2504,8 +2515,12 @@
       this.sourceFormTotal = res.count
     },
     // 鍗曢�夋閫変腑鑾峰彇褰撳墠琛屼俊鎭�
-    getCurrentRowSource(id) {
-      this.radioSelectedId = id
+    // getCurrentRowSource2(id) {
+    //   this.radioSelectedId = id
+    // },
+    // 鍗曢�夋閫変腑鑾峰彇褰撳墠琛屼俊鎭�
+    getCurrentRowSource(row, event, column) {
+      this.radioSelectedId = row.id
     },
     sourceSearch() {
       this.getErpOrderSearch()

--
Gitblit v1.9.3