diff --git a/common/api/order.js b/common/api/order.js index bac080e..dfbce6e 100644 --- a/common/api/order.js +++ b/common/api/order.js @@ -95,11 +95,6 @@ export const calcVolumeWeight = (data = {})=> { return coreRequest(url.calcVolumeWeight, data, {}) } - -// 下单-进仓列表 -export const warehouseInList = (data = {})=> { - return coreRequest(url.warehouseInList, data, {}, "GET") -} // 订单列表 export const getOrderList = (data = {})=> { @@ -209,11 +204,16 @@ export const registerWarehouseInInfo = (data = {})=> { } // 进仓单列表 -export const queryWarehouseList = (data = {})=> { - return coreRequest(url.queryWarehouseList, data, {}, "GET") +export const getWarehouseInList = (data = {})=> { + return coreRequest(url.getWarehouseInList, data, {}, "GET") } // 进仓单登记-列表 export const getWarehouseBatchInList = (data = {})=> { return coreRequest(url.getWarehouseBatchInList, data, {}, "GET") -} \ No newline at end of file +} + +// 进仓单PDF下载连接 +export const exportWarehouseInTpl = (data = {})=> { + return coreRequest(url.exportWarehouseInTpl, data, {}) +} \ No newline at end of file diff --git a/common/api/url.js b/common/api/url.js index bd95cbb..a019235 100644 --- a/common/api/url.js +++ b/common/api/url.js @@ -36,7 +36,7 @@ export default { calcWaybillFee: `/emis/emisWaybill/calcWaybillFee`, // 计算运费 calcSetteldWeight: `/emis/emisWaybill/calcSetteldWeight`, // 计算结算重量 calcVolumeWeight: `/emis/emisWaybill/calcVolumeWeight`, // 体积重量计算 - warehouseInList: `/emis/emisWarehouseIn/listSimple`, // 下单-进仓单列表 + getOrderList: `/emis/emisWaybill/listSimple`, // 订单列表 getWaybillStatMap: `/emis/emisWaybill/getWaybillStatMap`, // 运单统计数据 getOrderDetail: `/emis/emisWaybill/getWaybillDetail`, // 订单详情 @@ -63,8 +63,8 @@ export default { getWarehouseInInfo: `/emis/emisWarehouseIn/getWarehouseInInfo`, // 获取进仓单详情 registerWarehouseInInfo: `/emis/emisWarehouseInBatch/registerWarehouseInInfo`, // 收货入仓登记 - queryWarehouseList: `/emis/emisWarehouseIn/listSimple`, // 进仓单列表 + getWarehouseInList: `/emis/emisWarehouseIn/listSimple`, // 进仓单列表 getWarehouseBatchInList: `/emis/emisWarehouseIn/getWarehouseBatchInList`, // 进仓单登记-列表 - + exportWarehouseInTpl: `/emis/emisWarehouseIn/exportWarehouseInTpl`, // 进仓单PDF下载连接 } diff --git a/pages/post/openorder.vue b/pages/post/openorder.vue index 450fef7..5ed876e 100644 --- a/pages/post/openorder.vue +++ b/pages/post/openorder.vue @@ -398,7 +398,7 @@ getRSDStaffList: apiService.getRSDStaffList, getMonthpayAccountList: apiService.getMonthpayAccountList, getDestPositionList: apiService.getDestPositionList, - getWarehouseInList: apiService.warehouseInList, + getWarehouseInList: apiService.getWarehouseInList, getPayeeList: apiService.getPayeeList, getSalemanList: apiService.getSalemanList, async initData() { // 初始化 diff --git a/pages/tabBar/order/order.vue b/pages/tabBar/order/order.vue index e6a4cc2..57e6a8a 100644 --- a/pages/tabBar/order/order.vue +++ b/pages/tabBar/order/order.vue @@ -72,7 +72,7 @@ 入仓扫描 + :plain="true" custom-style="height: 54rpx;margin-left: 12rpx;">进仓单