修改装备租赁价格可以为编辑状态

This commit is contained in:
BianLzhaoMin 2025-07-03 09:13:04 +08:00
parent 3d4d6bff07
commit 8afb989c93
1 changed files with 29 additions and 28 deletions

View File

@ -605,7 +605,8 @@ const dialogFormVisibleSettlein: any = ref(false)
const ruleFormRef: any = ref(null)
//
const equipRules = ref({
originaValue:[{
originaValue: [
{
required: true,
message: '请输入原值',
trigger: 'blur',
@ -1846,13 +1847,13 @@ const handleDel = (index: any) => {
<el-form-item label="租赁价格(天/元)" prop="dayLeasePrice">
<el-input
@input="
(v) => (addAndEditForm.dayLeasePrice = v.replace(/[^\d.]/g, ''))
(v:any) => (addAndEditForm.dayLeasePrice = v.replace(/[^\d.]/g, ''))
"
v-model="addAndEditForm.dayLeasePrice"
placeholder="请输入租赁价格"
clearable
maxlength="20"
:disabled="isDisabled || isEditForm"
placeholder="请输入租赁价格"
v-model="addAndEditForm.dayLeasePrice"
:disabled="settleinTitle == '新增详情'"
/>
</el-form-item>
</el-col>