wangchao 2 anni fa
parent
commit
555a13f261

+ 66 - 58
pages/task/audit/charge_against_revenue.vue

@@ -115,7 +115,8 @@
 			</view>
 			<view v-if='auditInfo.srcList.length>0' class="">
 				<view style='flex-wrap: wrap;' class="file">
-					<image v-for='(item,index) in auditInfo.srcList'  @click="previewImageFn(index)" class='fujianImg' :src="item" mode=""></image>
+					<image v-for='(item,index) in auditInfo.srcList' @click="previewImageFn(index)" class='fujianImg'
+						:src="item" mode=""></image>
 				</view>
 			</view>
 			<view v-else class="">
@@ -153,7 +154,7 @@
 				</view>
 				<view class="row-line" v-if="index!= auditList.length - 1"></view>
 			</view>
-		
+
 		</view>
 		<view v-if='show' class="shade">
 			<view class="wrap">
@@ -206,7 +207,9 @@
 				updateDate: "",
 				warehouseName: "",
 				everyCheck: '',
-				auditInfo: {srcList:[]},
+				auditInfo: {
+					srcList: []
+				},
 				id: "",
 				auditList: [],
 				url: "11",
@@ -234,49 +237,51 @@
 		},
 		methods: {
 			previewImageFn(index) {
-						/* 预览图片 */
-						uni.previewImage({
-							current: index,
-							/* 需要是数组 */
-							urls: this.auditInfo.srcList,
-							/* 默认底部圆点  number顶部数字1234 */
-							// indicator:'default',
-							indicator: 'number',
-							loop: false,
-							/* 长按图片底部显示选项 */
-							longPressActions: {
-								itemList: ['保存图片'],
-								itemColor: '#d60000',
-								success: data => {
-									console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
-									/* 保存图片到系统相册 */
-									plus.nativeUI.closePreviewImage();
-									if(data.tapIndex==0){
-										uni.saveImageToPhotosAlbum({
-											filePath:this.auditInfo.srcList[data.index],
-											success:res=>{
-												// console.log(this.userImgList[data.index])
-												// console.log(res.path,"res")
-												// plus.nativeUI.closePreviewImage();
-												plus.nativeUI.closePreviewImage();    
-												// uni.closePreviewImage()
-												plus.nativeUI.toast("保存成功",{background:"#c3002f"});
-												// this.$http.showTK({title:"保存成功",duration:500,position:"bottom"})
-											},
-											fail:err=>{
-												console.log(err,"err")
-											}
-										})
-									}else if(data.tapIndex==1){
-										this.uniShare()
+				/* 预览图片 */
+				uni.previewImage({
+					current: index,
+					/* 需要是数组 */
+					urls: this.auditInfo.srcList,
+					/* 默认底部圆点  number顶部数字1234 */
+					// indicator:'default',
+					indicator: 'number',
+					loop: false,
+					/* 长按图片底部显示选项 */
+					longPressActions: {
+						itemList: ['保存图片'],
+						itemColor: '#d60000',
+						success: data => {
+							console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
+							/* 保存图片到系统相册 */
+							plus.nativeUI.closePreviewImage();
+							if (data.tapIndex == 0) {
+								uni.saveImageToPhotosAlbum({
+									filePath: this.auditInfo.srcList[data.index],
+									success: res => {
+										// console.log(this.userImgList[data.index])
+										// console.log(res.path,"res")
+										// plus.nativeUI.closePreviewImage();
+										plus.nativeUI.closePreviewImage();
+										// uni.closePreviewImage()
+										plus.nativeUI.toast("保存成功", {
+											background: "#c3002f"
+										});
+										// this.$http.showTK({title:"保存成功",duration:500,position:"bottom"})
+									},
+									fail: err => {
+										console.log(err, "err")
 									}
-								},
-								fail: err => {
-									console.log(err.errMsg);
-								}
+								})
+							} else if (data.tapIndex == 1) {
+								this.uniShare()
 							}
-						});
-					},
+						},
+						fail: err => {
+							console.log(err.errMsg);
+						}
+					}
+				});
+			},
 			openXls() {
 				if (this.url && this.url != "ng") {
 					uni.downloadFile({
@@ -323,21 +328,22 @@
 				// 	}
 				// })
 				this.$api.doRequest('post', '/expenseInfo/exportPhone', {
-					id:this.id
+					id: this.id
 				}).then(res1 => {
 					if (res1.data.code == 200) {
 						this.url = res1.data.data
 					}
 				})
 				this.$api.doRequest('get', '/expenseInfo/ExpenseInfo', {
-					id:this.id
+					id: this.id
 				}).then(res1 => {
 					if (res1.data.code == 200) {
+						debugger
 						this.auditInfo = res1.data.data
-						if(this.auditInfo.addressUrl&&this.auditInfo.addressUrl!=''){
-							this.auditInfo.srcList=this.auditInfo.addressUrl.split(',')
-						}else{
-							this.auditInfo.srcList=[]
+						if (this.auditInfo.addressUrl && this.auditInfo.addressUrl != '') {
+							this.auditInfo.srcList = this.auditInfo.addressUrl.split(',')
+						} else {
+							this.auditInfo.srcList = []
 						}
 						this.auditInfo.amountIngPayableTotal1 = helper.convertCurrency(this.auditInfo
 							.amountIngPayableTotal)
@@ -412,7 +418,7 @@
 									var count = 0
 									for (let num = 0; num < that.List.length; num++) {
 										that.$api.doRequest('post', '/workflow/api/handle', {
-											taskId: that.List[num].taskId,
+											taskId: that.auditInfo.taskId,
 											approved: false,
 											auditMind: that.auditMind ? that.auditMind : "",
 											needReapply: true
@@ -432,6 +438,7 @@
 						})
 					}
 				} else {
+					debugger
 					var that = this
 					this.show = false
 					uni.showModal({
@@ -447,7 +454,7 @@
 								for (let num = 0; num < that.List.length; num++) {
 									var tmp = 0
 									that.$api.doRequest('post', '/workflow/api/handle', {
-										taskId: that.List[num].taskId,
+										taskId: that.auditInfo.taskId,
 										approved: true,
 										auditMind: that.auditMind ? that.auditMind : "",
 										needReapply: false
@@ -796,11 +803,12 @@
 	/deep/.u-input__textarea {
 		height: 300rpx !important;
 	}
-	.fujianImg{
-		width:30%;
-		height:80px;
-		border-radius:3px;
-		border:1px solid #ccc;
-		margin:5px;
+
+	.fujianImg {
+		width: 30%;
+		height: 80px;
+		border-radius: 3px;
+		border: 1px solid #ccc;
+		margin: 5px;
 	}
 </style>

+ 25 - 277
pages/task/audit/charge_against_revenue_detail.vue

@@ -13,9 +13,9 @@
 						<!-- 待审核 -->
 					</view>
 					<!-- {{auditList.length > 0 ?auditList[auditList.length - 1].operatorMajorRoleName:""}} -->
-					<view class="infoText">待决策人审核</view>
+					<view class="infoText">{{auditInfo.status}}</view>
 				</view>
-				<view class="infoData">{{updateDate}}</view>
+				<view class="infoData">{{auditInfo.updateDate}}</view>
 			</view>
 		</view>
 		<!-- 	<view class='content1'>
@@ -115,22 +115,14 @@
 			</view>
 			<view v-if='auditInfo.srcList.length>0' class="">
 				<view style='flex-wrap: wrap;' class="file">
-					<image v-for='(item,index) in auditInfo.srcList'  @click="previewImageFn(index)" class='fujianImg' :src="item" mode=""></image>
+					<image v-for='(item,index) in auditInfo.srcList' @click="previewImageFn(index)" class='fujianImg'
+						:src="item" mode=""></image>
 				</view>
 			</view>
 			<view v-else class="">
 				暂无附件
 			</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 class="title row">
 				流程
@@ -153,31 +145,11 @@
 				</view>
 				<view class="row-line" v-if="index!= auditList.length - 1"></view>
 			</view>
-		
-		</view>
-		<view v-if='show' class="shade">
-			<view class="wrap">
-				<view class="alert-top">
-					<view class="title">
-						{{title}}
-					</view>
-					<u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
-				</view>
-				<view class="u-textarea-style">
-					<view class="right-bottom">
-						{{auditMind.length}}/100个字
-					</view>
-					<u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
-						maxlength="100" />
-				</view>
-				<view @click='close()' class="cancel">取消</view>
-				<view @click='passSubmit()' class="confirm">确定</view>
-			</view>
+
 		</view>
 		<u-toast ref="uToast" />
 		<view style='padding:10px;' class='flex bottom-btn'>
-			<u-button @click='reject' type="error" class="btn1" hover-class='none'>驳回</u-button>
-			<u-button @click='pass' type="success" class="btn2">通过</u-button>
+			<u-button @click='fanHui' type="success" class="btn2">返回</u-button>
 		</view>
 	</view>
 </template>
@@ -206,7 +178,9 @@
 				updateDate: "",
 				warehouseName: "",
 				everyCheck: '',
-				auditInfo: {srcList:[]},
+				auditInfo: {
+					srcList: []
+				},
 				id: "",
 				auditList: [],
 				url: "11",
@@ -233,50 +207,6 @@
 			...mapState(['hasLogin', 'userInfo']),
 		},
 		methods: {
-			previewImageFn(index) {
-						/* 预览图片 */
-						uni.previewImage({
-							current: index,
-							/* 需要是数组 */
-							urls: this.auditInfo.srcList,
-							/* 默认底部圆点  number顶部数字1234 */
-							// indicator:'default',
-							indicator: 'number',
-							loop: false,
-							/* 长按图片底部显示选项 */
-							longPressActions: {
-								itemList: ['保存图片'],
-								itemColor: '#d60000',
-								success: data => {
-									console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
-									/* 保存图片到系统相册 */
-									plus.nativeUI.closePreviewImage();
-									if(data.tapIndex==0){
-										uni.saveImageToPhotosAlbum({
-											filePath:this.auditInfo.srcList[data.index],
-											success:res=>{
-												// console.log(this.userImgList[data.index])
-												// console.log(res.path,"res")
-												// plus.nativeUI.closePreviewImage();
-												plus.nativeUI.closePreviewImage();    
-												// uni.closePreviewImage()
-												plus.nativeUI.toast("保存成功",{background:"#c3002f"});
-												// this.$http.showTK({title:"保存成功",duration:500,position:"bottom"})
-											},
-											fail:err=>{
-												console.log(err,"err")
-											}
-										})
-									}else if(data.tapIndex==1){
-										this.uniShare()
-									}
-								},
-								fail: err => {
-									console.log(err.errMsg);
-								}
-							}
-						});
-					},
 			openXls() {
 				if (this.url && this.url != "ng") {
 					uni.downloadFile({
@@ -299,49 +229,27 @@
 					title: "加载中...",
 					mask: true
 				})
-				this.$api.doRequest('get', '/paymentManagement/selectPaymentManagement', {
-					currentPage: 1,
-					pageSize: 100,
-					searchType: '1', //searchType:1待审核
-					warehouseName: this.vesselId,
-					managementType: 1
-				}).then(res1 => {
-					uni.hideLoading()
-					if (res1.data.code == 200) {
-						this.List = res1.data.data.records
-					}
-				})
-				// this.$api.doRequest('get', '/paymentManagement/getInfo', {
-				// 	id: this.id
-				// }).then(res => {
-				// 	if (res.data.code == 200) {
-				// 		uni.showLoading({
-				// 			title: "加载中...",
-				// 			mask: true
-				// 		})
-
-				// 	}
-				// })
 				this.$api.doRequest('post', '/expenseInfo/exportPhone', {
-					warehouseName: this.vesselId,
+					id: this.id
 				}).then(res1 => {
 					if (res1.data.code == 200) {
 						this.url = res1.data.data
 					}
 				})
-				this.$api.doRequest('post', '/paymentManagement/exportPhoneData', {
-					warehouseName: this.vesselId,
-					searchType: 1
+				this.$api.doRequest('get', '/expenseInfo/ExpenseInfo', {
+					id: this.id
 				}).then(res1 => {
 					if (res1.data.code == 200) {
+						debugger
 						this.auditInfo = res1.data.data
-						if(this.auditInfo.addressUrl&&this.auditInfo.addressUrl!=''){
-							this.auditInfo.srcList=this.auditInfo.addressUrl.split(',')
-						}else{
-							this.auditInfo.srcList=[]
+						if (this.auditInfo.addressUrl && this.auditInfo.addressUrl != '') {
+							this.auditInfo.srcList = this.auditInfo.addressUrl.split(',')
+						} else {
+							this.auditInfo.srcList = []
 						}
 						this.auditInfo.amountIngPayableTotal1 = helper.convertCurrency(this.auditInfo
 							.amountIngPayableTotal)
+						uni.hideLoading()
 					}
 				})
 				this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
@@ -359,167 +267,6 @@
 					})
 				})
 			},
-			close() {
-				this.show = false
-			},
-			pass() {
-				this.show = true
-				this.title = '审核意见(通过)'
-			},
-			reject() {
-				this.show = true
-				this.title = '驳回原因(驳回)'
-			},
-			//驳回
-			// rejectSubmit() {
-			// 	if (!this.auditMind) {
-			// 		this.$api.msg('驳回原因不能为空!')
-			// 	} else {
-			// 		var that = this
-			// 		that.show = false
-			// 		if (this.List.length > 0) {
-			// 			uni.showModal({
-			// 				content: "确定驳回付款申请?",
-			// 				showCancel: true,
-			// 				confirmText: '确定',
-			// 				success: function(res) {
-			// 					if (res.confirm) {
-			// 						that.audit(that.List[0], 0, false, '', '')
-			// 					}
-			// 				}
-			// 			})
-			// 		}
-			// 	}
-			// },
-			//审核确定
-			passSubmit() {
-				var that = this
-				that.show = false
-				if (this.title == '驳回原因(驳回)') {
-					// this.rejectSubmit()
-					if (!that.auditMind) {
-						this.$api.msg('驳回原因不能为空!')
-					} else {
-						uni.showModal({
-							content: "确定驳回付款申请?",
-							showCancel: true,
-							confirmText: '确定',
-							success: function(res) {
-								if (res.confirm) {
-									uni.showLoading({
-										title: "审核中...",
-										mask: true
-									})
-									var count = 0
-									// for (let num = 0; num < that.List.length; num++) {
-										that.$api.doRequest('post', '/workflow/api/handle', {
-											taskId: that.auditInfo.taskId,
-											approved: false,
-											auditMind: that.auditMind ? that.auditMind : "",
-											needReapply: true
-										}).then(res => {
-											// count++
-											// if (count == that.List.length) {
-												uni.hideLoading()
-												that.$api.msg('审核成功!')
-												setTimeout(function() {
-													uni.navigateBack();
-												}, 2000);
-											// }
-										})
-									// }
-								}
-							}
-						})
-					}
-				} else {
-					var that = this
-					this.show = false
-					uni.showModal({
-						content: "确定通过付款申请?",
-						showCancel: true,
-						confirmText: '确定',
-						success: function(res) {
-							if (res.confirm) {
-								uni.showLoading({
-									title: "审核中...",
-									mask: true
-								})
-								// for (let num = 0; num < that.List.length; num++) {
-								// 	var tmp = 0
-									that.$api.doRequest('post', '/workflow/api/handle', {
-										taskId: that.auditInfo.taskId,
-										approved: true,
-										auditMind: that.auditMind ? that.auditMind : "",
-										needReapply: false
-									}).then(res => {
-										// tmp++
-										// if (tmp == that.List.length) {
-											uni.hideLoading()
-											that.$api.msg('审核成功!')
-											setTimeout(function() {
-												uni.navigateBack();
-											}, 2000);
-										// }
-									})
-								// }
-							}
-						}
-					})
-				}
-			},
-			// audit(list, index, status, status2, reason) {
-			// 	uni.showLoading({
-			// 		title: "审核中"
-			// 	})
-			// 	if (this.List.length > 0) {
-			// 		if (status == true && list.status == "已驳回") {
-			// 			this.$api.doRequest('get', '/paymentManagement/api/openAuditFlow', {
-			// 				compId: "2710b21efc1e4393930c5dc800010dc4",
-			// 				id: list.id
-			// 			}).then(res => {
-			// 				if (res.data.code == 200) {
-			// 					this.audit(this.List[index + 1], index + 1, status, status2, reason)
-			// 				}
-			// 			})
-			// 		} else {
-			// 			for (var i = 0; i < this.List.length; i++) {
-			// 				this.$api.doRequest('post', '/workflow/api/handle', {
-			// 					taskId: this.List[i].taskId,
-			// 					approved: status,
-			// 					auditMind: this.auditMind ? this.auditMind : "",
-			// 					needReapply: status2 ? true : false
-			// 				}).then(res => {
-			// 					if (res.data.code == 200) {
-			// 						uni.hideLoading()
-			// 						// this.audit(this.List[index + 1], index + 1, status, status2, reason)
-			// 						this.$api.msg('通过成功')
-			// 					}else{
-			// 						uni.hideLoading()
-			// 						this.$api.msg('审核失败')
-			// 					}
-			// 				})
-			// 			}
-
-			// 		}
-			// 	} else {
-			// 		if (status == true) {
-			// 			this.$api.msg('通过成功')
-			// 		} else if (status == false) {
-			// 			this.$api.msg('驳回成功')
-			// 		}
-			// 		let that = this
-			// 		setTimeout(function() {
-
-			// 			if (that.everyCheck) {
-			// 				helper.setAudit(that.list)
-			// 			} else {
-			// 				uni.navigateBack()
-			// 			}
-			// 			uni.hideLoading()
-			// 		}, 1000);
-			// 	}
-			// },
 		}
 	}
 </script>
@@ -797,11 +544,12 @@
 	/deep/.u-input__textarea {
 		height: 300rpx !important;
 	}
-	.fujianImg{
-		width:30%;
-		height:80px;
-		border-radius:3px;
-		border:1px solid #ccc;
-		margin:5px;
+
+	.fujianImg {
+		width: 30%;
+		height: 80px;
+		border-radius: 3px;
+		border: 1px solid #ccc;
+		margin: 5px;
 	}
 </style>

+ 101 - 224
pages/task/audit/warehouse_warrant_detail.vue

@@ -13,37 +13,78 @@
 						<!-- 待审核 -->
 					</view>
 					<!-- {{auditList.length > 0 ?auditList[auditList.length - 1].operatorMajorRoleName:""}} -->
-					<view class="infoText">待决策人审核</view>
+					<view class="infoText">{{auditInfo.status}}</view>
 				</view>
-				<view class="infoData">{{updateDate}}</view>
+				<view class="infoData">{{auditInfo.updateDate}}</view>
 			</view>
 		</view>
 
 		<view class="content1">
-			<!-- 	<view class="title">
-				销售外勤 张三
-			</view> -->
+			<view class="title">
+				基本信息
+			</view>
 			<view class="row">
-				<view class="left">合计重量(吨)</view>
-				<view class="right">{{auditInfo.inWarehouseWeightTotal}}</view>
+				<view class="left">请款日期</view>
+				<view class="right">{{auditInfo.requestDate}}</view>
 			</view>
 			<view class="row">
-				<view class="left">合计金额(元)</view>
-				<view class="right">{{auditInfo.requestFundsTotal}}</view>
+				<view class="left">请款人</view>
+				<view class="right">{{auditInfo.requestPerson}}</view>
 			</view>
 			<view class="row">
-				<view class="left">仓库名称</view>
+				<view class="left">所属仓库 </view>
 				<view class="right">{{auditInfo.warehouseName}}</view>
 			</view>
 			<view class="row">
-				<view class="left">入库日期</view>
-				<view class="right">{{auditInfo.issuingTime}}</view>
+				<view class="left">合计重量(吨)</view>
+				<view class="right">{{auditInfo.inWarehouseWeightTotal}}</view>
 			</view>
-			<view class="row" style="border-bottom:0">
-				<view class="left">车数</view>
-				<view class="right">{{auditInfo.count}}</view>
+			<view class="row">
+				<view class="left">合计金额(元)</view>
+				<view class="right">{{auditInfo.requestFundsTotal}}</view>
 			</view>
 		</view>
+		<view class="content1">
+			<view class="title ">
+				支付明细
+			</view>
+			<view class="mx-content" v-for="item in auditInfo.warehousingOrderList">
+				<view class='flex align-center justify-between'>
+					<view class="name">
+						{{item.customer}}
+					</view>
+					<view class="mx-item">
+						{{item.goodsName}}
+					</view>
+				</view>
+				<view class="mx-bottom">
+					<view class="mx-row1">
+
+						<!-- <view class="mx-item">
+							平均容重
+						</view>
+						<view class="mx-item">
+							平均水分
+						</view> -->
+					</view>
+					<view class="mx-row2">
+						<view class="mx-item">
+							{{item.inWarehouseWeight}}吨
+
+						</view>
+						<view class="mx-item">
+							<!-- 2000元/吨 -->
+							{{item.avgCost}}元/吨
+						</view>
+						<view class="mx-item">
+							{{item.requestFunds}}元
+
+						</view>
+					</view>
+				</view>
+			</view>
+
+		</view>
 		<view class="content1" v-if="url && url != 'ng'">
 			<view class="title ">
 				附件
@@ -53,7 +94,7 @@
 				<text class="text_css">明细.xls</text>
 			</view>
 		</view>
-		<view class="content2">
+		<!-- 	<view class="content2">
 			<view class="title row">
 				流程
 			</view>
@@ -75,28 +116,12 @@
 				</view>
 				<view class="row-line" v-if="index!= auditList.length - 1"></view>
 			</view>
-		
-		</view>
-		<view v-if='show' class="shade">
-			<view class="wrap">
-				<view class="alert-top">
-					<view class="title">
-						{{title}}
-					</view>
-					<u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
-				</view>
-				<view class="u-textarea-style">
-					<view class="right-bottom">
-						{{auditMind.length}}/100个字
-					</view>
-					<u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
-						maxlength="100" />
-				</view>
-				<view @click='close()' class="cancel">取消</view>
-				<view @click='passSubmit()' class="confirm">确定</view>
-			</view>
-		</view>
+
+		</view> -->
 		<u-toast ref="uToast" />
+		<view style='padding:10px;' class='flex bottom-btn'>
+			<u-button @click='fanHui' type="success" class="btn2">返回</u-button>
+		</view>
 	</view>
 </template>
 
@@ -151,6 +176,9 @@
 			...mapState(['hasLogin', 'userInfo']),
 		},
 		methods: {
+			fanHui() {
+				uni.navigateBack()
+			},
 			openXls() {
 				if (this.url && this.url != "ng") {
 					uni.downloadFile({
@@ -173,42 +201,21 @@
 					title: "加载中...",
 					mask: true
 				})
-				// this.$api.doRequest('get', '/warehousingOrder/selectInfo', {
-				// 	currentPage: 1,
-				// 	pageSize: 100,
-				// 	searchType: '2', //searchType:1待审核
-				// 	// warehouseName: this.vesselId,
-				// 	managementType: 1
-				// }).then(res1 => {
-				// 	uni.hideLoading()
-				// 	if (res1.data.code == 200) {
-				// 		this.List = res1.data.data.records
-				// 	}
-				// })
-				// this.$api.doRequest('get', '/paymentManagement/getInfo', {
-				// 	id: this.id
-				// }).then(res => {
-				// 	if (res.data.code == 200) {
-				// 		uni.showLoading({
-				// 			title: "加载中...",
-				// 			mask: true
-				// 		})
-
-				// 	}
-				// })
 				this.$api.doRequest('post', '/warehousingOrder/exportPhone', {
-					batchId:this.id,searchType: 1,
+					batchId: this.id,
 				}).then(res1 => {
 					if (res1.data.code == 200) {
 						this.url = res1.data.data
 					}
 				})
-				this.$api.doRequest('post', '/warehousingOrder/exportPhoneData', {searchType: 1,batchId:this.id}).then(res1 => {
+				this.$api.doRequest('post', '/warehousingOrder/exportPhoneData', {
+					batchId: this.id
+				}).then(res1 => {
 					if (res1.data.code == 200) {
 						this.auditInfo = res1.data.data
 						this.auditInfo.amountIngPayableTotal1 = helper.convertCurrency(this.auditInfo
 							.amountIngPayableTotal)
-							uni.hideLoading()
+						uni.hideLoading()
 					}
 				})
 				// this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
@@ -226,167 +233,8 @@
 				// 	})
 				// })
 			},
-			close() {
-				this.show = false
-			},
-			pass() {
-				this.show = true
-				this.title = '审核意见(通过)'
-			},
-			reject() {
-				this.show = true
-				this.title = '驳回原因(驳回)'
-			},
-			//驳回
-			// rejectSubmit() {
-			// 	if (!this.auditMind) {
-			// 		this.$api.msg('驳回原因不能为空!')
-			// 	} else {
-			// 		var that = this
-			// 		that.show = false
-			// 		if (this.List.length > 0) {
-			// 			uni.showModal({
-			// 				content: "确定驳回付款申请?",
-			// 				showCancel: true,
-			// 				confirmText: '确定',
-			// 				success: function(res) {
-			// 					if (res.confirm) {
-			// 						that.audit(that.List[0], 0, false, '', '')
-			// 					}
-			// 				}
-			// 			})
-			// 		}
-			// 	}
-			// },
-			//审核确定
-			passSubmit() {
-				var that = this
-				that.show = false
-				if (this.title == '驳回原因(驳回)') {
-					// this.rejectSubmit()
-					if (!that.auditMind) {
-						this.$api.msg('驳回原因不能为空!')
-					} else {
-						uni.showModal({
-							content: "确定驳回付款申请?",
-							showCancel: true,
-							confirmText: '确定',
-							success: function(res) {
-								if (res.confirm) {
-									uni.showLoading({
-										title: "审核中...",
-										mask: true
-									})
-									var count = 0
-									// for (let num = 0; num < that.List.length; num++) {
-										that.$api.doRequest('post', '/workflow/api/handle', {
-											taskId: that.auditInfo.taskId,
-											approved: false,
-											auditMind: that.auditMind ? that.auditMind : "",
-											needReapply: true
-										}).then(res => {
-											// count++
-											// if (count == that.List.length) {
-												uni.hideLoading()
-												that.$api.msg('审核成功!')
-												setTimeout(function() {
-													uni.navigateBack();
-												}, 2000);
-											// }
-										})
-									// }
-								}
-							}
-						})
-					}
-				} else {
-					var that = this
-					this.show = false
-					uni.showModal({
-						content: "确定通过付款申请?",
-						showCancel: true,
-						confirmText: '确定',
-						success: function(res) {
-							if (res.confirm) {
-								uni.showLoading({
-									title: "审核中...",
-									mask: true
-								})
-								// for (let num = 0; num < that.List.length; num++) {
-								// 	var tmp = 0
-									that.$api.doRequest('post', '/workflow/api/handle', {
-										taskId: that.auditInfo.taskId,
-										approved: true,
-										auditMind: that.auditMind ? that.auditMind : "",
-										needReapply: false
-									}).then(res => {
-										// tmp++
-										// if (tmp == that.List.length) {
-											uni.hideLoading()
-											that.$api.msg('审核成功!')
-											setTimeout(function() {
-												uni.navigateBack();
-											}, 2000);
-										// }
-									})
-								// }
-							}
-						}
-					})
-				}
-			},
-			// audit(list, index, status, status2, reason) {
-			// 	uni.showLoading({
-			// 		title: "审核中"
-			// 	})
-			// 	if (this.List.length > 0) {
-			// 		if (status == true && list.status == "已驳回") {
-			// 			this.$api.doRequest('get', '/paymentManagement/api/openAuditFlow', {
-			// 				compId: "2710b21efc1e4393930c5dc800010dc4",
-			// 				id: list.id
-			// 			}).then(res => {
-			// 				if (res.data.code == 200) {
-			// 					this.audit(this.List[index + 1], index + 1, status, status2, reason)
-			// 				}
-			// 			})
-			// 		} else {
-			// 			for (var i = 0; i < this.List.length; i++) {
-			// 				this.$api.doRequest('post', '/workflow/api/handle', {
-			// 					taskId: this.List[i].taskId,
-			// 					approved: status,
-			// 					auditMind: this.auditMind ? this.auditMind : "",
-			// 					needReapply: status2 ? true : false
-			// 				}).then(res => {
-			// 					if (res.data.code == 200) {
-			// 						uni.hideLoading()
-			// 						// this.audit(this.List[index + 1], index + 1, status, status2, reason)
-			// 						this.$api.msg('通过成功')
-			// 					}else{
-			// 						uni.hideLoading()
-			// 						this.$api.msg('审核失败')
-			// 					}
-			// 				})
-			// 			}
-
-			// 		}
-			// 	} else {
-			// 		if (status == true) {
-			// 			this.$api.msg('通过成功')
-			// 		} else if (status == false) {
-			// 			this.$api.msg('驳回成功')
-			// 		}
-			// 		let that = this
-			// 		setTimeout(function() {
-
-			// 			if (that.everyCheck) {
-			// 				helper.setAudit(that.list)
-			// 			} else {
-			// 				uni.navigateBack()
-			// 			}
-			// 			uni.hideLoading()
-			// 		}, 1000);
-			// 	}
-			// },
+
+
 		}
 	}
 </script>
@@ -664,4 +512,33 @@
 	/deep/.u-input__textarea {
 		height: 300rpx !important;
 	}
+
+	.mx-content {
+		background: #F9F9FA;
+		padding: 30rpx;
+		box-sizing: border-box;
+		margin-top: 20rpx;
+		border-radius: 20rpx;
+
+		.name {
+			font-size: 32rpx;
+			font-weight: 700;
+			border-bottom: 1px solid #EEEEEE;
+			padding-bottom: 8rpx;
+		}
+
+		.mx-row1,
+		.mx-row2 {
+			display: flex;
+			justify-content: space-between;
+			margin-top: 20rpx;
+		}
+
+		.mx-item {
+			text-align: left;
+			// width: 33%;
+			// text-align: center;
+		}
+
+	}
 </style>