Explorar el Código

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-app

gjy hace 1 año
padre
commit
1974c8ce0d

+ 1 - 2
config/index.js

@@ -6,13 +6,12 @@ const dev = {
 	// baseUrlNew: 'http://192.168.110.9:9888/',
 	// baseUrlNew: 'http://192.168.110.138:8090/',
 	// baseUrlNew: 'http://192.168.110.67:9888/',
-	baseUrlNew: 'http://192.168.110.82:8090/',  
 	// baseUrlNew: 'http://192.168.110.82:8090/',
 	// baseUrlNew: 'http://192.168.110.82:8090/',
 	// baseUrlNew: 'http://192.168.110.202:8090/',
 	// baseUrlNew: 'http://192.168.110.138:8090/',
 	// 上传图片的
-	// baseUrlNew: 'https://api2.eliangeyun.com/',
+	baseUrlNew: 'https://api2.eliangeyun.com/',
 	h5Appid: 'wxb66b599f7f61b46f',
 	debug: false
 }

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "易粮易运",
     "appid" : "__UNI__7297DA2",
     "description" : "易粮易运——为天下粮食人服务的App",
-    "versionName" : "2.1.176",
-    "versionCode" : 21176,
+    "versionName" : "2.1.177",
+    "versionCode" : 21177,
     "transformPx" : false,
     /* SDK配置 */
     "quickapp" : {},

+ 1 - 1
pages/bill/index.vue

@@ -50,7 +50,7 @@
 			</view>
 			<view class='flex justify-between align-item-center'>
 				<view style="color:#878C9C;padding:5px;">单价</view>
-				<view>{{(item.tidalGrainPrice-item.unitDeduction).toFixed(2)}}</view>
+				<view>{{(item.tidalGrainPrice-item.unitDeduction).toFixed(3)}}</view>
 			</view>
 			<view class='flex justify-between align-item-center'>
 				<view style="color:#878C9C;padding:5px;">应付</view>

+ 6 - 3
pages/clock/the_clock.vue

@@ -160,8 +160,8 @@
 								that.detailData.clockDistance = that.clockDistance.replace("m","")
 							}
 							console.log(that.detailData)
-							// if(that.detailData.clockDistance > 1500){
-							// 	that.$api.msg('请在目标位置1.5km范围内进行打卡')
+							// if(that.detailData.clockDistance > 2000){
+							// 	that.$api.msg('请在目标位置2km范围内进行打卡')
 							// 	return
 							// }else{
 								that.$api.doRequest('post', '/clockInfo/api/addClock', that.detailData)
@@ -169,7 +169,10 @@
 										console.log(res.data)
 										if (res.data.code == 200) {
 											that.$api.msg('提交成功')
-										} else {
+										} else if(res.data.message == '上班时间未打卡'){
+											that.$api.msg(res.data.message)
+										}
+										else{
 											that.$api.msg('提交失败')
 										}
 									})

+ 2 - 2
pages/erp/deliveryfeedback/details.vue

@@ -218,8 +218,8 @@
 				<view class="row">
 					<view class="left">装车日期</view>
 					<view>
-						<view v-if="item.status == '已装车' || item.status == '已送达'">{{item.sendDateStart}}</view>
-						<view v-else @click='train(index)'>{{item.sendDateStart?item.sendDateStart:'请选择日期'}}</view>
+						<view v-if="item.status == '已装车' || item.status == '已送达'">{{item.loadingDate}}</view>
+						<view v-else @click='train(index)'>{{item.loadingDate?item.loadingDate:'请选择日期'}}</view>
 						<u-picker :mask-close-able='false' v-model="item.show2" mode="time" @cancel='datecancel()' @confirm='dateChange2($event,index)' :params="params">
 						</u-picker>
 					</view>

+ 4 - 0
pages/erp/deliveryfeedback/list.vue

@@ -19,6 +19,10 @@
 					<view style='color:#9698A2;' class="left">{{item.goodsName}}</view>
 					<view>{{item.weight}}</view>
 				</view>
