This commit is contained in:
aihe 2024-06-17 17:13:39 +08:00
parent 034facfbf0
commit 6312df88d8

View File

@ -114,7 +114,7 @@
suffix="CNY"></tpx-input> suffix="CNY"></tpx-input>
</u-row> </u-row>
<u-row custom-style="width:300rpx;"> <u-row custom-style="width:300rpx;">
<text :class="`font-26 label-text ${tempObject.value.feeCode == '9999'?'label-text-required':''} `">实收</text> <text :class="`font-26 label-text label-text-required `">实收</text>
<tpx-input v-model:value="tempObject.value.realFee" _digit="5" :isWhite="true" custom-style="width: 120rpx;height: 46rpx;" <tpx-input v-model:value="tempObject.value.realFee" _digit="5" :isWhite="true" custom-style="width: 120rpx;height: 46rpx;"
suffix="CNY"></tpx-input> suffix="CNY"></tpx-input>
</u-row> </u-row>
@ -249,12 +249,10 @@
this.modelInfo.freight = total this.modelInfo.freight = total
}, },
async handleCostItemSure(data){ async handleCostItemSure(data){
if(data.feeCode == '9999') {
if(!data.realFee) { if(!data.realFee) {
this.showToast("实收不能为空") this.showToast("实收不能为空")
return false return false
} }
}
this.modelInfo.feeItems.push({ ...data }) this.modelInfo.feeItems.push({ ...data })
this.costModal.show = false this.costModal.show = false
setTimeout(()=>{ setTimeout(()=>{