zhongtianhaoyuan 3 anni fa
parent
commit
d6ae89a6d3

+ 90 - 1
common/helper.js

@@ -82,6 +82,94 @@ const getNowFormatDate = () => {
 	return currentdate;
 }
 
+const convertCurrency = (money) => {
+	//汉字的数字
+	var cnNums = new Array('零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖');
+	//基本单位
+	var cnIntRadice = new Array('', '拾', '佰', '仟');
+	//对应整数部分扩展单位
+	var cnIntUnits = new Array('', '万', '亿', '兆');
+	//对应小数部分单位
+	var cnDecUnits = new Array('角', '分', '毫', '厘');
+	//整数金额时后面跟的字符
+	var cnInteger = '整';
+	//整型完以后的单位
+	var cnIntLast = '元';
+	//最大处理的数字
+	var maxNum = 999999999999999.9999;
+	//金额整数部分
+	var integerNum;
+	//金额小数部分
+	var decimalNum;
+	//输出的中文金额字符串
+	var chineseStr = '';
+	//分离金额后用的数组,预定义
+	var parts;
+	if (money == '') {
+		return '';
+	}
+	money = parseFloat(money);
+	if (money >= maxNum) {
+		//超出最大处理数字
+		return '';
+	}
+	if (money == 0) {
+		chineseStr = cnNums[0] + cnIntLast + cnInteger;
+		return chineseStr;
+	}
+	//转换为字符串
+	money = money.toString();
+	if (money.indexOf('.') == -1) {
+		integerNum = money;
+		decimalNum = '';
+	} else {
+		parts = money.split('.');
+		integerNum = parts[0];
+		decimalNum = parts[1].substr(0, 4);
+	}
+	//获取整型部分转换
+	if (parseInt(integerNum, 10) > 0) {
+		var zeroCount = 0;
+		var IntLen = integerNum.length;
+		for (var i = 0; i < IntLen; i++) {
+			var n = integerNum.substr(i, 1);
+			var p = IntLen - i - 1;
+			var q = p / 4;
+			var m = p % 4;
+			if (n == '0') {
+				zeroCount++;
+			} else {
+				if (zeroCount > 0) {
+					chineseStr += cnNums[0];
+				}
+				//归零
+				zeroCount = 0;
+				chineseStr += cnNums[parseInt(n)] + cnIntRadice[m];
+			}
+			if (m == 0 && zeroCount < 4) {
+				chineseStr += cnIntUnits[q];
+			}
+		}
+		chineseStr += cnIntLast;
+	}
+	//小数部分
+	if (decimalNum != '') {
+		var decLen = decimalNum.length;
+		for (var i = 0; i < decLen; i++) {
+			var n = decimalNum.substr(i, 1);
+			if (n != '0') {
+				chineseStr += cnNums[Number(n)] + cnDecUnits[i];
+			}
+		}
+	}
+	if (chineseStr == '') {
+		chineseStr += cnNums[0] + cnIntLast + cnInteger;
+	} else if (decimalNum == '') {
+		chineseStr += cnInteger;
+	}
+	return chineseStr;
+}
+
 
 
 export default {
@@ -92,5 +180,6 @@ export default {
 	erpWarehouse,
 	getListByUserId,
 	setAudit,
-	getNowFormatDate
+	getNowFormatDate,
+	convertCurrency
 }

+ 147 - 63
pages/task/audit/acquisition_settlement_approval.vue

@@ -12,6 +12,7 @@
 						<image src="../../../static/img/daishenhe.png" mode=""
 							 style="height: 40rpx;"></image><!-- 待审核 -->
 					</view>
+					<!-- {{auditList.length > 0 ?auditList[auditList.length - 1].operatorMajorRoleName:""}} -->
 					<view class="infoText">待决策人审核</view>
 				</view>
 				<view class="infoData">{{updateDate}}</view>
@@ -37,59 +38,30 @@
 			</view>
 		</view> -->
 		<view class="content1">
-			<view class="title">
+		<!-- 	<view class="title">
 				销售外勤 张三
-			</view>
+			</view> -->
 			<view class="row">
 				<view class="left">请款金额(元)</view>
-				<view class="left">{{auditInfo.amountIngPayableTotal}}</view>
+				<view class="right">{{auditInfo.amountIngPayableTotal}}</view>
 			</view>
 			<view class="row">
 				<view class="left">大写</view>
-				<view class="left">{{auditInfo.jiaorenliTotal}}</view>
+				<view class="right">{{auditInfo.amountIngPayableTotal1}}</view>
 			</view>
 			<view class="row">
-				<view class="left">车(数)</view>
-				<view class="left">{{auditInfo.carTotal}}</view>
+				<view class="left">车数(辆)</view>
+				<view class="right">{{auditInfo.carTotal}}</view>
 			</view>
 			<view class="row">
 				<view class="left">合计重量(吨)</view>
-				<view class="left">{{auditInfo.netWeightTotal}}</view>
-			</view>
-			<view class="row">
-				<view class="left">平均单价(元吨)</view>
-				<view class="left">{{auditInfo.averageUnitPrice}}</view>
-			</view>
-			<view class="row">
-				<view class="left">平均单价指标</view>
-			</view>
-			<view class="row">
-				<view class="left">容重(%)</view>
-				<view class="left">{{auditInfo.bulkDensityTotal}}</view>
-			</view>
-
-			<view class="row">
-				<view class="left">水分(%)</view>
-				<view class="left">{{auditInfo.waterContentTotal}}</view>
-			</view>
-
-			<view class="row">
-				<view class="left">杂质(%)</view>
-				<view class="left">{{auditInfo.impurityTotal}}</view>
-			</view>
-
-			<view class="row">
-				<view class="left">热损伤(%)</view>
-				<view class="left">{{auditInfo.jiaorenliTotal}}</view>
-			</view>
-			<view class="row">
-				<view class="left">霉变粒(%)</view>
-				<view class="left">{{auditInfo.mildewGrainTotal}}</view>
+				<view class="right">{{auditInfo.netWeightTotal}}</view>
 			</view>
 			<view class="row" style="border-bottom:0">
-				<view class="left">不完善粒(%)</view>
-				<view class="left">{{auditInfo.imperfectGrainTotal}}</view>
+				<view class="left">平均单价(元吨)</view>
+				<view class="right">{{auditInfo.averageUnitPrice}}</view>
 			</view>
+			
 
 			<!-- <view class="row row-bottom">
 				<view class="left">水分(%)</view>
@@ -122,24 +94,67 @@
 					placeholder="输入不完善粒占比"></input>
 			</view> -->
 		</view>
+		<view class="content1">
+			<view class="row">
+				<view class="left titlerow">平均指标</view>
+			</view>
+			<view class="row">
+				<view class="left">容重(%)</view>
+				<view class="right">{{auditInfo.bulkDensityTotal}}</view>
+			</view>
+			
+			<view class="row">
+				<view class="left">水分(%)</view>
+				<view class="right">{{auditInfo.waterContentTotal}}</view>
+			</view>
+			
+			<view class="row">
+				<view class="left">杂质(%)</view>
+				<view class="right">{{auditInfo.impurityTotal}}</view>
+			</view>
+			
+			<view class="row">
+				<view class="left">热损伤(%)</view>
+				<view class="right">{{auditInfo.jiaorenliTotal}}</view>
+			</view>
+			<view class="row">
+				<view class="left">霉变粒(%)</view>
+				<view class="right">{{auditInfo.mildewGrainTotal}}</view>
+			</view>
+			<view class="row" style="border-bottom:0">
+				<view class="left">不完善粒(%)</view>
+				<view class="right">{{auditInfo.imperfectGrainTotal}}</view>
+			</view>
+		</view>
+		<view class="content1" v-if="url && url != 'ng'">
+			<view class="title ">
+				附件
+			</view>
+			<view class="file" @click="openXls">
+				<image src="../../../static/img/excle.png" mode="" class="img_css"></image>
+				<text class="text_css">明细.xls</text>
+			</view>
+		</view>
 		<view class="content2">
-			<view v-for="(item,index) in auditList" :key='index'>
+			<view class="title row">
+			    流程
+			</view>
+			<view v-for="(item,index) in auditList" :key='index' class="audit">
 				<view class="row">
 					<view class="left">
 						<view class="item1">
 							<image :src="src" style="width: 100rpx;height: 100rpx;border-radius: 500%;"></image>
 						</view>
 						<view class="item2">
-							<view class="name">{{item.desc}}</view>
-							<view class="status">发起审批</view>
+							<view class="name">{{item.operatorMajorRoleName}}</view>
+							<view class="status">{{item.approved ? "已审核":"待决策人审核"}}</view>
 						</view>
-
 					</view>
 					<view class="right">
 						{{item.updateDate}}
 					</view>
 				</view>
-				<view class="row-line" v-if="index!=3"></view>
+				<view class="row-line" v-if="index!= auditList.length - 1"></view>
 			</view>
 
 		</view>
@@ -178,7 +193,7 @@
 	export default {
 		data() {
 			return {
-				src: 'https://www.uviewui.com/index/banner_1920x1080.png',
+				src: '../../../static/img/myimg/LiangShang@2x.png',
 				isSHowBtn: true,
 				height: 200,
 				autoHeight: true,
@@ -197,6 +212,7 @@
 				auditInfo: {},
 				id: "",
 				auditList:[],
+				url:"11",
 			}
 		},
 		onBackPress(e) {
@@ -220,6 +236,23 @@
 			...mapState(['hasLogin', 'userInfo']),
 		},
 		methods: {
+			openXls(){
+				if(this.url && this.url != "ng"){
+					uni.downloadFile({
+					url: this.url,
+					success: function(res) {
+						var filePath = res.tempFilePath;
+						uni.openDocument({
+							filePath: filePath,
+							showMenu: true,
+							success: function(res) {
+								console.log('打开文档成功');
+							}
+						});
+					}
+				});
+			}	
+			},
 			getList() {
 				// /workflow/query/workflowDefinitions
 				// /workflow/query/workflowInfo  exportPhoneData
@@ -227,19 +260,21 @@
 					warehouseName: this.vesselId,
 				}).then(res1 => {
 					if (res1.data.code == 200) {
-						uni.downloadFile({
-							url: res1.data.data,
-							success: function(res1) {
-								var filePath = res1.tempFilePath;
-								uni.openDocument({
-									filePath: filePath,
-									showMenu: true,
-									success: function(res1) {
-										console.log('打开文档成功');
-									}
-								});
-							}
-						});
+						this.url = res1.data.data
+						// uni.downloadFile({
+						// 	url: res1.data.data,
+						// 	success: function(res1) {
+						// 		var filePath = res1.tempFilePath;
+						// 		uni.openDocument({
+						// 			filePath: filePath,
+						// 			showMenu: true,
+						// 			success: function(res1) {
+						// 				console.log('打开文档成功');
+						// 			}
+						// 		});
+						// 	}
+						// });
+						
 					}
 				})
 				this.$api.doRequest('post', '/paymentManagement/exportPhoneData', {
@@ -247,6 +282,7 @@
 				}).then(res1 => {
 					if (res1.data.code == 200) {
 						this.auditInfo = res1.data.data
+						this.auditInfo.amountIngPayableTotal1 = helper.convertCurrency(this.auditInfo.amountIngPayableTotal)
 					}
 				})
 				this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
@@ -254,10 +290,30 @@
 					tmpCompId: uni.getStorageSync('pcUserInfo').compId
 				}).then(res1 => {
 					this.updateDate = res1.data.data[0].updateDate 
-					this.$api.doRequest('get', '/workflow/query/workflowInfo', {
-						workflowId: res1.data.data[0].id
+					// this.$api.doRequest('get', '/workflow/query/workflowInfo', {
+					// 	workflowId: res1.data.data[0].id
+					// }).then(response => {
+					// 	this.auditList = response.data.data.steps
+					// })
+					uni.showLoading({
+						title:"加载中...",
+						mask:true
+					})
+					this.$api.doRequest('get', '/commonUser/getHis', {
+						workflowId: res1.data.data[0].id,
+						 businessKey:this.id
 					}).then(response => {
-						this.auditList = response.data.data.steps
+						uni.hideLoading()
+						debugger
+						this.auditList = response.data.data
+						
+						// for(var i = 0 ; i < response.data.data.length ; i++){
+						// 	if(response.data.data[i].approved){
+						// 		this.auditList.push(response.data.data[i])
+						// 	}
+						// }
+						// this.auditList = response.data.data
+						// this.auditList = response.data.data.steps
 					})
 				})
 				// this.$api.doRequest('get', '/workflow/query/workflowInfo',
@@ -408,7 +464,6 @@
 		// 	color: #22C572;
 		// 	font-weight: 600;
 		// }
-
 		.row {
 			display: flex;
 			justify-content: space-between;
@@ -421,6 +476,33 @@
 				// color: #333333;
 			}
 		}
+		.img_css{
+			width: 50rpx;
+			height: 50rpx;
+		}
+		.file{
+			display: flex;
+			align-items: center;
+			margin: 30rpx 0 0 20rpx;
+			.text_css{
+				font-size: 30rpx;
+				margin-left: 20rpx;
+			}
+		}
+	}
+	.title{
+		font-size: 34rpx;
+		font-weight: 700;
+		// margin-bottom: 20rpx;
+		height: 70rpx;
+		border-bottom: 2rpx solid #EEEEEE;
+	}
+	.titlerow{
+		font-size: 34rpx;
+		font-weight: 700;
+		// margin-bottom: 20rpx;
+		// height: 70rpx;
+		// border-bottom: 2rpx solid #EEEEEE;
 	}
 
 	.content2 {
@@ -455,7 +537,6 @@
 				color: #B0B1B5;
 				margin-top: 10px;
 			}
