fix():设备柜配置新增增加价格校验;

master
jiyufei 4 months ago
parent 5f0eedbd10
commit f0f8eb4f3b

@ -37,7 +37,7 @@
<el-collapse :accordion="false" v-model="activecburrz" class="mb-20"> <el-collapse :accordion="false" v-model="activecburrz" class="mb-20">
<el-collapse-item title="价格配置" name="1"> <el-collapse-item title="价格配置" name="1">
<el-col :span="8"> <el-col :span="8">
<jnpf-form-tip-item label="统一投递价格" prop="deliveryPrice"> <jnpf-form-tip-item label="*统一投递价格" prop="deliveryPrice">
<JnpfInput v-model="dataForm.deliveryPrice" <JnpfInput v-model="dataForm.deliveryPrice"
@change="changeData('deliveryPrice', -1)" placeholder="请输入金额" @change="changeData('deliveryPrice', -1)" placeholder="请输入金额"
addonAfter="元" clearable :style='{ "width": "100%" }'> addonAfter="元" clearable :style='{ "width": "100%" }'>
@ -722,6 +722,10 @@ export default {
this.$message.error('请填写投递关门时间'); this.$message.error('请填写投递关门时间');
return; return;
} }
if (_data.deliveryPrice == null) {
this.$message.error('请填写统一投递价格');
return;
}
if (this.dataFormSubmitType == 2) { if (this.dataFormSubmitType == 2) {
this.continueBtnLoading = true this.continueBtnLoading = true
} else { } else {

Loading…
Cancel
Save