|
|
|
@ -88,6 +88,7 @@ |
|
|
|
|
:min="0" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:controls="false" |
|
|
|
|
@change="signPriceChange" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
@ -337,7 +338,8 @@ const show = ref(false) |
|
|
|
|
const form = ref({}) |
|
|
|
|
const rules = ref({ |
|
|
|
|
dealDate: { required: true, message: '成交日期不可为空', trigger: 'change' }, |
|
|
|
|
payAmount: { required: true, message: '支付金额不可为空', trigger: 'change,blur' } |
|
|
|
|
payAmount: { required: true, message: '支付金额不可为空', trigger: 'change,blur' }, |
|
|
|
|
signPrice: { required: true, message: '支付金额不可为空', trigger: 'change,blur' } |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
const schoolRules = { |
|
|
|
@ -532,8 +534,15 @@ function changePlace() { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function changeClass() { |
|
|
|
|
form.value.payAmount = |
|
|
|
|
form.value.signPrice = |
|
|
|
|
classOptions.value.find((it) => it.typeId == form.value.signClass).guidingPrice || 0 |
|
|
|
|
signPriceChange() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function signPriceChange() { |
|
|
|
|
if (form.value.isPayoff) { |
|
|
|
|
form.value.payAmount = form.value.signPrice |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function handleRemove(type, index) { |
|
|
|
|