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