ios补计算单按钮
This commit is contained in:
@ -64,6 +64,7 @@ export default {
|
|||||||
this.queryType = urlParams.get('queryType');
|
this.queryType = urlParams.get('queryType');
|
||||||
this.userOrderId = urlParams.get('userOrderId');
|
this.userOrderId = urlParams.get('userOrderId');
|
||||||
this.orderCode = urlParams.get('orderCode')
|
this.orderCode = urlParams.get('orderCode')
|
||||||
|
this.$toast('queryType' + this.queryType)
|
||||||
},
|
},
|
||||||
computed:{
|
computed:{
|
||||||
isRadio(){
|
isRadio(){
|
||||||
@ -82,9 +83,9 @@ export default {
|
|||||||
},
|
},
|
||||||
async goReporting(){
|
async goReporting(){
|
||||||
console.log("1111")
|
console.log("1111")
|
||||||
if(this.isRadio || this.isTxt){
|
if(this.isRadio && this.isTxt){
|
||||||
let result = await orderReporting({
|
let result = await orderReporting({
|
||||||
queryType:this.queryType,
|
queryType:Number(this.queryType),
|
||||||
userOrderId:this.userOrderId,
|
userOrderId:this.userOrderId,
|
||||||
orderCode:this.orderCode,
|
orderCode:this.orderCode,
|
||||||
reportingItem:this.radio ? this.radio : "",
|
reportingItem:this.radio ? this.radio : "",
|
||||||
@ -97,7 +98,7 @@ export default {
|
|||||||
},2000)
|
},2000)
|
||||||
// }
|
// }
|
||||||
}else{
|
}else{
|
||||||
this.$toast("报备事项和报备描述必填一项")
|
this.$toast("报备事项和报备描述必选")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -141,7 +141,8 @@ export default {
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
.otherFee {
|
.otherFee {
|
||||||
@include wh(100%, 198px)
|
@include wh(100%, 198px);
|
||||||
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
.title {
|
.title {
|
||||||
@include fontWeightSize(bold, 14px);
|
@include fontWeightSize(bold, 14px);
|
||||||
@ -198,7 +199,7 @@ export default {
|
|||||||
}
|
}
|
||||||
/* 如果需要调整按钮在底部容器内的位置,可以使用更具体的选择器进行样式调整 */
|
/* 如果需要调整按钮在底部容器内的位置,可以使用更具体的选择器进行样式调整 */
|
||||||
.fixed-bottom .btn {
|
.fixed-bottom .btn {
|
||||||
margin-top: 20px;
|
|
||||||
position: absolute; /* 将按钮设置为绝对定位 */
|
position: absolute; /* 将按钮设置为绝对定位 */
|
||||||
bottom: 30px; /* 可根据需要调整按钮距离底部的距离 */
|
bottom: 30px; /* 可根据需要调整按钮距离底部的距离 */
|
||||||
left: 50%; /* 可根据需要调整按钮在容器中的水平位置 */
|
left: 50%; /* 可根据需要调整按钮在容器中的水平位置 */
|
||||||
|
@ -104,15 +104,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="flex-between" >
|
<div class="flex-between" >
|
||||||
<div>基本费用:</div>
|
<div>基本费用:</div>
|
||||||
<div class="halfOpcity inputContent" ><input type="number" :disabled="basePriceDisabled" v-model="form.supplierBasePrice"/>元</div>
|
<div class="halfOpcity inputContent" ><input type="number" :disabled="basePriceDisabled" v-model="form.supplierBasePrice"/>元</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-between" >
|
<div class="flex-between" >
|
||||||
<div>额外费用总计:</div>
|
<div>额外费用总计:</div>
|
||||||
<div class="halfOpcity inputContent"><input type="number" :disabled="true" v-model="form.supplierExtraPrice"/>元</div>
|
<div class="halfOpcity inputContent" ><input type="number" :disabled="true" v-model="form.supplierExtraPrice"/>元</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-between">
|
<div class="flex-between">
|
||||||
<div>费用总计: </div>
|
<div>费用总计: </div>
|
||||||
<div class="halfOpcity inputContent"><input type="number" :disabled="true" v-model="form.supplierSettleAmount"/>元</div>
|
<div class="halfOpcity inputContent" ><input type="number" :disabled="true" v-model="form.supplierSettleAmount"/>元</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-between">
|
<div class="flex-between">
|
||||||
<div> </div>
|
<div> </div>
|
||||||
@ -184,7 +184,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col1">费用总计:{{orderInfo.settleAmount +'元'}}</td>
|
<td class="col1">费用总计:{{orderInfo.settleAmount +'元'}}</td>
|
||||||
<td class="col2" >
|
<td class="col2" style="width: 100%;display: flex;justify-content: center;box-sizing: border-box">
|
||||||
<input :disabled="true" v-model="form.supplierSettleAmount"/>
|
<input :disabled="true" v-model="form.supplierSettleAmount"/>
|
||||||
<button class="btnCom" @click="compute">计算</button>
|
<button class="btnCom" @click="compute">计算</button>
|
||||||
</td>
|
</td>
|
||||||
|
Reference in New Issue
Block a user