เเก้เคลียร์ค่า
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
|
* map ช้อมูลตาม option id
|
||||||
* @param id 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);
|
const posLevel = posTypeMain.value.find((e: ResGroup) => e.id === id);
|
||||||
posLevelOp.value =
|
posLevelOp.value =
|
||||||
posLevel?.posLevels.map((e: ResLevel) => ({
|
posLevel?.posLevels.map((e: ResLevel) => ({
|
||||||
|
|
@ -1402,7 +1404,7 @@ onMounted(() => {
|
||||||
: 'กลุ่มงาน'
|
: 'กลุ่มงาน'
|
||||||
"
|
"
|
||||||
clearable
|
clearable
|
||||||
@update:model-value="updatePosTypeName"
|
@update:model-value="(value:string)=>{updatePosTypeName(value,index)}"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue