zxz преди 1 година
родител
ревизия
1b7b8053d6
променени са 1 файла, в които са добавени 14 реда и са изтрити 7 реда
  1. 14 7
      pages/reimbursement/request_funds.vue

+ 14 - 7
pages/reimbursement/request_funds.vue

@@ -22,14 +22,14 @@
 					</view>
 				</view>
 			</view>
-			<view class="c-row" v-if="detailData.purpose == '库点费用'&&reType == 2">
+			<!-- <view class="c-row" v-if="detailData.purpose == '库点费用'&&reType == 2">
 				<view class="title">仓储费</view>
 				<view class="con-list">
 					<view @click='show3=true'>{{detailData.flag}}
 						<u-icon name="arrow-right" color=""></u-icon>
 					</view>
 				</view>
-			</view>
+			</view> -->
 			<u-picker :range="typeList1" range-key="value" @confirm='typeCheck1($event)' v-model="show3"
 				mode="selector">
 			</u-picker>
@@ -159,7 +159,7 @@
 				show2: false,
 				showWare: false,
 				detailData: {
-					flag: '否',
+					// flag: '否',
 					purpose: '库点费用',
 					remark: "",
 					wareExpenseType: '杂费',
@@ -173,6 +173,7 @@
 					identification: '1',
 					costType: '3',
 					agent: '',
+					storageFeeFlag:'',
 					totalDistribution: '0',
 				},
 				fileList1: [],
@@ -226,6 +227,9 @@
 					{
 						value: "加油费"
 					},
+					{
+						value: "仓储费"
+					},
 				],
 				namelist: [{
 						name: "黑龙江中天昊元贸易有限公司"
@@ -531,12 +535,15 @@
 						if (res.confirm) {
 							that.detailData.compId = uni.getStorageSync('pcUserInfo').compId
 							that.detailData.agent = uni.getStorageSync('userInfo').userName
-							that.detailData.identification = that.detailData.identification
-							that.detailData.paymentIdentifi = that.detailData.paymentIdentifi
-							that.detailData.costType = that.detailData.costType
+							// that.detailData.identification = that.detailData.identification
+							// that.detailData.paymentIdentifi = that.detailData.paymentIdentifi
+							// that.detailData.costType = that.detailData.costType
 							that.detailData.expensesType = that.reType
 							that.detailData.fieldName = uni.getStorageSync('userInfo').userName
-							that.detailData.totalDistribution = that.detailData.totalDistribution
+							// that.detailData.totalDistribution = that.detailData.totalDistribution
+							if(that.detailData.wareExpenseType == '仓储费'){
+								that.detailData.storageFeeFlag = 1
+							}
 							if (that.imglist.length > 0) {
 								that.detailData.addressUrl = that.imglist.toString()
 							}