Selaa lähdekoodia

现存量相关页面-修改筛选条件

jingbb 3 kuukautta sitten
vanhempi
commit
62ff7bb047

+ 5 - 5
src/views/inventiry/existingQuantity/existingQuantityForm.data.ts

@@ -27,11 +27,11 @@ export const columns: BasicColumn[] = [
     align:"center",
     dataIndex: 'supplierName'
    },
-   {
-    title: '客户(customerName)',
-    align:"center",
-    dataIndex: 'customerName'
-   },
+   // {
+   //  title: '客户(customerName)',
+   //  align:"center",
+   //  dataIndex: 'customerName'
+   // },
    {
     title: '产品分类(production class)',
     align:"center",

+ 12 - 2
src/views/inventiry/existingQuantity/existingQuantityList.vue

@@ -49,7 +49,7 @@
                 />
               </a-form-item>
             </a-col>
-            <a-col :lg="8">
+            <!-- <a-col :lg="8">
               <a-form-item name="customer">
                 <template #label><span title="客户(customer)">客户(customer)</span></template>
                 <ApiSelect
@@ -64,7 +64,7 @@
                   optionFilterProp="label"
                 />
               </a-form-item>
-            </a-col>
+            </a-col> -->
             <a-col :lg="8">
               <a-form-item name="productionClass">
                 <template #label><span title="产品分类(production class)">产品分类(production class)</span></template>
@@ -99,6 +99,15 @@
                 <JInput placeholder="请输" v-model:value="queryParam.batchCode" allow-clear AutoComplete="off" />
               </a-form-item>
             </a-col>
+            <a-col :lg="8">
+              <a-form-item name="quantity">
+                <template #label><span title="零库存(quantity)">零库存(quantity)</span></template>
+                  <a-select v-model:value="queryParam.quantity">
+                    <a-select-option  value="0">是(yes)</a-select-option>
+                    <a-select-option  value="1">否(no)</a-select-option>
+                  </a-select>
+              </a-form-item>
+            </a-col>
           </template>
           <a-col :xl="6" :lg="7" :md="8" :sm="24">
             <span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
@@ -138,6 +147,7 @@
   const formRef = ref();
   const queryParam = reactive<any>({
     type: '2',
+    quantity:'1'
   });
   //注册model
   //注册table数据

+ 12 - 1
src/views/inventiry/salesOutbound/components/SelectStaningStockModal.vue

@@ -89,7 +89,15 @@
                             <a-form-item label="编号(batch code)">
                                 <j-input placeholder="请输入" v-model:value="queryParams.batchCode"></j-input>
                             </a-form-item>
-                        </a-col>                        
+                        </a-col> 
+                        <a-col :md="6" :sm="8">
+                            <a-form-item label="零库存(quantity)">
+                                <a-select v-model:value="queryParams.quantity">
+                                    <a-select-option  value="0">是(yes)</a-select-option>
+                                    <a-select-option  value="1">否(no)</a-select-option>
+                                </a-select>
+                            </a-form-item>
+                        </a-col>                       
                     </template>
                     <a-col :md="6" :sm="8">
                         <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
@@ -291,6 +299,7 @@
         headModel:'',
         batchCode:'',
         productCode:'',
+        quantity:'1'
     });
     let pagination = ref({
       current: 1,
@@ -356,6 +365,7 @@
             headModel:'',
             batchCode:'',
             productCode:'',
+            quantity:'1'
         }
         pagination.value.current =1;
         pagination.value.pageSize = 10; 
@@ -394,6 +404,7 @@
             headModel:'',
             batchCode:'',
             productCode:'',
+            quantity:'1'
         }
         pagination.value.current =1;
         pagination.value.pageSize = 10; 

+ 13 - 2
src/views/publicComponents/SelectStaningStockModal.vue

@@ -101,7 +101,15 @@
                             <a-form-item label="产品编码(product code)"  :label-col="labelCol1" :wrapper-col="wrapperCol1">
                                 <j-input placeholder="请输入" v-model:value="queryParams.productCode"></j-input>
                             </a-form-item>
-                        </a-col>                       
+                        </a-col>   
+                        <a-col :md="6" :sm="8">
+                            <a-form-item label="零库存(quantity)">
+                                <a-select v-model:value="queryParams.quantity">
+                                    <a-select-option  value="0">是(yes)</a-select-option>
+                                    <a-select-option  value="1">否(no)</a-select-option>
+                                </a-select>
+                            </a-form-item>
+                        </a-col>                      
                     </template>
                     <a-col :md="6" :sm="8">
                         <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
@@ -139,7 +147,7 @@
                 size="small"
                 @change="handleTableChange"
                 :pagination="pagination"
-                :scroll="{ x: 3500, y: 400 }"
+                :scroll="{ x: 3500, y: 420 }"
                 :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
             >
             </a-table>
@@ -305,6 +313,7 @@
         headModel:'',
         batchCode:'',
         productCode:'',
+        quantity:'1'
     });
     let pagination = ref({
       current: 1,
@@ -380,6 +389,7 @@
             headModel:'',
             batchCode:'',
             productCode:'',
+            quantity:'1'
         }
         pagination.value.current =1;
         pagination.value.pageSize = 10; 
@@ -428,6 +438,7 @@
             headModel:'',
             batchCode:'',
             productCode:'',
+            quantity:'1'
         }
         pagination.value.current =1;
         pagination.value.pageSize = 10;