Browse Source

修改bug

chenrui 2 năm trước cách đây
mục cha
commit
c876eeecaa

+ 7 - 6
src/views/inventoryManagement/inventoryChecking/selfDisk.vue

@@ -58,20 +58,20 @@
                       </a-select>
                     </a-form-item>
                   </a-col>
-                  <a-col :md="4" :sm="16">
+                  <a-col :md="3" :sm="12">
                     <a-form-item label="">
                       <a-checkbox @change="onlySeeStock" :checked="showChecked">只查看有库存</a-checkbox>
                     </a-form-item>
                   </a-col>
-                  <a-col :md="4" :sm="16" style="margin-bottom: 10px;text-align: right;">
+                  <a-col :md="4" :sm="16" style="margin-bottom: 10px;">
                     <a-button type="primary" @click="searchForm" :disabled="disabled" id="inventoryCheckSelfDiskList-refresh">查询</a-button>
                     <a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="inventoryCheckSelfDiskList-reset">重置</a-button>
                   </a-col>
                 </a-row>
               </a-form>
             </a-col>
-            <a-col :md="20"></a-col>
-            <a-col :md="4" :sm="16" style="margin-bottom: 10px;text-align: right;">
+            <a-col :md="19"></a-col>
+            <a-col :md="5" :sm="20" style="margin-bottom: 10px;text-align: right;">
               <a-button size="small" type="primary" class="button-info" @click.stop="handleBatchAdd('batch')" id="chainTransferOutEdit-del-all-btn">批量添加</a-button>
               <a-button
                 size="small"
@@ -149,7 +149,7 @@
                       </a-select>
                     </a-form-item>
                   </a-col>
-                  <a-col :md="4" :sm="16" style="margin-bottom: 10px;text-align: right;">
+                  <a-col :md="4" :sm="16" style="margin-bottom: 10px;text-align: center;">
                     <a-button type="primary" @click="$refs.chooseTable.refresh(true)" :disabled="chooseDisabled" id="inventoryCheckSelfDiskList-refresh">查询</a-button>
                     <a-button style="margin-left: 5px" @click="chooseResetSearchForm" :disabled="chooseDisabled" id="inventoryCheckSelfDiskList-reset">重置</a-button>
                     <!-- <a @click="chooseAdvanced=!chooseAdvanced" style="margin-left: 5px">
@@ -362,8 +362,9 @@ export default {
       this.queryParam.productTypeSn2 = undefined
       this.queryParam.productTypeSn3 = undefined
       this.productType = []
-      this.$refs.table.refresh(true)
+      this.queryParam.existStockFlag = null
       this.showChecked = false
+      this.$refs.table.refresh(true)
     },
     //  添加
     handleAdd (row) {