|
|
|
@ -2580,6 +2580,16 @@ watch(associatedFormsDataRangeDialogFlag, (val) => { |
|
|
|
}, 200); |
|
|
|
} |
|
|
|
}) |
|
|
|
//关联表单数据填充规则根据已选择子表的数目和id将已选择的子表置为不可选择 |
|
|
|
watch(() => controlData.value.control?.fillRoles?.child?.length, (newValue, oldValue) => { |
|
|
|
/* if (newValue!== oldValue) { |
|
|
|
console.log('变量值发生变化:', newValue); |
|
|
|
} */ |
|
|
|
console.log(asfasfChildTableList.value) |
|
|
|
console.log(controlData.value.control?.fillRoles?.child) |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//确定回调 |
|
|
|
function handleDetermine(){ |
|
|
|
@ -4544,7 +4554,7 @@ const radioChangeSet = (val:any) => { |
|
|
|
|
|
|
|
|
|
|
|
<!-- 数据填充规则弹窗 --> |
|
|
|
<el-dialog v-model="associatedFormsFillRolesDialogFlag" title="数据填充规则" top="150px" :close-on-click-modal="false" :show-close="false" style="margin-top:70px ;min-height: 300px;max-height:900px" width="50%" > |
|
|
|
<el-dialog v-model="associatedFormsFillRolesDialogFlag" title="数据填充规则" top="150px" :close-on-click-modal="false" :show-close="false" style="margin-top:70px ;min-height: 300px;max-height:900px" width="80%" > |
|
|
|
<template v-if="controlData.type=='associatedForms'"> |
|
|
|
<el-button style="font-size: large;margin-top: 10px;margin-bottom: 15px;" type="primary" link append-to-body="true" modal="true" @click="addFillRole">十 主表填充规则</el-button> |
|
|
|
<div style="max-height:230px;border:1px solid white;overflow-y:auto;"> |
|
|
|
|