เเก้เคลียร์ค่า
This commit is contained in:
parent
4a559979a5
commit
afa441dc33
1 changed files with 4 additions and 2 deletions
|
|
@ -536,7 +536,9 @@ function onClickCloseDialog() {
|
|||
* map ช้อมูลตาม option id
|
||||
* @param id id
|
||||
*/
|
||||
function updatePosTypeName(id: string) {
|
||||
function updatePosTypeName(id: string,index:number) {
|
||||
|
||||
formGroupTarget.positions[index].posLevel = ''
|
||||
const posLevel = posTypeMain.value.find((e: ResGroup) => e.id === id);
|
||||
posLevelOp.value =
|
||||
posLevel?.posLevels.map((e: ResLevel) => ({
|
||||
|
|
@ -1402,7 +1404,7 @@ onMounted(() => {
|
|||
: 'กลุ่มงาน'
|
||||
"
|
||||
clearable
|
||||
@update:model-value="updatePosTypeName"
|
||||
@update:model-value="(value:string)=>{updatePosTypeName(value,index)}"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue