This commit is contained in:
aihe 2024-05-24 15:06:21 +08:00
parent 42804a82de
commit 4539e4b856
6 changed files with 10 additions and 9 deletions

View File

@ -54,7 +54,7 @@
<template v-slot:right>
<u-input placeholder="请填写" v-model="modelInfo.price" inputAlign="right" font-size="26"
custom-style="border:0;border-radius: 10rpx;padding: 14rpx 20rpx;"
placeholder-style="color: #999; " type="number"
placeholder-style="color: #999; " type="digit"
>
<template #suffix>
<text class="font-26 clr-sub pl-10">CNY</text>

View File

@ -47,7 +47,7 @@
<view class="pt-20">
<u-row custom-style="flex: 1">
<text class="font-26 pr-10">总费用</text>
<tpx-input v-model:value="modelInfo.freight" :isWhite="true" type="number"
<tpx-input v-model:value="modelInfo.freight" :isWhite="true" type="digit"
custom-style="width: 120rpx;height: 46rpx;" suffix="CNY"></tpx-input>
</u-row>
</view>

View File

@ -46,7 +46,7 @@
<template v-slot:right>
<u-input placeholder="" v-model="modelInfo.prepareInEstFee" inputAlign="right"
custom-style="width: 366rpx;flex: none;border:0;border-radius: 10rpx;background-color: #F6F6F6;padding: 11rpx 20rpx;"
placeholder-style="color: #999; " type="number"
placeholder-style="color: #999; " type="digit"
>
<template #suffix>
<text class="font-26 clr-sub pl-10">CNY</text>

View File

@ -12,7 +12,7 @@
<u-row justify="between">
<text class="font-28">包裹重量</text>
<view>
<tpx-input v-model:value="modelInfo.billWeight" :isWhite="true" placeholder="" inputAlign="right" suffix="kg" type="number"></tpx-input>
<tpx-input v-model:value="modelInfo.billWeight" :isWhite="true" placeholder="" inputAlign="right" suffix="kg" type="digit"></tpx-input>
</view>
</u-row>
</view>
@ -23,13 +23,13 @@
<view style="width: 70%;">
<u-row justify="between">
<u-col span="3.7">
<tpx-input v-model:value="modelInfo.length" :isWhite="true" placeholder="长" inputAlign="right" suffix="cm" type="number"></tpx-input>
<tpx-input v-model:value="modelInfo.length" :isWhite="true" placeholder="长" inputAlign="right" suffix="cm" type="digit"></tpx-input>
</u-col>
<u-col span="3.7">
<tpx-input v-model:value="modelInfo.width" :isWhite="true" placeholder="宽" inputAlign="right" suffix="cm" type="number"></tpx-input>
<tpx-input v-model:value="modelInfo.width" :isWhite="true" placeholder="宽" inputAlign="right" suffix="cm" type="digit"></tpx-input>
</u-col>
<u-col span="3.7">
<tpx-input v-model:value="modelInfo.height" :isWhite="true" placeholder="高" inputAlign="right" suffix="cm" type="number"></tpx-input>
<tpx-input v-model:value="modelInfo.height" :isWhite="true" placeholder="高" inputAlign="right" suffix="cm" type="digit"></tpx-input>
</u-col>
</u-row>

View File

@ -104,6 +104,7 @@
params.filePath = params.filePath.join(",")
await apiService.registerProblemInfo({ ...params, _loading: true })
this.showToast('操作成功')
this.goBack()
}
}
}

View File

@ -64,7 +64,7 @@
<view class="yunf-input-item" >
<tpx-text-item label="重量">
<template v-slot:right>
<tpx-input v-model:value="submitParam.billWeight" placeholder="" inputAlign="right" suffix="kg" type="number"></tpx-input>
<tpx-input v-model:value="submitParam.billWeight" placeholder="" inputAlign="right" suffix="kg" type="digit"></tpx-input>
</template>
</tpx-text-item>
</view>
@ -72,7 +72,7 @@
<view class="yunf-input-item" >
<tpx-text-item label="体积">
<template v-slot:right>
<tpx-input v-model:value="submitParam.totalVolume" placeholder="" inputAlign="right" suffix="m³" type="number"></tpx-input>
<tpx-input v-model:value="submitParam.totalVolume" placeholder="" inputAlign="right" suffix="m³" type="digit"></tpx-input>
</template>
</tpx-text-item>
</view>