diff --git a/api/request2.js b/api/request2.js index d1791264..cbe3dcaf 100644 --- a/api/request2.js +++ b/api/request2.js @@ -96,6 +96,19 @@ export function updateUserPwd(oldPassword, newPassword) { }) } +/** + * 获取仓库代码 + * @param {*} + * + */ +export function getWarehouseCodeList(pageNo,pageSize) { + return request({ + url: baseApi + "/wms/warehouse/page?pageNo="+pageNo+"&pageSize="+pageSize, + method: "get", + data: {}, + }); +} + /** * 获取消息列表 * @param {*} diff --git a/common/record.js b/common/record.js index c2bc0e36..ae3d69eb 100644 --- a/common/record.js +++ b/common/record.js @@ -58,6 +58,8 @@ export function getBusinessType(typeCode, callback) { businessType: '', fromlocationTypeList: '', tolocationTypeList: '', + itemCodeTypeList:"", + useOnTheWay:"FALSE", fromInventoryStatuses: '', toInventoryStatuses: '', message: '' @@ -70,6 +72,7 @@ export function getBusinessType(typeCode, callback) { result.itemCodeTypeList = getDirectoryItemArray(res.data.list[0].itemTypes) result.fromInventoryStatuses = res.data.list[0].outInventoryStatuses; result.toInventoryStatuses = res.data.list[0].inInventoryStatuses; + result.useOnTheWay =res.data.list[0].useOnTheWay callback(result) } else { result.success = false; diff --git a/mycomponents/popup/selectList.vue b/mycomponents/popup/selectList.vue index fcbbe1ac..a7e95530 100644 --- a/mycomponents/popup/selectList.vue +++ b/mycomponents/popup/selectList.vue @@ -27,7 +27,6 @@ - @@ -35,7 +34,6 @@ diff --git a/pages/issue/request/issueRequestCreate.vue b/pages/issue/request/issueRequestCreate.vue index 753dd3ed..23344719 100644 --- a/pages/issue/request/issueRequestCreate.vue +++ b/pages/issue/request/issueRequestCreate.vue @@ -25,7 +25,7 @@ - +