-
 		}
 
 		.row-line {
@@ -465,6 +546,9 @@
 			margin: 10rpx 50rpx;
 
 		}
+		.audit{
+			margin-top: 20rpx;
+		}
 	}
 
 	.bottom-btn {

+ 58 - 49
pages/task/my_task.vue

@@ -2,7 +2,8 @@
 	<view class="content">
 		<view class="content1-top">
 			<view class="search-form round">
-				<u-search placeholder-color='#AFB3BF' search-icon-color='#AFB3BF' bg-color='#F5F6F9' placeholder="请输入合同编号、车牌号或派车编号" v-model="keyword" @search="searchKeyWord()"
+				<u-search placeholder-color='#AFB3BF' search-icon-color='#AFB3BF' bg-color='#F5F6F9'
+					placeholder="请输入合同编号、车牌号或派车编号" v-model="keyword" @search="searchKeyWord()"
 					@custom="searchKeyWord()"></u-search>
 			</view>
 			<view class="top2">
@@ -23,12 +24,12 @@
 					<view class="title flex align-item-center">
 						<view>
 							<view v-if='statusFlag==1' class="title-row1">待审批
-								<text v-if='item.vesselId' >({{item.vesselId}})</text>
+								<text v-if='item.vesselId'>({{item.vesselId}})</text>
 							</view>
 							<view v-if='statusFlag==3' class="title-row1">已审批
 								<text v-if='item.vesselId'>({{item.vesselId}})</text>
 							</view>
-							
+
 							<view style='font-size:12px;color:#878C9C;'>{{item.createDate}}</view>
 						</view>
 						<text v-if='statusFlag==1' style='color:#FE6430;'>{{item.messageTitle}}</text>
@@ -78,10 +79,7 @@
 					pageSize: 10,
 					currentPage: 1
 				},
