Browse Source

新增状态筛选

sangwenwei 9 months ago
parent
commit
f36ad6ec29
1 changed files with 15 additions and 2 deletions
  1. 15 2
      src/views/cw/invoice/InvoiceList.vue

+ 15 - 2
src/views/cw/invoice/InvoiceList.vue

@@ -179,6 +179,18 @@
 			  </el-select>
 		  </el-form-item>
 
+		  <el-form-item
+			  v-if="showHideItem" label="状态" prop="status">
+			  <el-select v-model="searchForm.status" placeholder="请选择状态" clearable style="width: 100%;">
+				  <el-option
+					  v-for="item in $dictUtils.getDictList('invoice_status')"
+					  :key="item.value"
+					  :label="item.label"
+					  :value="item.value">
+				  </el-option>
+			  </el-select>
+		  </el-form-item>
+
         <el-form-item>
           <el-button type="default" @click="showHide" :icon="showHideIcon">{{showHideName}}</el-button>
           <el-button type="primary" @click="refreshList()" icon="el-icon-search">查询</el-button>
@@ -244,7 +256,7 @@
           <vxe-column min-width="150" title="经办人" align="center" field="operator"></vxe-column>
           <vxe-column min-width="150" title="经办人部门" align="center" field="operatorOffice"></vxe-column>
           <vxe-column min-width="150" title="开票总金额(元)" align="center" field="account"></vxe-column>
-          <vxe-column min-width="150" title="发票金额(元)" align="center" field="account"></vxe-column>
+          <vxe-column min-width="150" title="发票金额(元)" align="center" field="accountDetail"></vxe-column>
           <vxe-column min-width="150" title="报备类型" align="center" field="reportType">
 			  <template #default="scope">
 				  {{$dictUtils.getDictLabel('cw_work_client_report_type', scope.row.reportType, '')}}
@@ -392,7 +404,8 @@
           operatorOffice: '',
 		  label:'',
 		  loginName:this.$store.state.user.name,
-		  reportType:''
+		  reportType:'',
+			status:''
         },
         dataList: [],
         tablePage: {