qukaidi 4 anni fa
parent
commit
b40aca8ed7

+ 1 - 1
src/App.vue

@@ -43,6 +43,6 @@ export default {
     margin-bottom: 10px !important;
 }
 .el-dialog__body {
-    padding: 10px 30px 30px 30px;
+  padding: 10px 30px 30px 30px !important;
 }
 </style>

+ 3 - 2
src/views/Warehousing/inStock/AddOrUpdate.vue

@@ -783,6 +783,7 @@
       :visible.sync="showSetting"
       width="700px"
       v-dialogDrag
+      :close-on-click-modal="false"
     >
       <template slot="title">
         <div class="avue-crud__dialog__header">
@@ -946,8 +947,8 @@
             @selection-change="Selectinventory"
             show-summary
           >
-            <el-table-column type="selection" width="55" align="center" fixed />
-            <el-table-column label="序号" type="index" width="80" fixed />
+            <el-table-column type="selection" width="50" align="center" fixed />
+            <el-table-column label="序号" type="index" width="50" fixed align="center"/>
             <el-table-column
               v-for="(item, index) in getRowList"
               :key="index"

+ 1 - 0
src/views/Warehousing/inStock/index.vue

@@ -309,6 +309,7 @@
         :visible.sync="showSetting"
         width="700px"
         v-dialogDrag
+        :close-on-click-modal="false"
       >
         <template slot="title">
           <div class="avue-crud__dialog__header">

+ 33 - 22
src/views/Warehousing/outStock/AddOrUpdate.vue

@@ -618,6 +618,7 @@
       :visible.sync="showSetting"
       width="700px"
       v-dialogDrag
+      :close-on-click-modal="false"
     >
       <template slot="title">
         <div class="avue-crud__dialog__header">
@@ -811,7 +812,7 @@
                   </el-date-picker>
                 </span>
                 <span v-else-if="item.label == 'fGoodsid'">
-                  {{ scope.row.fGoodsid|goodsFormat(goodsOptions) }}
+                  {{ scope.row.fGoodsid | goodsFormat(goodsOptions) }}
                 </span>
                 <span v-else-if="item.label == 'fBusinessType'">
                   <el-select
@@ -1520,9 +1521,14 @@
           show-summary
           :summary-method="warehouseDrSummaries"
         >
-          <el-table-column type="selection" width="55" align="center" />
-          <el-table-column label="序号" type="index" width="80">
-          </el-table-column>
+          <el-table-column type="selection" width="50" align="center" fixed />
+          <el-table-column
+            label="序号"
+            type="index"
+            width="50"
+            fixed
+            align="center"
+          />
           <el-table-column
             prop="fCorpid"
             header-align="center"
@@ -1851,8 +1857,10 @@
       :modal="false"
       style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important"
       :visible.sync="whgenlegVisible"
-      width="70%"
+      width="85%"
       @close="init2()"
+      :close-on-click-modal="false"
+      v-dialogDrag
     >
       <el-dialog
         title="自定义列显示"
@@ -1860,6 +1868,7 @@
         width="700px"
         v-dialogDrag
         append-to-body
+        :close-on-click-modal="false"
       >
         <template slot="title">
           <div class="avue-crud__dialog__header">
@@ -1928,30 +1937,32 @@
           <el-button type="primary" @click="save2()">确 定</el-button>
         </span>
       </el-dialog>
-      <el-form ref="whgenlegParams" :model="whgenlegParams" label-width="120px">
+      <el-form ref="whgenlegParams" :model="whgenlegParams">
         <el-row>
-          <el-col :span="6">
-            <el-form-item label="提单号" prop="fMblno">
+          <el-col :span="5">
+            <el-form-item label="提单号" prop="fMblno" label-width="70px">
               <el-input
                 v-model="whgenlegParams.fMblno"
                 placeholder="请输入提单号"
                 clearable
-                style="width: 80%"
               />
             </el-form-item>
           </el-col>
-          <el-col :span="6">
-            <el-form-item label="箱号" prop="fCntrno">
+          <el-col :span="5">
+            <el-form-item label="箱号" prop="fCntrno" label-width="70px">
               <el-input
                 v-model="whgenlegParams.fCntrno"
                 placeholder="请输入箱号"
                 clearable