-				data: {
-					pageSize: 10,
-					currentPage: 1
-				},
+				data: {},
 				keyword: "",
 				copyTaskInfo: []
 			};
@@ -89,7 +87,7 @@
 		onBackPress(e) {
 			if (uni.getStorageSync("everyTask")) {
 				uni.switchTab({
-				    url: '/pages/user/user'
+					url: '/pages/user/user'
 				});
 				return true
 			}
@@ -107,10 +105,9 @@
 						item.itemUrl = '/pages/task/procurement_details?id=' + item.businessId
 					} else if (item.businessCode == 'SALE-ORDER-APPROVE') {
 						item.itemUrl = '/pages/task/sale_details?id=' + item.businessId
-					}
-					 else if (item.businessCode == 'DAISHOU-CONTRACT-APPROVE') {
-					 	item.itemUrl = '/pages/task/audit/daishou_details?id=' + item.businessId
-					 }else if (item.businessCode == 'SALE-CONTRACT-APPROVE') {
+					} else if (item.businessCode == 'DAISHOU-CONTRACT-APPROVE') {
+						item.itemUrl = '/pages/task/audit/daishou_details?id=' + item.businessId
+					} else if (item.businessCode == 'SALE-CONTRACT-APPROVE') {
 						item.itemUrl = '/pages/task/audit/salecontract?id=' + item.businessId
 					} else if (item.businessCode == 'BUY-CONTRACT-APPROVE') {
 						item.itemUrl = '/pages/task/audit/purchasecontract?id=' + item.businessId
@@ -161,20 +158,19 @@
 						} else {
 							item.itemUrl = `/pages/task/audit/freight_setting_details?id=` + item.businessId
 						}
