Commit ac29c6cc authored by zhoutong's avatar zhoutong

装箱暂存

parent 4d1fec92
...@@ -80,7 +80,7 @@ export function createGoods(data) { ...@@ -80,7 +80,7 @@ export function createGoods(data) {
*/ */
export function getMergePkgList(params) { export function getMergePkgList(params) {
return request({ return request({
url: "/ecw/box-merge-pkg/pager", url: "/ecw/box-merge-pkg/page",
method: "get", method: "get",
params, params,
}); });
...@@ -100,3 +100,62 @@ export function createMergePkg(data) { ...@@ -100,3 +100,62 @@ export function createMergePkg(data) {
data, data,
}); });
} }
/**
* 更新合包箱
*
* @export
* @param {*} data
* @return {*}
*/
export function updateMergePkg(data) {
return request({
url: "/ecw/box-merge-pkg/update",
method: "put",
data,
});
}
/**
* 删除合包箱
*
* @export
* @param {*} data
* @return {*}
*/
export function deleteMergePkg(id) {
return request({
url: `/ecw/box-merge-pkg/delete?id=`+id,
method: "delete",
});
}
/**
* 获得未装箱列表分页
*
* @export
* @param {*} data
* @return {*}
*/
export function getUnPkgPage(params) {
return request({
url: "/ecw/box-merge-pkg/getUnPkgPage",
method: "get",
params,
});
}
/**
* 获得已装箱列表分页
*
* @export
* @param {*} data
* @return {*}
*/
export function getPkgPageByPkgId(params) {
return request({
url: "/ecw/box-merge-pkg/getPkgPageByPkgId",
method: "get",
params,
});
}
\ No newline at end of file
...@@ -168,12 +168,17 @@ ...@@ -168,12 +168,17 @@
</template> </template>
<script> <script>
import { createbox, updatebox, deletebox, getbox, getboxPage, exportboxExcel } from '@/api/ecw/box' import { deletebox, getbox, getboxPage, exportboxExcel } from '@/api/ecw/box'
import { getChannelList } from '@/api/ecw/channel' import { getChannelList } from '@/api/ecw/channel'
import { getWarehouseList } from '@/api/ecw/warehouse' import { getWarehouseList } from '@/api/ecw/warehouse'
import costForm from './costForm.vue' import costForm from './costForm.vue'
import regError from './regError.vue' import regError from './regError.vue'
import editAirForm from './editAirForm.vue' import editAirForm from './editAirForm.vue'
import {
downloadFile,
downloadFileByUrl,
formatDate,
} from "./shippingAir/utils";
export default { export default {
name: 'indexAir', name: 'indexAir',
...@@ -291,6 +296,7 @@ export default { ...@@ -291,6 +296,7 @@ export default {
this.getChannelList() this.getChannelList()
}, },
methods: { methods: {
formatDate,
getChannelList() { getChannelList() {
getChannelList().then((res) => (this.channelList = res.data)) getChannelList().then((res) => (this.channelList = res.data))
}, },
......
<template>
<div>
22
</div>
</template>
<script>
export default {
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div>
11
</div>
</template>
<script>
export default {
}
</script>
<style>
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment