ios补计算单按钮
This commit is contained in:
@ -64,6 +64,7 @@ export default {
|
||||
this.queryType = urlParams.get('queryType');
|
||||
this.userOrderId = urlParams.get('userOrderId');
|
||||
this.orderCode = urlParams.get('orderCode')
|
||||
this.$toast('queryType' + this.queryType)
|
||||
},
|
||||
computed:{
|
||||
isRadio(){
|
||||
@ -82,9 +83,9 @@ export default {
|
||||
},
|
||||
async goReporting(){
|
||||
console.log("1111")
|
||||
if(this.isRadio || this.isTxt){
|
||||
if(this.isRadio && this.isTxt){
|
||||
let result = await orderReporting({
|
||||
queryType:this.queryType,
|
||||
queryType:Number(this.queryType),
|
||||
userOrderId:this.userOrderId,
|
||||
orderCode:this.orderCode,
|
||||
reportingItem:this.radio ? this.radio : "",
|
||||
@ -97,7 +98,7 @@ export default {
|
||||
},2000)
|
||||
// }
|
||||
}else{
|
||||
this.$toast("报备事项和报备描述必填一项")
|
||||
this.$toast("报备事项和报备描述必选")
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user