-					}else if (item.businessCode == 'ACQUISITION-SETTLEMENT-APPRPVE') {//库点收购
+					} else if (item.businessCode == 'ACQUISITION-SETTLEMENT-APPRPVE') { //库点收购
 						if (this.statusFlag == 1) {
 							item.itemUrl = `/pages/task/audit/acquisition_information_approval?id=` + item.businessId
 						} else {
 							item.itemUrl = `/pages/task/audit/acquisition_information_details?id=` + item.businessId
 						}
-					}else if (item.businessCode == 'TRADE-WAREHOUSE-REPORT') {//贸易服务
+					} else if (item.businessCode == 'TRADE-WAREHOUSE-REPORT') { //贸易服务
 						if (this.statusFlag == 1) {
 							item.itemUrl = `/pages/task/audit/tradeServices_audit?id=` + item.businessId
 						} else {
 							item.itemUrl = `/pages/task/audit/tradeServices_audit_approval?id=` + item.businessId
 						}
-					}
-					else if (item.businessCode == 'COLLECTION-WAREHOUSING-RECORD') {
+					} else if (item.businessCode == 'COLLECTION-WAREHOUSING-RECORD') {
 						if (this.statusFlag == 1) {
 							item.itemUrl = `/pages/task/audit/collection_business_approval?id=` + item.businessId
 						} else {
@@ -240,15 +236,17 @@
 			// this.warehouseInOutInfo.phone = this.userInfo.phone
 		},
 		onReachBottom() { //上拉触底函数
-			if (!this.isLoadMore) { //此处判断,上锁,防止重复请求
-				this.pages += 1
-				if (this.statusFlag == 1) {
-					this.warehouseInOutInfo.currentPage += 1
-				} else {
-					this.data.currentPage += 1
-				}
+			if (this.statusFlag == 3) {
+				if (!this.isLoadMore) { //此处判断,上锁,防止重复请求
+					this.pages += 1
+					if (this.statusFlag == 1) {
+						this.warehouseInOutInfo.currentPage += 1
+					} else {
+						this.data.currentPage += 1
+					}
 
-				this.getIndexBuyData()
+					this.getIndexBuyData()
+				}
 			}
 		},
 		// onLoad(options) {
@@ -340,6 +338,7 @@
 				})
 			},
 			getIndexBuyData(status) {
+				debugger
 				const that = this
 				var pages = that.pages
 				var limit = that.limit
@@ -349,14 +348,16 @@
 				})
 				var data = {}
 				if (this.statusFlag == 1) {
-					data = this.warehouseInOutInfo
+					// data = this.warehouseInOutInfo
 					url = '/newNoticeTask/query/noticeTasks'
 				} else {
-					data = this.data
+					data.currentPage = pages
+					data.pageSize = limit
+					data.roleId = this.userInfo.roleIds
+					data.userId = this.userInfo.id
 					url = '/commonUser/query/findHisPageNoticeTasks'
 				}
