fix แก้ไข field ด้านทางการบริหาร
This commit is contained in:
parent
0417290d5d
commit
5fb8c24263
1 changed files with 4 additions and 2 deletions
|
|
@ -581,6 +581,9 @@ async function onSave(val: any, id: string, close?: () => void) {
|
|||
if (isCol("positionExecutive")) {
|
||||
body.positionExecutive = val;
|
||||
}
|
||||
if (isCol("positionExecutiveField")) {
|
||||
body.positionExecutiveField = val;
|
||||
}
|
||||
if (isCol("amount")) {
|
||||
body.amount = toNumber(formData.amount);
|
||||
body.amountSpecial = toNumber(formData.amountSpecial);
|
||||
|
|
@ -722,8 +725,6 @@ async function fetchType() {
|
|||
* @param val id ประเภทตำแหน่ง
|
||||
*/
|
||||
async function updateSelectType(val: string) {
|
||||
console.log(val);
|
||||
|
||||
const listLevel = val
|
||||
? dataLevel.value.find((e: DataPosType) => e.posTypeName === val)
|
||||
: null;
|
||||
|
|
@ -1347,6 +1348,7 @@ onMounted(async () => {
|
|||
v-else-if="
|
||||
col.name === 'positionName' ||
|
||||
col.name === 'positionExecutive' ||
|
||||
col.name === 'positionExecutiveField' ||
|
||||
col.name === 'remark'
|
||||
"
|
||||
outlined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue