diff --git a/src/api/basicdata/basicdataDriverArtery.js b/src/api/basicdata/basicdataDriverArtery.js index 454fe775..8fc6ea2c 100644 --- a/src/api/basicdata/basicdataDriverArtery.js +++ b/src/api/basicdata/basicdataDriverArtery.js @@ -67,15 +67,19 @@ export const update = (row) => { }) } -export const getDriverList = (current, size, params) => { +/** + * 查询当前仓库司机列表 + * @returns {AxiosPromise} + */ +export const getDriverList = () => { return request({ - url: '/api/logpm-basicdata/driverArtery/list', + url: '/api/logpm-basicdata/driverArtery/getDriverList', method: 'get', - params: { - ...params, - current, - size, - } + // params: { + // ...params, + // current, + // size, + // } }) } diff --git a/src/api/basicdata/basicdataVehicle.js b/src/api/basicdata/basicdataVehicle.js index eb5ee14d..3f9f7898 100644 --- a/src/api/basicdata/basicdataVehicle.js +++ b/src/api/basicdata/basicdataVehicle.js @@ -65,15 +65,15 @@ export const update = (row) => { }) } -export const getVehicleList = (current, size, params) => { +export const getVehicleList = () => { return request({ - url: '/api/logpm-basicdata/vehicle/page', + url: '/api/logpm-basicdata/vehicle/getVehicleList', method: 'get', - params: { - ...params, - current, - size, - } + // params: { + // ...params, + // current, + // size, + // } }) diff --git a/src/api/distribution/distributionReservation.js b/src/api/distribution/distributionReservation.js index 0dba21ab..b51c3787 100644 --- a/src/api/distribution/distributionReservation.js +++ b/src/api/distribution/distributionReservation.js @@ -227,11 +227,11 @@ export const getReservationZeroOrderDetail = (reservationId,id) => { * @param ids * @returns {AxiosPromise} */ -export const getDeliveryZeroOrderDetail = (deliveryId,id) => { +export const getDeliveryZeroOrderDetail = (deliveryId,orderId) => { return request({ - url: '/api/logpm-distribution/reservation/getDeliveryZeroOrderDetail', + url: '/api/logpm-distribution/deliveryList/getDeliveryZeroOrderDetail', method: 'get', - params: { id,deliveryId } + params: { deliveryId,orderId } }); } diff --git a/src/api/distribution/distributionStockArticle.js b/src/api/distribution/distributionStockArticle.js index 70296e77..b090f526 100644 --- a/src/api/distribution/distributionStockArticle.js +++ b/src/api/distribution/distributionStockArticle.js @@ -114,13 +114,13 @@ export const add = (row) => { data: row }) } -export const addStockRow = (row) => { +export const addStockRow = params => { return request({ - url: '/api/logpm-distribution/distributionStockArticle/saveStockRow', - method: 'post', - data: row - }) -} + url: '/api/logpm-distribution/distributionParcelList/packageTransfer', + method: 'get', + params, + }); +}; /** * 转库存品 * @param ids diff --git a/src/router/views/index.js b/src/router/views/index.js index 007f48f2..1ecf1311 100644 --- a/src/router/views/index.js +++ b/src/router/views/index.js @@ -27,15 +27,22 @@ export default [ }, ], }, - // { - // path: '/tjpage', - // name: '统计页面', - // meta: { - // i18n: 'dashboard', - // menu: false, - // }, - // component: () => import(/* webpackChunkName: "views" */ '@/views/wel/dataStatistics.vue'), - // }, + { + path: '/distribution', + name: '统计页面', + meta: { + i18n: 'dashboard', + menu: false, + }, + redirect: '/distribution/distributionStockArticleFrom', + component: Layout, + children: [ + { + path: 'distributionStockArticleFrom', + component: () => import('@/views/distribution/inventory/distributionStockArticleFrom.vue'), + }, + ], + }, { path: '/test', component: Layout, diff --git a/src/views/basicdata/vehicle/basicdataVehicle.vue b/src/views/basicdata/vehicle/basicdataVehicle.vue index c577c93c..26a36c0a 100644 --- a/src/views/basicdata/vehicle/basicdataVehicle.vue +++ b/src/views/basicdata/vehicle/basicdataVehicle.vue @@ -76,6 +76,174 @@ import NProgress from 'nprogress'; import 'nprogress/nprogress.css'; import BasicdataVehicleform from '/src/views/basicdata/vehicle/basicdataVehicleform.vue'; + // export default { + // components: { BasicdataVehicleform }, + // data() { + // return { + // form: {}, + // query: {}, + // search: {}, + // loading: true, + // vehicleformdata: {}, + // dicDatas: [], + // edit: true, //修改 + // page: { + // pageSize: 30, + // currentPage: 1, + // total: 0 + // }, + // selectionList: [], + // option: { + // height: 'auto', + // calcHeight: 30, + // tip: false, + // searchShow: false, + // searchMenuSpan: 6, + // border: true, + // index: true, + // viewBtn: false, + // editBtn: false, + // selection: true, + // dialogClickModal: false, + // column: [ + // { + // label: '主键', + // prop: 'id', + // type: 'input', + // addDisplay: false, + // editDisplay: false, + // viewDisplay: false, + // hide: true + // }, + // { + // label: '租户号', + // prop: 'tenantId', + // type: 'input', + // addDisplay: false, + // editDisplay: false, + // viewDisplay: false, + // hide: true + // }, + // { + // label: '创建人', + // prop: 'createUser', + // type: 'input', + // addDisplay: false, + // editDisplay: false, + // viewDisplay: false, + // hide: true + // }, + // { + // label: '创建时间', + // prop: 'createTime', + // type: 'input', + // addDisplay: false, + // editDisplay: false, + // viewDisplay: false, + // hide: true + // }, + // { + // label: '更新人', + // prop: 'updateUser', + // type: 'input', + // addDisplay: false, + // editDisplay: false, + // viewDisplay: false, + // hide: true + // }, + // { + // label: '更新时间', + // prop: 'updateTime', + // type: 'input', + // addDisplay: false, + // editDisplay: false, + // viewDisplay: false, + // hide: true + // }, + // { + // label: '状态', + // prop: 'status', + // type: 'input', + // addDisplay: false, + // editDisplay: false, + // viewDisplay: false, + // hide: true + // }, + // { + // label: '是否已删除;1-未删除,2-已删除', + // prop: 'isDeleted', + // type: 'input', + // addDisplay: false, + // editDisplay: false, + // viewDisplay: false, + // hide: true + // }, + // { + // label: '创建部门', + // prop: 'createDept', + // type: 'input', + // addDisplay: false, + // editDisplay: false, + // viewDisplay: false, + // hide: true + // }, + // { + // label: '车牌号', + // prop: 'vehicleNub', + // type: 'input', + // search: true, + // labelWidth: '150', + // width: '100px', + // align: 'center', + // span: 11 + // }, + // { + // label: '承运商名称', + // labelWidth: '150', + // // width: 'fit-content', + // width: '100px', + // align: 'center', + // span: 11, + // prop: 'carrierName', + // type: 'input', + // editDisplay: false, + // addDisplay: false + // }, + // { + // label: '绑定驾驶人', + // prop: 'vehicleOwners', + // type: 'select', + // labelWidth: '150', + // width: '200px', + // align: 'center', + // span: 11, + // multiple: true, + // dicData: [] + // // dicUrl: '/api/logpm-basicdata/vehicle/dictionary', + // // props: { + // // label: 'vehicleNub', + // // value: 'id', + // // }, + // // addDisplay: false, + // // editDisplay: false, + // // viewDisplay: false, + // // hide: true, + // }, + // { + // label: '车辆来源', + // prop: 'vehicleSource', + // type: 'select', + // search: true, + // labelWidth: '150', + // width: '100px', + // align: 'center', + // span: 11, + // dicUrl: '/api/blade-system/dict-biz/dictionary?code=basic_vehicle_source', + // props: { + // label: 'dictValue', + // value: 'dictKey' + // } + // } export default { components: { BasicdataVehicleform }, data() { diff --git a/src/views/distribution/LsystemsInventory/LsystemsInventory.vue b/src/views/distribution/LsystemsInventory/LsystemsInventory.vue index 21dc0542..224c0af2 100644 --- a/src/views/distribution/LsystemsInventory/LsystemsInventory.vue +++ b/src/views/distribution/LsystemsInventory/LsystemsInventory.vue @@ -7,7 +7,7 @@