|
@@ -71,6 +71,8 @@
|
|
|
})
|
|
|
},
|
|
|
passSubmit() {
|
|
|
+ console.log(this.list.id)
|
|
|
+ var that = this
|
|
|
if (!this.list.tranPriceIng) {
|
|
|
this.$api.msg('运费单价不能为空')
|
|
|
return
|
|
@@ -81,26 +83,24 @@
|
|
|
confirmText: '确定',
|
|
|
success: function(res) {
|
|
|
if (res.confirm) {
|
|
|
- var that = this
|
|
|
var tranProcessInfo = {}
|
|
|
- tranProcessInfo.id = this.list.id
|
|
|
+ tranProcessInfo.id = that.list.id
|
|
|
tranProcessInfo.flag = "2"
|
|
|
- tranProcessInfo.tranPriceIng = this.list.tranPriceIng
|
|
|
- tranProcessInfo.reviewer = this.userInfo.userName
|
|
|
- this.$api.doRequest('post', '/tranProcessInfo/api/setUpTranPrice', tranProcessInfo)
|
|
|
+ tranProcessInfo.tranPriceIng = that.list.tranPriceIng
|
|
|
+ tranProcessInfo.reviewer = that.userInfo.userName
|
|
|
+ tranProcessInfo.tranTypeKey = 1
|
|
|
+ that.$api.doRequest('post', '/tranProcessInfo/api/setUpTranPrice', tranProcessInfo)
|
|
|
.then(res => {
|
|
|
if (res.data.code == 200) {
|
|
|
- this.$api.msg('审核通过成功!')
|
|
|
+ that.$api.msg('审核通过成功!')
|
|
|
setTimeout(function() {
|
|
|
uni.navigateBack()
|
|
|
}, 1000);
|
|
|
}
|
|
|
- })
|
|
|
+ })
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
}
|