|
|
@@ -49,8 +49,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="selectedGoods?.trademode === 53 || selectedGoods?.trademode === 54" class="el-form-item--row" prop="AddrInfo" :label="t('quote.pricing.address')">
|
|
|
<div class="el-form-item--col">
|
|
|
- <el-input type="textarea" :placeholder="t('performance.pleaseentertheaddress')"
|
|
|
- :rows="3" v-model="formData.AddrInfo" />
|
|
|
+ <el-input type="textarea" :placeholder="t('performance.pleaseentertheaddress')" :rows="3" v-model="formData.AddrInfo" />
|
|
|
<el-icon :size="20" style="cursor: pointer;" @click="showAddress = true" >
|
|
|
<CirclePlusFilled />
|
|
|
</el-icon>
|
|
|
@@ -233,6 +232,16 @@ const formRules: FormRules = {
|
|
|
}
|
|
|
}
|
|
|
}],
|
|
|
+ AddrInfo: [{
|
|
|
+ required: true,
|
|
|
+ validator: (rule, value, callback) => {
|
|
|
+ if (value) {
|
|
|
+ callback()
|
|
|
+ } else {
|
|
|
+ callback(new Error('请输入地址信息'))
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }]
|
|
|
// SlPrice: [{
|
|
|
// required: true,
|
|
|
// type: 'number',
|