Browse Source

单证-订单数据 增加查询条件【成品/面辅料】

liangyan0105 2 years ago
parent
commit
996bd871cc
1 changed files with 15 additions and 3 deletions
  1. 15 3
      src/views/order/orderList.vue

+ 15 - 3
src/views/order/orderList.vue

@@ -46,6 +46,17 @@
                   </a-select>
                 </a-form-item>
               </a-col>
+
+              <a-col :md="6" :sm="8">
+                <a-form-item label="成品/面辅料">
+                  <!-- 成品传0 面辅料传1 -->
+                  <a-select placeholder="请选择" v-model="queryParam.isProduct">
+                    <a-select-option value="">请选择</a-select-option>
+                    <a-select-option value="0">成品</a-select-option>
+                    <a-select-option value="1">面辅料</a-select-option>
+                  </a-select>
+                </a-form-item>
+              </a-col>
             </template>
 
             <a-col :md="6" :sm="8">
@@ -88,7 +99,7 @@
         </a-table>
       </div>
     </a-card>
-    
+
     <!-- 订单数据明细 抽屉 -->
     <orderDetail-drawer ref="orderDetailDrawer" :fatherList="getOrderList" @ok="modalFormOk"></orderDetail-drawer>
   </div>
@@ -192,6 +203,7 @@ export default {
         customerAbbreviation: '',
         account: '',
         dilivery: '',
+        isProduct: '', // 客户需求新增
         pageNo: '' // 初始页
       },
 
@@ -230,9 +242,9 @@ export default {
         on: {
           click: event => {
             this.$refs.orderDetailDrawer.visible = true
-            this.$refs.orderDetailDrawer.record = record //接口参数
+            this.$refs.orderDetailDrawer.record = record // 接口参数
             this.$refs.orderDetailDrawer.getOrderChild()
-            this.$refs.orderDetailDrawer.orderDetail = record //详情页主表赋值
+            this.$refs.orderDetailDrawer.orderDetail = record // 详情页主表赋值
           }
         }
       }