ccjgmwz 3 年之前
父節點
當前提交
5095e7f034
共有 3 個文件被更改,包括 18 次插入15 次删除
  1. 3 2
      public/static/payprint.html
  2. 14 12
      src/views/houseSelfCollect/paymentManagement.vue
  3. 1 1
      vue.config.js

+ 3 - 2
public/static/payprint.html

@@ -597,8 +597,9 @@
         let _type = decodeURIComponent(this.getQueryVariable('type'))
         this.showType = decodeURIComponent(this.getQueryVariable('printTypeList'))
         this.customerList = JSON.parse(decodeURIComponent(this.getQueryVariable('customerList')))
-        
-        if (sessionStorage.getItem('cwprint')) {
+        console.log('cwprint',sessionStorage.getItem('cwprint'))
+        var cwprint = sessionStorage.getItem('cwprint')
+        if (cwprint == "true") {
           this.identity = this.customerList.cardAddressUrl.split(',')
           this.bank = this.customerList.payeeAddressUrl.split(',')
           this.imageUrl1 = this.identity[0]

+ 14 - 12
src/views/houseSelfCollect/paymentManagement.vue

@@ -106,7 +106,7 @@
       <el-table-column class="table_td" prop="paymentNo" width="100" label="编号" sortable></el-table-column>
       <el-table-column class="table_td" prop="customerName" label="客户" sortable>
         <template slot-scope="scope">
-          <div @click="customer(scope.row)">{{scope.row.customerName}}</div>
+          <div  @click="customer(scope.row)">{{scope.row.customerName}}</div>
           </template>
       </el-table-column>
       <el-table-column class="table_td" prop="carNo" label="车牌号"></el-table-column>
@@ -359,7 +359,7 @@ export default {
       isShowPrintType4: true,
       customerInfo:false,
       form:{},
-      formLabelWidth:"300px",
+      formLabelWidth:'300px',
       customerlist:{
         payeeAddressUrls:[],
       },
@@ -408,7 +408,7 @@ export default {
         paymentDate: ''
       },
       showPayImgs: false,
-      isShowAdopt: false,
+      isShowAdopt: true,
       //上传截图路径
       imageUrl: '',
       payImg: [],
@@ -681,15 +681,15 @@ export default {
           this.paymentList = response.records
           this.deptBudgetTotal = response.total
         })
-      getJurisdiction({
-        managementType: 1,
-        warehouseName: this.warehouseName,
-        compId: sessionStorage.getItem('ws-pf_compId')
-      })
-        .toPromise()
-        .then(response => {
-          this.isShowAdopt = response
-        })
+      // getJurisdiction({
+      //   managementType: 1,
+      //   warehouseName: this.warehouseName,
+      //   compId: sessionStorage.getItem('ws-pf_compId')
+      // })
+      //   .toPromise()
+      //   .then(response => {
+      //     this.isShowAdopt = response
+      //   })
 
       //   getJurisdiction({
       //  managementType:1,
@@ -915,6 +915,8 @@ export default {
     },
     print(row) {
        sessionStorage.setItem('cwprint',false)
+        console.log('cwprint',sessionStorage.getItem('cwprint'))
+
       getpaymentexamine({ id: row.id })
           .toPromise()
           .then(response => {

+ 1 - 1
vue.config.js

@@ -142,7 +142,7 @@ module.exports = {
         // target: 'http://standard-dev.winsea.com/', //目标地址
         // target: 'http://localhost:8090/',
         // target: 'http://192.168.1.122:9100/',
-        target: 'http://192.168.1.107:8090/',
+        target: 'http://192.168.1.122:9100/',
         // target: 'http://192.168.24.5:8098',//目标地址
         // target: 'http://product-server.winsea.com/',
         // target: 'http://192.168.24.5:8098',//目标地址