Commit 9e0742c7 authored by wanglianghe's avatar wanglianghe

提货点功能

parent 59fa03e1
import request from '@/utils/request'
// 创建自提点
export function createPickupLoc(data) {
return request({
url: '/ecw/pickup-loc/create',
method: 'post',
data: data
})
}
// 更新自提点
export function updatePickupLoc(data) {
return request({
url: '/ecw/pickup-loc/update',
method: 'put',
data: data
})
}
// 删除自提点
export function deletePickupLoc(id) {
return request({
url: '/ecw/pickup-loc/delete?id=' + id,
method: 'delete'
})
}
// 获得自提点
export function getPickupLoc(id) {
return request({
url: '/ecw/pickup-loc/get?id=' + id,
method: 'get'
})
}
// 获得自提点分页
export function getPickupLocPage(query) {
return request({
url: '/ecw/pickup-loc/page',
method: 'get',
params: query
})
}
// 导出自提点 Excel
export function exportPickupLocExcel(query) {
return request({
url: '/ecw/pickup-loc/export-excel',
method: 'get',
params: query,
responseType: 'blob'
})
}
......@@ -3,7 +3,7 @@
<!-- 搜索工作栏 -->
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="中文名称" prop="titleZh">
<!-- <el-form-item label="中文名称" prop="titleZh">
<el-input v-model="queryParams.titleZh" placeholder="请输入中文名称" clearable @keyup.enter.native="handleQuery"/>
</el-form-item>
<el-form-item label="英文名称" prop="titleEn">
......@@ -25,7 +25,7 @@
<el-form-item label="城市" prop="cityZh">
<el-input v-model="queryParams.cityZh" placeholder="请输入城市中文名称" clearable @keyup.enter.native="handleQuery"/>
</el-form-item>
</el-form-item> -->
<el-form-item label="码头编号" prop="number">
<el-input v-model="queryParams.number" placeholder="请输入码头编号" clearable @keyup.enter.native="handleQuery"/>
......
This diff is collapsed.
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