|
|
@@ -68,7 +68,7 @@
|
|
|
</view>
|
|
|
<view v-for="(item,index) in form.tireInsuranceFilesList.slice(activeTab*3,activeTab*3+3)" :key="index">
|
|
|
<uni-forms v-if="index==0" ref="form2" :modelValue="item" :border="true" label-width="80">
|
|
|
- <uni-forms-item name="tyreNo" label="胎号">
|
|
|
+ <uni-forms-item name="tyreNo" label="胎号" required>
|
|
|
<view style="display: flex;align-items: center;">
|
|
|
<uni-easyinput v-model="item.tyreNo" class="right-align"
|
|
|
placeholder-class="placeholder-right" :placeholder="form.status>0?' ':'请输入胎号'" :inputBorder="false"
|
|
|
@@ -784,6 +784,18 @@
|
|
|
return
|
|
|
}
|
|
|
for (let item of this.form.tireInsuranceFilesList) {
|
|
|
+ if (!item.tyreNo) {
|
|
|
+ return uni.showToast({
|
|
|
+ title: `请输入轮胎${item.affiliatedWithGroup }的胎号`,
|
|
|
+ icon: 'none'
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (!item.tyreSpecs) {
|
|
|
+ return uni.showToast({
|
|
|
+ title: `轮胎${item.affiliatedWithGroup }的胎号没有规格信息,请检查胎号是否正确`,
|
|
|
+ icon: 'none'
|
|
|
+ });
|
|
|
+ }
|
|
|
if (item.fileUrl == null) {
|
|
|
return uni.showToast({
|
|
|
title: `请上传轮胎${item.affiliatedWithGroup }的${+ item.fileProperties == 1 ?
|