lilei пре 2 година
родитељ
комит
470c1ecc6a
1 измењених фајлова са 24 додато и 2 уклоњено
  1. 24 2
      src/views/allocationManagement/transfersPrint/list.vue

+ 24 - 2
src/views/allocationManagement/transfersPrint/list.vue

@@ -64,6 +64,22 @@
                     ></v-select>
                   </a-form-item>
                 </a-col>
+                <a-col :md="3" :sm="24">
+                  <a-form-item label="所在区域">
+                    <subarea id="allocateBillList-subarea" v-model="queryParam.subareaSn"></subarea>
+                  </a-form-item>
+                </a-col>
+                <a-col :md="3" :sm="24">
+                  <a-row>
+                    <a-form-item label="地区">
+                      <a-col span="24">
+                        <a-form-item prop="dealerProvinceSn" style="margin: 0;">
+                          <Area id="allocateBillList-dealerProvinceSn" v-model="queryParam.dealerProvinceSn" placeholder="请选择省"></Area>
+                        </a-form-item>
+                      </a-col>
+                    </a-form-item>
+                  </a-row>
+                </a-col>
               </template>
               <a-col :md="6" :sm="24">
                 <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="allocateBillList-refresh">查询</a-button>
@@ -134,6 +150,8 @@ import { commonMixin } from '@/utils/mixin'
 import moment from 'moment'
 import getDate from '@/libs/getDate.js'
 import { STable, VSelect } from '@/components'
+import subarea from '@/views/common/subarea.js'
+import Area from '@/views/common/area.js'
 import rangeDate from '@/views/common/rangeDate.vue'
 import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 import printModal from '@/views/allocationManagement/transferOut/printModal.vue'
@@ -144,7 +162,7 @@ import { printFun } from '@/libs/JGPrint.js'
 export default {
   name: 'TransfersPrintList',
   mixins: [commonMixin],
-  components: { STable, VSelect, rangeDate, AllocateType, dealerSubareaScopeList, printModal, recordModal },
+  components: { STable, VSelect, rangeDate, AllocateType, dealerSubareaScopeList, printModal, recordModal, subarea, Area },
   data () {
     return {
       spinning: false,
@@ -165,7 +183,9 @@ export default {
         allocateNo: '', //  调拨单号
         receiverSn: undefined,
         checkStatus: undefined,
-        printState: 'NO_PRINT'
+        printState: 'NO_PRINT',
+        subareaSn: undefined,
+        dealerProvinceSn: undefined
       },
       currentTab: 2,
       disabled: false, //  查询、重置按钮是否可操作
@@ -248,6 +268,8 @@ export default {
       this.queryParam.allocateNo = ''
       this.queryParam.receiverName = ''
       this.queryParam.receiverSn = undefined
+      this.queryParam.subareaSn = undefined
+      this.queryParam.dealerProvinceSn = undefined
       this.$refs.receiverSn.resetForm()
       this.queryParam.printState = this.currentTab == 2 ? 'NO_PRINT' : undefined
       this.$refs.table.refresh(true)