+				<view style='font-size:14px;' v-if="item.sendWarehouse" class="row">
+					<view style='flex:1;color:#9698A2;' class="left">发货库</view>
+					<view style='flex:2;text-align:right;'>{{item.sendWarehouse}}</view>
+				</view>
 				<view style='font-size:14px;' class="row">
 					<view style='flex:1;color:#9698A2;' class="left">发货</view>
 					<view style='flex:2;text-align:right;'>{{item.send}}</view>

+ 10 - 2
pages/erp/exWarehousing/exWarehousing.vue

@@ -510,7 +510,7 @@
 						}
 					}
 					this.$api.doRequest('get', '/contractManagementInfo/getOutContract', {
-						contractNo:this.detailData.contractNo,compId:uni.getStorageSync('pcUserInfo').compId
+						contractNo:this.detailData.contractNo,warehouseName: this.warehouseName,compId:uni.getStorageSync('pcUserInfo').compId
 					}).then(res => {
 
 						if (res.data.code == 200) {
@@ -541,6 +541,9 @@
 										}
 										this.carList = res.data.data.tranCarInfoList //车牌号下拉列表
 									}
+									else{
+										this.carList =[]
+									}
 							uni.hideLoading()
 						}
 					})
@@ -575,7 +578,7 @@
 					this.detailData.contractNo = this.inOutNoList[e[0]].moveTaskNo
 				}
 				this.$api.doRequest('get', '/contractManagementInfo/getOutContract', {
-					contractNo:this.detailData.contractNo,compId:uni.getStorageSync('pcUserInfo').compId
+					contractNo:this.detailData.contractNo,warehouseName: this.warehouseName,compId:uni.getStorageSync('pcUserInfo').compId
 				}).then(res => {
 					this.contractList=res.data.data
 					if(this.detailData.inOutType != '移库出库'){
@@ -592,7 +595,11 @@
 						}
 						this.carList = res.data.data.tranCarInfoList //车牌号下拉列表
 					}
+					else{
+						this.carList = []
+					}
 				if (this.detailData.inOutType == '销售出库') {
+					this.detailData.inOutTypeKey=1
 					this.weightbills.buyer = this.inOutNoList[e[0]].buyer
 					if(uni.getStorageSync('compName1')){
 						this.weightbills.seller = uni.getStorageSync('compName1').company
@@ -608,6 +615,7 @@
 						this.detailData.cost=''
 					}
 				} else if (this.detailData.inOutType == '移库出库') {
+					this.detailData.inOutTypeKey=3
 					this.weightbills.buyer = this.inOutNoList[e[0]].receiveWarehouse
 					if(uni.getStorageSync('compName1')){
 						this.weightbills.seller = uni.getStorageSync('compName1').company

+ 6 - 2
pages/erp/receivingfeedback/details.vue

@@ -247,11 +247,15 @@
 					placeholder="输入单价"></input>
 					</view>
 				</view>
+				<view class="row">
+					<view class="left">装车日期</view>
+					<view>{{item.loadingDate}}</view>
+				</view>
 				<view class="row">
 					<view class="left">卸车日期</view>
 					<view>
-						<view v-if="item.status == '未装车' || item.status == '已送达'">{{item.receiveDateEnd}}</view>
-						<view v-else @click='train(index)'>{{item.receiveDateEnd?item.receiveDateEnd:'请选择日期'}}</view>
+						<view v-if="item.status == '未装车' || item.status == '已送达'">{{item.unloadingDate}}</view>
+						<view v-else @click='train(index)'>{{item.unloadingDate?item.unloadingDate:'请选择日期'}}</view>
 						<u-picker v-model="item.show2" mode="time"  @cancel='datecancel()' @confirm='dateChange2($event,index)' :params="params">
 						</u-picker>
 					</view>

+ 4 - 0
pages/erp/receivingfeedback/list.vue

@@ -19,6 +19,10 @@
 					<view style='color:#9698A2;' class="left">{{item.goodsName}}</view>
 					<view>{{item.weight}}</view>
 				</view>
+				<view style='font-size:14px;' v-if="item.sendWarehouse" class="row">
+					<view style='flex:1;color:#9698A2;' class="left">发货库</view>
+					<view style='flex:2;text-align:right;'>{{item.sendWarehouse}}</view>
+				</view>
 				<view style='font-size:14px;' class="row">
 					<view style='flex:1;color:#9698A2;' class="left">发货</view>
 					<view style='flex:2;text-align:right;'>{{item.send}}</view>

+ 2 - 0
pages/reimbursement/get_request_funds.vue

@@ -50,6 +50,8 @@
 				<view class="con-list">
 					<view>{{detailData.amountMoney}}</view>
 				</view>
+				<span v-if="detailData.paymentIdentifi == 1" style="color: blue;">备用金支付</span>
+				<span v-if="detailData.noPaymentFlag == 1" style="color: blue;">无需付款</span>
 			</view>
 			<view class="c-row">
 				<view class="left">备注</view>

+ 198 - 105
pages/reimbursement/request_funds.vue

@@ -41,8 +41,7 @@
 					</view>
 				</view>
 			</view>
-			<u-picker :range="typeList" range-key="value" @confirm='typeCheck($event)' v-model="show2"
-				mode="selector">
+			<u-picker :range="typeList" range-key="value" @confirm='typeCheck($event)' v-model="show2" mode="selector">
 			</u-picker>
 			<view class="c-row" v-if="detailData.purpose == '合同费用'">
 				<view class="title">合同编号</view>
@@ -64,7 +63,8 @@
 					<input v-model='detailData.payerHeader' maxlength='25' placeholder="输入付款方名头"></input>
 				</view>
 			</view>
-			<view v-show="reType == 2&&detailData.purpose=='经营性费用' || expensesType == '2'&&detailData.purpose=='经营性费用'" class="c-row">
+			<view v-show="reType == 2&&detailData.purpose=='经营性费用' || expensesType == '2'&&detailData.purpose=='经营性费用'"
+				class="c-row">
 				<view class="title">所属名头</view>
 				<view class="con-list">
 					<view @click='show1=true'>{{detailData.belongName?detailData.belongName:"请选择所属名头"}}
@@ -72,8 +72,7 @@
 					</view>
 				</view>
 			</view>
-			<u-picker :range="namelist" range-key="name" @confirm='confirmname($event)' v-model="show1"
-				mode="selector">
+			<u-picker :range="namelist" range-key="name" @confirm='confirmname($event)' v-model="show1" mode="selector">
 			</u-picker>
 			<view class="c-row">
 				<view class="title">金额(元)</view>
@@ -83,6 +82,9 @@
 					<input type='digit' v-if="reType == '1' || expensesType == '1'" v-model='detailData.amountMoney'
 						placeholder="输入收款金额"></input>
 				</view>
+				<checkbox-group @change="checkboxChange" v-if="reType == '2' || expensesType == '2'">
+						<checkbox value="1" style="transform:scale(0.7)" />备用金支付
+				</checkbox-group>
 			</view>
 			<view class="c-row">
 				<view class="left">备注</view>
@@ -115,7 +117,7 @@
 			</view>
 		</view>
 		<view v-if="reType == 2 || expensesType == '2'" class='wrap margin-bottom'>
-			<view class="xinxi"  style="font-size: 28rpx; ">收款账户信息</view>
+			<view class="xinxi" style="font-size: 28rpx; ">收款账户信息</view>
 			<view class="c-row">
 				<view class="title">收款方</view>
 				<view class="con-list">
@@ -154,19 +156,19 @@
 		data() {
 			return {
 				show: false,
-				show2:false,
+				show2: false,
 				showWare: false,
 				detailData: {
-					flag:'否',
+					flag: '否',
 					purpose: '库点费用',
 					remark: "",
-					wareExpenseType:'杂费',
+					wareExpenseType: '杂费',
 					warehouseName: '选择仓库',
 					expenseName: '',
 					amountMoney: '',
 					expensesPurpose: '3',
 					expensesType: '',
-					// contractId: '',
+					paymentIdentifi: '',
 					fieldName: '',
 					identification: '1',
 					costType: '3',
@@ -174,11 +176,11 @@
 					totalDistribution: '0',
 				},
 				fileList1: [],
-				show1:false,
+				show1: false,
 				warehouseType: '1',
 				typeRemark: 'textarea',
 				border: true,
-				show3:false,
+				show3: false,
 				imglist: [], //存
 				imglist2: [], //展示
 				height: 150,
@@ -192,48 +194,120 @@
 					{
 						purpose: "经营性费用"
 					},
+					{
+						purpose: "备用金"
+					},
 				],
-				typeList1:[
-					{value: "是"},
-					{value: "否"},
+				typeList1: [{
+						value: "是"
+					},
+					{
+						value: "否"
+					},
 				],
-				typeList:[
-					{value: "杂费"},
-					{value: "水电费"},
-					{value: "伙食费"},
-					{value: "人工费"},
-					{value: "物质采买"},
-					{value: "燃料费"},
-					{value: "加油费"},
+				typeList: [{
+						value: "杂费"
+					},
+					{
+						value: "水电费"
+					},
+					{
+						value: "伙食费"
+					},
+					{
+						value: "人工费"
+					},
+					{
+						value: "物质采买"
+					},
+					{
+						value: "燃料费"
+					},
+					{
+						value: "加油费"
+					},
 				],
-				namelist:[
-					{name: "黑龙江中天昊元贸易有限公司"},
-					{name: "中天昊元-建发合营"},
-					{name: "中天昊元-六水香合营"},
-					{name: "中天昊元-昊友合营"},
-					{name: "黑龙江中天昊元贸易有限公司辽宁分公司"},
-					{name: "黑龙江众利合粮食贸易有限公司"},
-					{name: "黑龙江欣洋粮食贸易有限公司"},
-					{name: "黑龙江启兴粮食贸易有限公司"},
-					{name: "黑龙江鑫满仓粮食贸易有限公司"},
-					{name: "黑龙江谷香粮食贸易有限公司"},
-					{name: "黑龙江益储益运粮食贸易有限公司"},
-					{name: "黑龙江海天粮食农业发展有限公司"},
-					{name: "黑龙江中天绿粮供应链管理有限公司"},
-					{name: "中天昊元(海南)国际贸易有限公司"},
-					{name: "克东县嘉达建筑装潢有限责任公司"},
-					{name: "克东县金博粮食有限公司"},
-					{name: "克东县安正商贸有限公司"},
-					{name: "克东县万祥农业科技开发有限公司"},
-					{name: "克东县万润运输有限公司"},
-					{name: "黑龙江大金仓农业科技有限公司"},
-					{name: "克东县华祥通讯管线工程有限公司"},
-					{name: "黑龙江峰海粮食贸易有限公司(季度报 增值税季度)"},
-					{name: "黑龙江鑫宝仓粮食贸易有限公司"},
-					{name: "黑龙江中仓粮食贸易有限公司"},
-					{name: "黑龙江晟鸿泰粮食贸易有限公司"},
-					{name: "黑龙江新粮仓粮食贸易有限公司"},
-					{name: "齐齐哈尔米林设备制造有限公司"},
+				namelist: [{
+						name: "黑龙江中天昊元贸易有限公司"
+					},
+					{
+						name: "中天昊元-建发合营"
+					},
+					{
+						name: "中天昊元-六水香合营"
+					},
+					{
+						name: "中天昊元-昊友合营"
+					},
+					{
+						name: "黑龙江中天昊元贸易有限公司辽宁分公司"
+					},
+					{
+						name: "黑龙江众利合粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江欣洋粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江启兴粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江鑫满仓粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江谷香粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江益储益运粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江海天粮食农业发展有限公司"
+					},
+					{
+						name: "黑龙江中天绿粮供应链管理有限公司"
+					},
+					{
+						name: "中天昊元(海南)国际贸易有限公司"
+					},
+					{
+						name: "克东县嘉达建筑装潢有限责任公司"
+					},
+					{
+						name: "克东县金博粮食有限公司"
+					},
+					{
+						name: "克东县安正商贸有限公司"
+					},
+					{
+						name: "克东县万祥农业科技开发有限公司"
+					},
+					{
+						name: "克东县万润运输有限公司"
+					},
+					{
+						name: "黑龙江大金仓农业科技有限公司"
+					},
+					{
+						name: "克东县华祥通讯管线工程有限公司"
+					},
+					{
+						name: "黑龙江峰海粮食贸易有限公司(季度报 增值税季度)"
+					},
+					{
+						name: "黑龙江鑫宝仓粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江中仓粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江晟鸿泰粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江新粮仓粮食贸易有限公司"
+					},
+					{
+						name: "齐齐哈尔米林设备制造有限公司"
+					},
 				],
 				reType: "",
 				flag: "",
@@ -244,8 +318,10 @@
 		onLoad(options) {
 			this.reType = options.reType
 			this.expensesType = options.expensesType
-			if(this.reType==2||this.expensesType==2){
-				uni.setNavigationBarTitle({title: '请款'});
+			if (this.reType == 2 || this.expensesType == 2) {
+				uni.setNavigationBarTitle({
+					title: '请款'
+				});
 			}
 			this.id = options.id
 			if (this.id) {
@@ -255,6 +331,8 @@
 			}
 		},
 		onShow() {
+			this.detailData.payerHeader = uni.getStorageSync('compName1').company
+			this.$forceUpdate()
 			this.warehouseInfo = uni.getStorageSync('theWarehouse');
 			if (this.warehouseInfo && this.detailData.purpose == "库点费用") {
 				this.detailData.warehouseName = this.warehouseInfo.warehouseName
@@ -267,10 +345,10 @@
 				this.$api.doRequest('get', 'customerInfo/getPayeeInfo', {
 					contractNo: this.detailData.contractNo
 				}).then(res => {
-					this.detailData.payee=res.customerType=="企业客户"?res.compName:res.customerName
-					this.detailData.accountNumber=res.bankCard
-					this.detailData.bank=res.bankDeposit
-					this.detailData.bankBranch=res.bankDepositBranch
+					this.detailData.payee = res.customerType == "企业客户" ? res.compName : res.customerName
+					this.detailData.accountNumber = res.bankCard
+					this.detailData.bank = res.bankDeposit
+					this.detailData.bankBranch = res.bankDepositBranch
 					this.$forceUpdate()
 				})
 			}
@@ -288,11 +366,19 @@
 			}
 		},
 		methods: {
-			typeCheck(e){
-				this.detailData.wareExpenseType=this.typeList[e[0]].value
+			checkboxChange(e){
+				if(e.detail.value[0] == 1){
+					this.detailData.paymentIdentifi = 1
+				}
+				else{
+					this.detailData.paymentIdentifi = 0
+				}
+			},
+			typeCheck(e) {
+				this.detailData.wareExpenseType = this.typeList[e[0]].value
 			},
-			typeCheck1(e){
-				this.detailData.flag=this.typeList1[e[0]].value
+			typeCheck1(e) {
+				this.detailData.flag = this.typeList1[e[0]].value
 			},
 			afterRead(e) {
 				console.log(e)
@@ -300,58 +386,58 @@
 			async uploadClick() {
 				let baseUrlNew = config.def().baseUrlNew
 				let pcUserInfo = uni.getStorageSync('pcUserInfo')
-				console.log('baseUrlNew',baseUrlNew)
-				if(!pcUserInfo){
+				console.log('baseUrlNew', baseUrlNew)
+				if (!pcUserInfo) {
 					uni.showToast({
-						title:"登录已失效,请重新登录"
+						title: "登录已失效,请重新登录"
 					})
-					return 
+					return
 				}
 				uni.chooseImage({
-					count:10,
+					count: 10,
 					success: (chooseImageRes) => {
-						console.log('chooseImageRes',chooseImageRes)
+						console.log('chooseImageRes', chooseImageRes)
 						let files = []
 						for (let item of chooseImageRes.tempFiles) {
 							files.push({
 								name: 'fileName',
-								url : item.path
+								url: item.path
 							});
 						}
 						console.log(files)
 						for (let i = 0; i < files.length; i++) {
 							uni.uploadFile({
-							url: baseUrlNew + 'appendix/api/uploadFiles',
-							// url: baseUrlNew+'appendix/api/uploadFiles', //仅为示例,非真实的接口地址
-							// files: files[i],
-							filePath:files[i].url,
-							name:files[i].name,
-							formData: {
-								// fileName: chooseImageRes.tempFiles[0],
-								companyId: pcUserInfo.compId,
-								modelId: '',
-								vesselId: '',
-							},
-							success: (uploadFileRes) => {
-								console.log(JSON.parse(uploadFileRes.data))
-								var data = JSON.parse(uploadFileRes.data).data
-								data.compId = pcUserInfo.compId
-								this.$api.doRequest('post', '/appendix/api/saveFilesApp', {
-									newAppendixs: [data],
-									oldAppendixIds: ""
-								}).then(res => {
-									this.imglist.push(res.data.data[0])
-									console.log(res)
-								})
-								console.log(uploadFileRes.data);
-							},
-							fail(res) {
-								
-								console.log(res);
-							}
-						});
+								url: baseUrlNew + 'appendix/api/uploadFiles',
+								// url: baseUrlNew+'appendix/api/uploadFiles', //仅为示例,非真实的接口地址
+								// files: files[i],
+								filePath: files[i].url,
+								name: files[i].name,
+								formData: {
+									// fileName: chooseImageRes.tempFiles[0],
+									companyId: pcUserInfo.compId,
+									modelId: '',
+									vesselId: '',
+								},
+								success: (uploadFileRes) => {
+									console.log(JSON.parse(uploadFileRes.data))
+									var data = JSON.parse(uploadFileRes.data).data
+									data.compId = pcUserInfo.compId
+									this.$api.doRequest('post', '/appendix/api/saveFilesApp', {
+										newAppendixs: [data],
+										oldAppendixIds: ""
+									}).then(res => {
+										this.imglist.push(res.data.data[0])
+										console.log(res)
+									})
+									console.log(uploadFileRes.data);
+								},
+								fail(res) {
+
+									console.log(res);
+								}
+							});
 						}
-						
+
 					}
 				});
 			},
@@ -373,14 +459,18 @@
 					this.detailData.expensesPurpose = "3"
 					delete this.detailData.contractNo
 
-				} else {
+				} else if(this.detailData.purpose == "备用金"){
+					this.detailData.expensesPurpose = "7"
+					delete this.detailData.warehouseName
+					delete this.detailData.contractNo
+				}else {
 					this.detailData.expensesPurpose = "5"
 					delete this.detailData.warehouseName
 					delete this.detailData.contractNo
-					if(this.reType == 2){
+					if (this.reType == 2) {
 						this.show1 = true
 					}
-					
+
 				}
 				console.log(this.detailData)
 			},
@@ -410,8 +500,9 @@
 					this.$api.msg('请选择合同编号')
 					return
 				}
+				debugger
 				if (this.expensesType == '2') {
-					if(!this.detailData.payerHeader){
+					if (!this.detailData.payerHeader) {
 						this.$api.msg('付款方不能为空')
 						return
 					}
@@ -423,7 +514,7 @@
 				var that = this
 				var title
 				var theInterface
-				if (that.expensesType == '1') {
+				if (that.expensesType == '1' || that.reType == '1') {
 					title = "确定提交收款信息?"
 				} else {
 					title = "确定提交请款信息?"
@@ -443,6 +534,7 @@
 							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.expensesType = that.reType
 							that.detailData.fieldName = uni.getStorageSync('userInfo').userName
@@ -642,7 +734,8 @@
 		display: flex;
 		justify-content: center;
 	}
-	.margin-bottom{
-		margin-bottom:84px;
+
+	.margin-bottom {
+		margin-bottom: 84px;
 	}
 </style>

+ 19 - 1
pages/task/audit/charge_against_revenue.vue

@@ -52,6 +52,7 @@
 				<view class="right" v-if='auditInfo.costType==1'>粮款</view>
 				<view class="right" v-if='auditInfo.costType==3'>非粮款</view>
 				<view class="right" v-if='auditInfo.costType==5'>保证金</view>
+				<view class="right" v-if='auditInfo.costType==7'>利息</view>
 			</view>
 			<view v-if='auditInfo.expensesPurpose==1' class="row">
 				<view class="left">合同编号</view>
@@ -76,6 +77,8 @@
 			<view class="row">
 				<view class="left">金额(元)</view>
 				<view class="right">{{auditInfo.amountMoney}}</view>
+				<view style="color: blue;" v-if="auditInfo.paymentIdentifi==1">备用金支付</view>
+				<view style="color: blue;" v-if="auditInfo.noPaymentFlag==1">无需付款</view>
 			</view>
 			<view style='border-bottom: 0;' class="row">
 				<view class="left">备注</view>
@@ -320,6 +323,9 @@
 				updateDate: "",
 				warehouseName: "",
 				everyCheck: '',
+				detialData:{
+                   id:'',
+				},
 				auditInfo: {
 					srcList: []
 				},
@@ -508,6 +514,7 @@
 			},
 			getList() {
 				var that =this
+				that.detialData.id = this.id
 				uni.showLoading({
 					title: "加载中...",
 					mask: true
@@ -537,7 +544,7 @@
 				// 	}
 				// })
 				this.$api.doRequest('post', '/expenseInfo/exportPhone', {
-					id: this.id
+					id:this.id
 				}).then(res1 => {
 					if (res1.data.code == 200) {
 						this.url = res1.data.data
@@ -558,6 +565,17 @@
 						}
 						this.auditInfo.amountIngPayableTotal1 = helper.convertCurrency(this.auditInfo
 							.amountIngPayableTotal)
+						if(this.auditInfo.status == '已收款'){
+							this.$api.doRequest('post', '/expenseInfo/editCollectionStatus',
+								that.detialData).then(res1 => {
+								if (res1.data.code == 200) {
+									that.$api.msg('任务状态切换成功!')
+									setTimeout(function() {
+										uni.navigateBack();
+									}, 2000);
+								}
+							})
+						}
 						this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
 							businessCode: 'FEIYONGGUANLI-APPROVE',
 							tmpCompId: uni.getStorageSync('pcUserInfo').compId

+ 3 - 0
pages/task/audit/charge_against_revenue_detail.vue

@@ -52,6 +52,7 @@
 				<view class="right" v-if='auditInfo.costType==1'>粮款</view>
 				<view class="right" v-if='auditInfo.costType==3'>非粮款</view>
 				<view class="right" v-if='auditInfo.costType==5'>保证金</view>
+				<view class="right" v-if='auditInfo.costType==7'>利息</view>
 			</view>
 			<view v-if='auditInfo.expensesPurpose==1' class="row">
 				<view class="left">合同编号</view>
@@ -76,6 +77,8 @@
 			<view class="row">
 				<view class="left">金额(元)</view>
 				<view class="right">{{auditInfo.amountMoney}}</view>
+				<view style="color: blue;" v-if="auditInfo.paymentIdentifi==1">备用金支付</view>
+				<view style="color: blue;" v-if="auditInfo.noPaymentFlag==1">无需付款</view>
 			</view>
 			<view style='border-bottom: 0;' class="row">
 				<view class="left">备注</view>