dev-cl
qsh 4 months ago
parent 0c555e8473
commit 9180d14ede
  1. 16
      src/views/Finance/Commission/Comp/DialogPlan.vue

@ -136,7 +136,12 @@
<template #suffix> % </template>
</el-input>
</div>
<Icon icon="ep:remove-filled" class="text-red-500 ml-20px" @click="handleRemove(index)" />
<Icon
v-if="index > 0"
icon="ep:remove-filled"
class="text-red-500 ml-20px"
@click="handleRemove(index)"
/>
</el-col>
</el-row>
@ -304,14 +309,7 @@ const resetForm = () => {
}
function handleAddRules() {
formData.value.rules.push({
ruleParam1: '2',
ruleParam2: '1',
ruleParam3: 0,
ruleParam4: '1',
ruleParam5: '1',
ruleParam6: 0
})
formData.value.rules.push(formData.value.rules[0])
}
const emit = defineEmits(['success'])

Loading…
Cancel
Save