-				data.currentPage = pages
-				data.pageSize = limit
+
 
 				//this.warehouseInOutInfo.status = this.status
 				this.$api.doRequest('get', url, data).then(res => {
@@ -389,7 +390,7 @@
 							// 	_str.showRow = false
 							// }.split(' ')[0]
 							this.taskInfo[i].department = this.taskInfo[i].messageTitle
-							if(this.taskInfo[i].messageContent.split(' ').length > 1){
+							if (this.taskInfo[i].messageContent.split(' ').length > 1) {
 								this.taskInfo[i].messageContent = this.taskInfo[i].messageContent.split(' ')[1]
 							}
 							if (this.taskInfo[i].businessType == 'WAREHOUSE') {
@@ -433,11 +434,11 @@
 								if (this.taskInfo[i].businessCode == 'TRAN-TASK-APPROVE') {
 									this.taskInfo[i].messageTitle = '运费设置'
 								}
-							}else if (this.taskInfo[i].businessType == 'ACQ') {
+							} else if (this.taskInfo[i].businessType == 'ACQ') {
 								if (this.taskInfo[i].businessCode == 'ACQUISITION-SETTLEMENT-APPRPVE') {
 									this.taskInfo[i].messageTitle = '收购信息审核'
 								}
-							}else if (this.taskInfo[i].businessType == 'TRADE') {
+							} else if (this.taskInfo[i].businessType == 'TRADE') {
 								if (this.taskInfo[i].businessCode == 'TRADE-WAREHOUSE-REPORT') {
 									this.taskInfo[i].messageTitle = '贸易服务审核'
 								}
@@ -491,16 +492,15 @@
 					uni.navigateTo({
 						url: '/pages/task/audit/salecontract?id=' + item.businessId + "&isShowbtn=true"
 					})
-				} 
-				else if (item.businessCode == 'DAISHOU-CONTRACT-APPROVE') {
+				} else if (item.businessCode == 'DAISHOU-CONTRACT-APPROVE') {
 					uni.navigateTo({
 						url: '/pages/task/audit/daishou_details?id=' + item.businessId + "&isShowbtn=true"
 					})
-				}else if (item.businessCode == 'DAICHU-CONTRACT-APPROVE') {
+				} else if (item.businessCode == 'DAICHU-CONTRACT-APPROVE') {
 					uni.navigateTo({
 						url: '/pages/task/audit/daichu_details?id=' + item.businessId + "&isShowbtn=true"
 					})
-				}else if (item.businessCode == 'BUY-CONTRACT-APPROVE') {
+				} else if (item.businessCode == 'BUY-CONTRACT-APPROVE') {
 					uni.navigateTo({
 						url: '/pages/task/audit/purchasecontract?id=' + item.businessId + "&isShowbtn=true"
 					})
@@ -533,12 +533,13 @@
 				} else if (item.businessCode == 'PAYMENT-MANAGEMENT-APPROVE') {
 					if (this.statusFlag == 1) {
 						uni.navigateTo({
-							url: `/pages/task/audit/acquisition_settlement_approval?vesselId=${item.vesselId}&id=${item.acceptId}`
+							url: `/pages/task/audit/acquisition_settlement_approval?vesselId=${item.vesselId}&id=${item.businessId}`
 						})
 
 					} else {
 						uni.navigateTo({
-							url: '/pages/task/audit/acquisition_settlement_details?id=' + item.businessId +'&isShowbtn=true'
+							url: '/pages/task/audit/acquisition_settlement_details?id=' + item.businessId +
+								'&isShowbtn=true'
 						})
 					}
 				} else if (item.businessCode == 'INOUTTASK-TASK-APPROVE') {
@@ -591,7 +592,7 @@
 								"&isShowbtn=true"
 						})
 					}
-				}else if (item.businessCode == 'TRAN-TEAM-APPROVE') {
+				} else if (item.businessCode == 'TRAN-TEAM-APPROVE') {
 					if (this.statusFlag == 1) {
 						uni.navigateTo({
 							url: `/pages/task/audit/freight_setting_approval?id=` + item.businessId +
@@ -603,20 +604,22 @@
 								"&isShowbtn=true"
 						})
 					}
-				}else if (item.businessCode == 'ACQUISITION-SETTLEMENT-APPRPVE') {
+				} else if (item.businessCode == 'ACQUISITION-SETTLEMENT-APPRPVE') {
 					if (this.statusFlag == 1) {
 						uni.navigateTo({
-							url: `/pages/task/audit/acquisition_information_approval?id=` + item.businessId + "&isShowbtn=true"
+							url: `/pages/task/audit/acquisition_information_approval?id=` + item.businessId +
+								"&isShowbtn=true"
 						})
 					} else {
 						uni.navigateTo({
-							url: `/pages/task/audit/acquisition_information_details?id=` + item.businessId + "&isShowbtn=true"
+							url: `/pages/task/audit/acquisition_information_details?id=` + item.businessId +
+								"&isShowbtn=true"
 						})
 					}
-				}else if (item.businessCode == 'TRADE-WAREHOUSE-REPORT') {
+				} else if (item.businessCode == 'TRADE-WAREHOUSE-REPORT') {
 					if (this.statusFlag == 1) {
 						uni.navigateTo({
-							url: `/pages/task/audit/tradeServices_audit?id=` + item.businessId 
+							url: `/pages/task/audit/tradeServices_audit?id=` + item.businessId
 						})
 					} else {
 						uni.navigateTo({
@@ -626,15 +629,17 @@
 				} else if (item.businessCode == 'COLLECTION-WAREHOUSING-RECORD') {
 					if (this.statusFlag == 1) {
 						uni.navigateTo({
-							url: `/pages/task/audit/collection_business_approval?id=` + item.businessId + "&isShowbtn=true"
+							url: `/pages/task/audit/collection_business_approval?id=` + item.businessId +
+								"&isShowbtn=true"
 						})
 					} else {
 						uni.navigateTo({
-							url: `/pages/task/audit/collection_business_details?id=` + item.businessId + "&isShowbtn=true"
+							url: `/pages/task/audit/collection_business_details?id=` + item.businessId +
+								"&isShowbtn=true"
 						})
 					}
-				} 
-				
+				}
+
 				if (item.taskType == "入库任务") {
 
 					if (item.statusFlag == 3) {
@@ -663,6 +668,10 @@
 </script>
 
 <style lang="scss" scoped>
+	.content {
+		padding-bottom: 50rpx;
+	}
+
 	.tag {
 		background: #F5F6F9;
 		padding: 5px;
@@ -774,8 +783,8 @@
 
 	.title-row1 {
 		font-size: 34rpx;
-		font-weight:600;
-		
+		font-weight: 600;
+
 	}
 
 	.row2 {

BIN
static/img/excle.png