zxz 1 year ago
parent
commit
fb23ed4b27
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pages/reimbursement/request_funds.vue

+ 2 - 2
pages/reimbursement/request_funds.vue

@@ -320,6 +320,8 @@
 			}
 			}
 		},
 		},
 		onLoad(options) {
 		onLoad(options) {
+			this.detailData.payerHeader = uni.getStorageSync('compName1').company
+			this.$forceUpdate()
 			this.reType = options.reType
 			this.reType = options.reType
 			this.expensesType = options.expensesType
 			this.expensesType = options.expensesType
 			if (this.reType == 2 || this.expensesType == 2) {
 			if (this.reType == 2 || this.expensesType == 2) {
@@ -335,8 +337,6 @@
 			}
 			}
 		},
 		},
 		onShow() {
 		onShow() {
-			this.detailData.payerHeader = uni.getStorageSync('compName1').company
-			this.$forceUpdate()
 			this.warehouseInfo = uni.getStorageSync('theWarehouse');
 			this.warehouseInfo = uni.getStorageSync('theWarehouse');
 			if (this.warehouseInfo && this.detailData.purpose == "库点费用") {
 			if (this.warehouseInfo && this.detailData.purpose == "库点费用") {
 				this.detailData.warehouseName = this.warehouseInfo.warehouseName
 				this.detailData.warehouseName = this.warehouseInfo.warehouseName