|
@@ -234,6 +234,11 @@
|
|
|
<u--input type='number' placeholder="输入总质量" inputAlign='left' border="none" v-model="dataDetails.carTotalWeight">
|
|
|
</u--input>
|
|
|
</view>
|
|
|
+ <view class="flex row" v-if="sign == '非挂车'">
|
|
|
+ <view class="left-text">核定载质量(千克)</view>
|
|
|
+ <u--input placeholder="输入核定载质量" inputAlign='left' border="none" v-model="dataDetails.carApprovedWeight">
|
|
|
+ </u--input>
|
|
|
+ </view>
|
|
|
<view class="flex row" v-if="sign == '挂车'">
|
|
|
<view class="left-text">整备质量(千克)</view>
|
|
|
<u--input type='number' placeholder="输入整备质量" inputAlign='left' border="none" v-model="dataDetails.servicingWeight">
|
|
@@ -1185,6 +1190,13 @@
|
|
|
})
|
|
|
return true
|
|
|
}
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.carApprovedWeight) && this.sign == '非挂车') {
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ type: 'error',
|
|
|
+ message: "核定载质量不能为空!",
|
|
|
+ })
|
|
|
+ return true
|
|
|
+ }
|
|
|
|
|
|
if (uni.$u.test.isEmpty(this.dataDetails.servicingWeight) && this.sign == '挂车') {
|
|
|
this.$refs.uToast.show({
|