whj 1 year ago
parent
commit
a014b35c41
1 changed files with 15 additions and 1 deletions
  1. 15 1
      src/views/purchase/purchase-order-page/PurchaseOrderPage.vue

+ 15 - 1
src/views/purchase/purchase-order-page/PurchaseOrderPage.vue

@@ -33,6 +33,18 @@
                 </a-select>
               </a-form-item>
             </a-col>
+            <a-col :md="6" :sm="24">
+              <a-form-item label="合并状态">
+                <a-select v-model="queryParam.mergeFlag" placeholder="请选择">
+                  <a-select-option
+                    v-for="(label,value) in yesOrnoMap"
+                    :key="value"
+                    :label="label"
+                    :value="parseInt(value)">{{ label }}
+                  </a-select-option>
+                </a-select>
+              </a-form-item>
+            </a-col>
             <a-col :md="6 || 24" :sm="24">
               <span class="table-page-search-submitButtons">
                 <a-button type="primary" @click="$refs.table.refresh(true)">查询</a-button>
@@ -287,7 +299,8 @@ export default {
         }
       },
       optionAlertShow: false,
-      statusMap: {}
+      statusMap: {},
+      yesOrnoMap: {}
     }
   },
   created () {
@@ -297,6 +310,7 @@ export default {
     this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_ORDER_STATUS)
     this.cptcodeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_ORDER_PLAN_TYPE)
     this.cbustypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_BUSINESS_TYPE)
+    this.yesOrnoMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.YES_NO)
     console.log(this.cptcodeMap)
     this.tableOption()
   },