|
@ -415,41 +415,41 @@ const detailOpenForm = (type, row) => { |
|
|
row.type == 'LOCATION_CODE' |
|
|
row.type == 'LOCATION_CODE' |
|
|
) { |
|
|
) { |
|
|
formTypeDetail.value = 'Select' |
|
|
formTypeDetail.value = 'Select' |
|
|
// switch (row.type) { |
|
|
switch (row.type) { |
|
|
// case 'OWNER': |
|
|
case 'OWNER': |
|
|
// getOwnerAllList(null,true) |
|
|
getOwnerAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'SUPPLIER': |
|
|
case 'SUPPLIER': |
|
|
// getSupplierAllList(null,true) |
|
|
getSupplierAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'CUSTOMER': |
|
|
case 'CUSTOMER': |
|
|
// getCustomerAllList(null,true) |
|
|
getCustomerAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'ABC': |
|
|
case 'ABC': |
|
|
// countPlanAllList.value = getStrDictOptions(DICT_TYPE.ABC_CLASS) |
|
|
countPlanAllList.value = getStrDictOptions(DICT_TYPE.ABC_CLASS) |
|
|
// break |
|
|
break |
|
|
// case 'ITEMS_TYPE': |
|
|
case 'ITEMS_TYPE': |
|
|
// countPlanAllList.value = getStrDictOptions(DICT_TYPE.ITEM_TYPE) |
|
|
countPlanAllList.value = getStrDictOptions(DICT_TYPE.ITEM_TYPE) |
|
|
// break |
|
|
break |
|
|
// case 'ITEMS_GROUP': |
|
|
case 'ITEMS_GROUP': |
|
|
// countPlanAllList.value = getStrDictOptions(DICT_TYPE.ITEM_GROUP) |
|
|
countPlanAllList.value = getStrDictOptions(DICT_TYPE.ITEM_GROUP) |
|
|
// break |
|
|
break |
|
|
// case 'ITEMS_CODE': |
|
|
case 'ITEMS_CODE': |
|
|
// getItembasicAllList(null,true) |
|
|
getItembasicAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'WAREHOUSE_CODE': |
|
|
case 'WAREHOUSE_CODE': |
|
|
// getWarehouseAllList(null,true) |
|
|
getWarehouseAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'AREABASIC_CODE': |
|
|
case 'AREABASIC_CODE': |
|
|
// getAreaAllList(null,true) |
|
|
getAreaAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'LOCATIONGROUP_CODE': |
|
|
case 'LOCATIONGROUP_CODE': |
|
|
// getLocationgroupAllList(null,true) |
|
|
getLocationgroupAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'LOCATION_CODE': |
|
|
case 'LOCATION_CODE': |
|
|
// getLocationAllList(null,true) |
|
|
getLocationAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// } |
|
|
} |
|
|
} else if (val == 'PROJECT') { |
|
|
} else if (val == 'PROJECT') { |
|
|
formTypeDetail.value = 'InputString' |
|
|
formTypeDetail.value = 'InputString' |
|
|
} |
|
|
} |
|
@ -604,41 +604,41 @@ const selectChangeDetail = (field, val) => { |
|
|
val == 'LOCATION_CODE' |
|
|
val == 'LOCATION_CODE' |
|
|
) { |
|
|
) { |
|
|
formTypeDetail.value = 'Select' |
|
|
formTypeDetail.value = 'Select' |
|
|
// switch (val) { |
|
|
switch (val) { |
|
|
// case 'OWNER': |
|
|
case 'OWNER': |
|
|
// getOwnerAllList(null,true) |
|
|
getOwnerAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'SUPPLIER': |
|
|
case 'SUPPLIER': |
|
|
// getSupplierAllList(null,true) |
|
|
getSupplierAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'CUSTOMER': |
|
|
case 'CUSTOMER': |
|
|
// getCustomerAllList(null,true) |
|
|
getCustomerAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'ABC': |
|
|
case 'ABC': |
|
|
// countPlanAllList.value = getStrDictOptions(DICT_TYPE.ABC_CLASS) |
|
|
countPlanAllList.value = getStrDictOptions(DICT_TYPE.ABC_CLASS) |
|
|
// break |
|
|
break |
|
|
// case 'ITEMS_TYPE': |
|
|
case 'ITEMS_TYPE': |
|
|
// countPlanAllList.value = getStrDictOptions(DICT_TYPE.ITEM_TYPE) |
|
|
countPlanAllList.value = getStrDictOptions(DICT_TYPE.ITEM_TYPE) |
|
|
// break |
|
|
break |
|
|
// case 'ITEMS_GROUP': |
|
|
case 'ITEMS_GROUP': |
|
|
// countPlanAllList.value = getStrDictOptions(DICT_TYPE.ITEM_GROUP) |
|
|
countPlanAllList.value = getStrDictOptions(DICT_TYPE.ITEM_GROUP) |
|
|
// break |
|
|
break |
|
|
// case 'ITEMS_CODE': |
|
|
case 'ITEMS_CODE': |
|
|
// getItembasicAllList(null,true) |
|
|
getItembasicAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'WAREHOUSE_CODE': |
|
|
case 'WAREHOUSE_CODE': |
|
|
// getWarehouseAllList(null,true) |
|
|
getWarehouseAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'AREABASIC_CODE': |
|
|
case 'AREABASIC_CODE': |
|
|
// getAreaAllList(null,true) |
|
|
getAreaAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'LOCATIONGROUP_CODE': |
|
|
case 'LOCATIONGROUP_CODE': |
|
|
// getLocationgroupAllList(null,true) |
|
|
getLocationgroupAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// case 'LOCATION_CODE': |
|
|
case 'LOCATION_CODE': |
|
|
// getLocationAllList(null,true) |
|
|
getLocationAllList(null,true) |
|
|
// break |
|
|
break |
|
|
// } |
|
|
} |
|
|
} else if (val == 'PROJECT') { |
|
|
} else if (val == 'PROJECT') { |
|
|
formTypeDetail.value = 'InputString' |
|
|
formTypeDetail.value = 'InputString' |
|
|
} |
|
|
} |
|
@ -662,41 +662,41 @@ const tableFormChange = async (field, val, row) => { |
|
|
row.type == 'LOCATION_CODE' |
|
|
row.type == 'LOCATION_CODE' |
|
|
) { |
|
|
) { |
|
|
row.formType = 'Select' |
|
|
row.formType = 'Select' |
|
|
// switch (row.type) { |
|
|
switch (row.type) { |
|
|
// case 'OWNER': |
|
|
case 'OWNER': |
|
|
// getOwnerAllList(row) |
|
|
getOwnerAllList(row) |
|
|
// break |
|
|
break |
|
|
// case 'SUPPLIER': |
|
|
case 'SUPPLIER': |
|
|
// getSupplierAllList(row) |
|
|
getSupplierAllList(row) |
|
|
// break |
|
|
break |
|
|
// case 'CUSTOMER': |
|
|
case 'CUSTOMER': |
|
|
// getCustomerAllList(row) |
|
|
getCustomerAllList(row) |
|
|
// break |
|
|
break |
|
|
// case 'ABC': |
|
|
case 'ABC': |
|
|
// row.initOptions = getStrDictOptions(DICT_TYPE.ABC_CLASS) |
|
|
row.initOptions = getStrDictOptions(DICT_TYPE.ABC_CLASS) |
|
|
// break |
|
|
break |
|
|
// case 'ITEMS_TYPE': |
|
|
case 'ITEMS_TYPE': |
|
|
// row.initOptions = getStrDictOptions(DICT_TYPE.ITEM_TYPE) |
|
|
row.initOptions = getStrDictOptions(DICT_TYPE.ITEM_TYPE) |
|
|
// break |
|
|
break |
|
|
// case 'ITEMS_GROUP': |
|
|
case 'ITEMS_GROUP': |
|
|
// row.initOptions = getStrDictOptions(DICT_TYPE.ITEM_GROUP) |
|
|
row.initOptions = getStrDictOptions(DICT_TYPE.ITEM_GROUP) |
|
|
// break |
|
|
break |
|
|
// case 'ITEMS_CODE': |
|
|
case 'ITEMS_CODE': |
|
|
// getItembasicAllList(row) |
|
|
getItembasicAllList(row) |
|
|
// break |
|
|
break |
|
|
// case 'WAREHOUSE_CODE': |
|
|
case 'WAREHOUSE_CODE': |
|
|
// getWarehouseAllList(row) |
|
|
getWarehouseAllList(row) |
|
|
// break |
|
|
break |
|
|
// case 'AREABASIC_CODE': |
|
|
case 'AREABASIC_CODE': |
|
|
// getAreaAllList(row) |
|
|
getAreaAllList(row) |
|
|
// break |
|
|
break |
|
|
// case 'LOCATIONGROUP_CODE': |
|
|
case 'LOCATIONGROUP_CODE': |
|
|
// getLocationgroupAllList(row) |
|
|
getLocationgroupAllList(row) |
|
|
// break |
|
|
break |
|
|
// case 'LOCATION_CODE': |
|
|
case 'LOCATION_CODE': |
|
|
// getLocationAllList(row) |
|
|
getLocationAllList(row) |
|
|
// break |
|
|
break |
|
|
// } |
|
|
} |
|
|
} else if (row.type == 'PROJECT') { |
|
|
} else if (row.type == 'PROJECT') { |
|
|
row.formType = 'InputString' |
|
|
row.formType = 'InputString' |
|
|
} |
|
|
} |
|
|