-                style="width: 80%"
               />
             </el-form-item>
           </el-col>
-          <el-col :span="8">
-            <el-form-item label="入库日期区间" prop="orgStorageDate">
+          <el-col :span="10">
+            <el-form-item
+              label="入库日期区间"
+              prop="orgStorageDate"
+              label-width="120px"
+            >
               <el-date-picker
                 style="width: 80%"
                 v-model="whgenlegParams.orgStorageDate"
@@ -1972,7 +1983,7 @@
               >搜索</el-button
             >
           </el-col>
-          <el-col :span="2">
+          <el-col :span="2" style="display: flex; justify-content: flex-end">
             <el-button
               icon="el-icon-setting"
               circle
@@ -2881,7 +2892,7 @@ export default {
           label: "fWarehouseInformation",
           name: "库区",
           checked: 0,
-          width: 100,
+          width: 150,
         },
         {
           surface: "7",
@@ -2895,14 +2906,14 @@ export default {
           label: "fPlangrossweight",
           name: "结余毛重(kg)",
           checked: 0,
-          width: 100,
+          width: 120,
         },
         {
           surface: "9",
           label: "fPlannetweight",
           name: "结余净重(kg)",
           checked: 0,
-          width: 100,
+          width: 120,
         },
 
         {
@@ -2917,14 +2928,14 @@ export default {
           label: "fGrossweight",
           name: "出库毛重(kg)",
           checked: 0,
-          width: 100,
+          width: 120,
         },
         {
           surface: "12",
           label: "fNetweight",
           name: "出库净重(kg)",
           checked: 0,
-          width: 100,
+          width: 120,
         },
 
         {
@@ -3197,10 +3208,10 @@ export default {
       }
       return name;
     },
-    goodsFormat(row,goodsOptions) {
+    goodsFormat(row, goodsOptions) {
       let goods;
       goodsOptions.map((e) => {
-        if (row== e.fId) {
+        if (row == e.fId) {
           goods = e.fName;
         }
       });

+ 1 - 0
src/views/Warehousing/outStock/index.vue

@@ -309,6 +309,7 @@
         :visible.sync="showSetting"
         width="700px"
         v-dialogDrag
+        :close-on-click-modal="false"
       >
         <template slot="title">
           <div class="avue-crud__dialog__header">

+ 39 - 20
src/views/Warehousing/stockTransfer/AddOrUpdate.vue

@@ -546,6 +546,7 @@
       :visible.sync="showSetting"
       width="700px"
       v-dialogDrag
+      :close-on-click-modal="false"
     >
       <template slot="title">
         <div class="avue-crud__dialog__header">
@@ -1795,9 +1796,14 @@
           show-summary
           :summary-method="warehouseDrSummaries"
         >
-          <el-table-column type="selection" width="55" align="center" />
-          <el-table-column label="序号" type="index" width="80">
-          </el-table-column>
+          <el-table-column type="selection" width="50" align="center" fixed />
+          <el-table-column
+            label="序号"
+            type="index"
+            width="50"
+            fixed
+            align="center"
+          />
           <el-table-column
             prop="fCorpid"
             header-align="center"
@@ -2125,8 +2131,10 @@
       :modal="false"
       style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important"
       :visible.sync="whgenlegVisible"
-      width="70%"
+      width="85%"
       @close="init2()"
+      v-dialogDrag
+      :close-on-click-modal="false"
     >
       <el-dialog
         title="自定义列显示"
@@ -2134,6 +2142,7 @@
         width="700px"
         v-dialogDrag
         append-to-body
+        :close-on-click-modal="false"
       >
         <template slot="title">
           <div class="avue-crud__dialog__header">
@@ -2202,20 +2211,32 @@
           <el-button type="primary" @click="save2()">确 定</el-button>
         </span>
       </el-dialog>
-      <el-form ref="whgenlegParams" :model="whgenlegParams" label-width="120px">
+      <el-form ref="whgenlegParams" :model="whgenlegParams">
         <el-row>
-          <el-col :span="6">
-            <el-form-item label="箱号" prop="fCntrno">
+          <el-col :span="5">
+            <el-form-item label="提单号" prop="fMblno" label-width="70px">
+              <el-input
+                v-model="whgenlegParams.fMblno"
+                placeholder="请输入提单号"
+                clearable
+              />
+            </el-form-item>
+          </el-col>
+          <el-col :span="5">
+            <el-form-item label="箱号" prop="fCntrno" label-width="70px">
               <el-input
                 v-model="whgenlegParams.fCntrno"
                 placeholder="请输入箱号"
                 clearable
-                style="width: 80%"
               />
             </el-form-item>
           </el-col>
           <el-col :span="10">
-            <el-form-item label="入库日期区间" prop="orgStorageDate">
+            <el-form-item
+              label="入库日期区间"
+              prop="orgStorageDate"
+              label-width="120px"
+            >
               <el-date-picker
                 style="width: 80%"
                 v-model="whgenlegParams.orgStorageDate"
@@ -2228,7 +2249,7 @@
               </el-date-picker>
             </el-form-item>
           </el-col>
-          <el-col :span="6">
+          <el-col :span="2">
             <el-button
               type="cyan"
               icon="el-icon-search"
@@ -2236,7 +2257,7 @@
               >搜索</el-button
             >
           </el-col>
-          <el-col :span="2">
+          <el-col :span="2" style="display: flex; justify-content: flex-end">
             <el-button
               icon="el-icon-setting"
               circle
@@ -2250,7 +2271,6 @@
         ref="table"
         tooltip-effect="dark"
         width="100%"
-        border
         stripe
         @selection-change="whgenlegSelectionChange"
       >
@@ -3101,7 +3121,7 @@ export default {
           label: "fOrgwarehouseInformation",
           name: "库位",
           checked: 0,
-          width: 100,
+          width: 150,
         },
         {
           surface: "7",
@@ -3122,14 +3142,14 @@ export default {
           label: "fPlangrossweight",
           name: "结余毛重(kg)",
           checked: 0,
-          width: 100,
+          width: 120,
         },
         {
           surface: "10",
           label: "fPlannetweight",
           name: "结余净重(kg)",
           checked: 0,
-          width: 100,
+          width: 120,
         },
 
         {
@@ -3144,14 +3164,14 @@ export default {
           label: "fGrossweight",
           name: "调拨毛重(kg)",
           checked: 0,
-          width: 100,
+          width: 120,
         },
         {
           surface: "13",
           label: "fNetweight",
           name: "调拨净重(kg)",
           checked: 0,
-          width: 100,
+          width: 120,
         },
 
         {
@@ -3684,7 +3704,7 @@ export default {
           fId: null,
           fCntrtype: null,
           fGrossweight: e.fGrossweightblc2,
-          fNetweight:e.fNetweightblc2,
+          fNetweight: e.fNetweightblc2,
           fQty: e.fQtyblc2,
           fCntqty: 1,
           fIsPass: "F",
@@ -3707,7 +3727,7 @@ export default {
           fPackagespecs: e.fPackagespecs,
           fPlannetweight: e.fNetweightblc,
           fOriginalbillno: e.fOriginalbillno,
-          fBusinessType: e.fBusinessType+"",
+          fBusinessType: e.fBusinessType + "",
           fPlangrossweight: e.fGrossweightblc,
           fOriginalbilldate: e.fOriginalbilldate,
           fWarehouselocid: e.fWarehouseLocationid,
@@ -4656,7 +4676,6 @@ export default {
     },
     // 查询库存总账信息
     getWhgenlegList() {
-      this.whgenlegParams.fMblno = this.form.fMblno;
       this.whgenlegParams.fCorpid = this.form.fCorpid;
       this.whgenlegParams.fTrademodeid = this.form.fTrademodeid;
       this.whgenlegParams.fWarehouseid = this.form.fInwarehouseid;

+ 1 - 0
src/views/Warehousing/stockTransfer/index.vue

@@ -309,6 +309,7 @@
         :visible.sync="showSetting"
         width="700px"
         v-dialogDrag
+        :close-on-click-modal="false"
       >
         <template slot="title">
           <div class="avue-crud__dialog__header">