This commit is contained in:
cun-nan 2024-07-12 17:13:53 +08:00
parent 81ec232a36
commit 3732907055
2 changed files with 6 additions and 1 deletions

View File

@ -160,6 +160,11 @@ export default {
}else { }else {
this.isCashier = false this.isCashier = false
} }
if (this.checkedKeys.length==this.ruleForm.checkedKeys.length && this.isCashier){
this.checked = true
}else {
this.checked = false
}
this.getMenuTreeselect() this.getMenuTreeselect()
// this.tableData = response.data.treeselect; // this.tableData = response.data.treeselect;
}); });

View File

@ -9,7 +9,7 @@
</if> </if>
AND source_id IN(SELECT source_id FROM `t_duty_source` AND source_id IN(SELECT source_id FROM `t_duty_source`
WHERE duty_id IN(SELECT duty_id FROM `t_account_duty` WHERE duty_id IN(SELECT duty_id FROM `t_account_duty`
WHERE acct_id = #{accountId})) WHERE acct_id = #{accountId} and if_delete = '0'))
ORDER BY s.source_style ASC ORDER BY s.source_style ASC
</select> </select>