diff --git a/src/api/store/warehousing.js b/src/api/store/warehousing.js index ef49fed..5ca5100 100644 --- a/src/api/store/warehousing.js +++ b/src/api/store/warehousing.js @@ -3,62 +3,51 @@ import request from '@/utils/request' //机具退料入库 export function getReturnOfMaterialsInfoAll(query) { return request({ - url: '/material/returnOfMaterialsInfo/getReturnOfMaterialsInfoAll', - method: 'get', - params: query + url: '/material/returnOfMaterialsInfo/getReturnOfMaterialsInfoAll', + method: 'get', + params: query, }) - } - +} //机具退料入库--机具类型,规格型号下拉数据 export function getTypeList(query) { return request({ - url: '/material/returnOfMaterialsInfo/getTypeList', - method: 'get', - params: query + url: '/material/returnOfMaterialsInfo/getTypeList', + method: 'get', + params: query, }) - } - +} +//机具退料入库--机具类型,规格型号下拉数据 +export function getInfoListByTypeApi(query) { + return request({ + url: '/material/returnOfMaterialsInfo/getInfoListByType', + method: 'get', + params: query, + }) +} //修试后入库--列表 export function getRepairedList(data) { return request({ - url: '/material/RepairTestInput/getRepairedList', - method: 'get', - params: data + url: '/material/RepairTestInput/getRepairedList', + method: 'get', + params: data, }) - } - +} + //修试后入库--详情 export function getRepairedDetailList(data) { return request({ - url: '/material//RepairTestInput/getRepairedDetailList', - method: 'get', - params: data + url: '/material//RepairTestInput/getRepairedDetailList', + method: 'get', + params: data, }) - } - //修试后入库--审核 +} +//修试后入库--审核 export function inputByType(data) { return request({ - url: '/material/RepairTestInput/inputByType', - method: 'post', - data: data + url: '/material/RepairTestInput/inputByType', + method: 'post', + data: data, }) - } - - - - - - - - - - - - - - - - - +} diff --git a/src/views/claimAndreturn/picking/apply/component/AddPicking1.vue b/src/views/claimAndreturn/picking/apply/component/AddPicking1.vue index f09b5a4..072a1ee 100644 --- a/src/views/claimAndreturn/picking/apply/component/AddPicking1.vue +++ b/src/views/claimAndreturn/picking/apply/component/AddPicking1.vue @@ -38,12 +38,7 @@ placeholder="请选择" :disabled="isEdit" > - + @@ -56,27 +51,17 @@ placeholder="请选择" :disabled="isEdit" > - + - + - + @@ -102,11 +87,6 @@ placeholder="请输入规格型号" popper-class="popper-select" :props="deviceTypeTreeProps" - :disabled=" - (isEdit && !isView) || - isCost || - wholeTypeNameList.length > 0 - " > @@ -150,12 +130,7 @@ placeholder="请选择费用承担方" :disabled="isEdit" > - + @@ -173,14 +148,7 @@ - + 保存 @@ -196,47 +164,21 @@ --> - + - +