소스 검색

财务对账功能修改

翁玉文 4 년 전
부모
커밋
da1a7a43bb
3개의 변경된 파일15개의 추가작업 그리고 20개의 파일을 삭제
  1. 1 1
      src/api/finance/contrast.js
  2. 12 17
      src/views/finance/contrast/index.vue
  3. 2 2
      vue.config.js

+ 1 - 1
src/api/finance/contrast.js

@@ -55,7 +55,7 @@ export function exportFee(query) {
 // 导入搜索
 export function importFee(TWareHouseFees) {
   return request({
-    url: '/finance/charge/chargeList',
+    url: '/finance/contrast/contrastList',
     method: 'get',
     params: TWareHouseFees,
     tFee:TWareHouseFees,

+ 12 - 17
src/views/finance/contrast/index.vue

@@ -213,8 +213,8 @@
         </template>
       </el-table-column>
       <el-table-column label="提单号" align="center" prop="tMblno" />
-      <el-table-column label="应收合计" align="center" prop="fAmtdr" />
-      <el-table-column label="应付合计" align="center" prop="fAmtcr" />
+      <el-table-column label="应收金额" align="center" prop="fAmtdr" />
+      <el-table-column label="应付金额" align="center" prop="fAmtcr" />
       <!--       <el-table-column label="单据类型" align="center" prop="fBilltype" />-->
       <el-table-column label="备注" align="center" show-overflow-tooltip prop="fRemarks" />
       <el-table-column label="状态" align="center" prop="fBillstatus">
@@ -435,7 +435,6 @@
         </el-form-item> -->
 
           <el-form-item
-            class="el-form-item__label"
             label="货权方"
             prop="fCorpid"
           >
@@ -529,7 +528,7 @@
 
           <el-form-item label="审核日期" prop="timeExamine">
             <el-date-picker
-              style="width: 200px"
+              style="width: 250px"
               size="small"
               v-model="TWareHouseFees.timeExamine"
               type="daterange"
@@ -540,8 +539,7 @@
             >
             </el-date-picker>
           </el-form-item>
-
-          <el-form-item label="对账日期" label-width="85px" prop="timeReconci">
+          <el-form-item label="对账日期" label-width="85px" prop="timeReconci" v-if="TWareHouseFees.fReconciliation == '1'">
             <el-date-picker
               v-model="TWareHouseFees.timeReconci"
               size="small"
@@ -557,14 +555,12 @@
           <el-form-item>
             <!-- <el-button class="btnColor" type="info" size="mini">导入</el-button> -->
             <el-button
-              class="btnColor"
               type="cyan"
               size="mini"
               @click="searchFee"
               >搜索</el-button
             >
             <el-button
-              class="btnColor"
               type="info"
               size="mini"
               @click="resetQuery_s"
@@ -1123,16 +1119,20 @@ export default {
             if(item >= 1){
 
               this.pass.fMblno = this.selection[item].fMblno + "..."
-              this.pass.fName = this.selection[item].fName + "..."
+              // this.pass.fName = this.selection[item].fName + "..."
+              this.pass.fFeesName = this.selection[item].fFeesName + "..."
             }else if(item == 0){
               this.pass.fMblno = this.selection[item].fMblno
-              this.pass.fName = this.selection[item].fName
+              // this.pass.fName = this.selection[item].fName
+              this.pass.fFeesName = this.selection[item].fFeesName + "..."
             }
           }
           console.log(this.pass)
         this.DzfeeList = this.selection
         this.queryParams.tMblno = this.pass.fMblno //提单号
-        this.queryParams.fCtrlcorpid = this.pass.fName
+        // this.queryParams.fCtrlcorpid = this.pass.fName
+
+        this.queryParams.fCorpid = this.pass.fFeesName
         this.queryParams.fAmtcr = this.pass.fAmtcr
         this.queryParams.fAmtdr = this.pass.fAmtdr
         console.log(this.TWareHouseFees)
@@ -1207,10 +1207,5 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-.btnColor {
-  border: 1px solid #0f5dee;
-}
-.btnColor:hover {
-  color: #0f5dee;
-}
+
 </style>

+ 2 - 2
vue.config.js

@@ -34,8 +34,8 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        target: `http://192.168.137.1:9010`,
-        // target: `http://engineering.echepei.com:9010/`,
+        // target: `http://192.168.137.1:9010`,
+        target: `http://engineering.echepei.com:9010/`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''