Просмотр исходного кода

应收开票增加签单月份筛选

@dongkboy 3 недель назад
Родитель
Сommit
007c7082e2
1 измененных файлов с 11 добавлено и 2 удалено
  1. 11 2
      src/views/receivable/handingFee/ticket.vue

+ 11 - 2
src/views/receivable/handingFee/ticket.vue

@@ -15,6 +15,7 @@
             <el-option value="ptlAgreement" label="出单协议"></el-option>
             <el-option value="orderType" label="订单类型"></el-option>
             <el-option value="signYear" label="签单年份"></el-option>
+            <el-option value="signMonth" label="签单月份"></el-option>
             <el-option value="licenseNo" label="车牌号"></el-option>
             <el-option value="jqPolicyNo" label="交强险保单号"></el-option>
             <el-option value="syPolicyNo" label="商业险保单号"></el-option>
@@ -53,9 +54,12 @@
             <el-option value="2" label="代客录单"></el-option>
             <el-option value="3" label="补录订单"></el-option>
           </el-select>
-          <el-date-picker v-if="item.name == 'signYear'" style="width: 350px" format="YYYY" value-format="YYYY"
+          <el-date-picker v-if="item.name == 'signYear' " style="width: 350px" format="YYYY" value-format="YYYY"
             v-model="yearrangesearch" type="yearrange" range-separator="-" :disabled="item.type == '为空'"
             @change="handlePtlAgreementChange(index, $event)" />
+             <el-date-picker v-if="item.name == 'signMonth'" style="width: 350px" format="YYYY-MM" value-format="YYYY-MM"
+            v-model="monthrangesearch" type="monthrange" range-separator="-" :disabled="item.type == '为空'"
+            @change="handlePtlAgreementChange(index, $event)" />
           <el-input v-if="item.name == 'licenseNo' || item.name == 'jqPolicyNo' || item.name == 'syPolicyNo' || item.name == 'jyPolicyNo'"
             placeholder="请输入" style="width: 350px" v-model="item.search" />
         </div>
@@ -68,7 +72,7 @@
       <p>应收明细</p>
       <el-button type="primary" @click="addTicket">添加应收</el-button>
     </div>
-    <el-table :data="tableData" style="height: calc(100% - 300px)" show-summary
+    <el-table :data="tableData" style="height: calc(100% - 350px)" show-summary
       :summary-method="val => getSummaries(val, ['jqPremium', 'jqSuperviseCostsProportion', 'syPremium', 'sySuperviseCostsProportion', 'receivableAmount', 'receivableAmount4Car', 'receivableAmount4Other','carInsuranceSuperviseCostsPremiums','nonCarInsuranceSuperviseCostsPremiums'])">
       <template #empty>
         <div v-if="noData">暂无应收,点击<el-button link type="primary" @click="batchShow = true">导入应收</el-button></div>
@@ -288,6 +292,7 @@ const insurerContract = ref()//保险公司协议
 const multipleSearch = ref('')
 const orderTypesearch = ref('')
 const yearrangesearch = ref('')
+const monthrangesearch = ref('')
 const datesearch = ref('')
 const countShow = ref(false)
 const countForm = ref({
@@ -331,6 +336,10 @@ let searchList = ref([
     name: 'signYear',
     type: '等于',
     search: ''
+  }, {
+    name: 'signMonth',
+    type: '等于',
+    search: ''
   },
   {
     name: 'licenseNo',