Commit 5fdcaef2 authored by honghy's avatar honghy

需求115 后台-集运-包裹列表-操作-费用申请

parent 0825b78f
import request from '@/utils/request'
// 创建集运包裹审批内容
export function createConsApproval(data) {
return request({
url: '/ecw/cons-approval/create',
method: 'post',
data: data
})
}
// 更新集运包裹审批内容
export function updateConsApproval(data) {
return request({
url: '/ecw/cons-approval/update',
method: 'put',
data: data
})
}
// 删除集运包裹审批内容
export function deleteConsApproval(id) {
return request({
url: '/ecw/cons-approval/delete?id=' + id,
method: 'delete'
})
}
// 获得集运包裹审批内容
export function getConsApproval(id) {
return request({
url: '/ecw/cons-approval/get?id=' + id,
method: 'get'
})
}
// 获得集运包裹审批内容列表
export function getConsApprovalList(query) {
return request({
url: '/ecw/cons-approval/getConsApprovalList',
method: 'get',
params: query
})
}
// 获得集运包裹审批内容分页
export function getConsApprovalPage(query) {
return request({
url: '/ecw/cons-approval/page',
method: 'get',
params: query
})
}
// 导出集运包裹审批内容 Excel
export function exportConsApprovalExcel(query) {
return request({
url: '/ecw/cons-approval/export-excel',
method: 'get',
params: query,
responseType: 'blob'
})
}
import request from '@/utils/request'
// 创建包裹费用
export function createConsFee(data) {
return request({
url: '/ecw/cons-fee/create',
method: 'post',
data: data
})
}
// 更新包裹费用
export function updateConsFee(data) {
return request({
url: '/ecw/cons-fee/update',
method: 'put',
data: data
})
}
// 删除包裹费用
export function deleteConsFee(id) {
return request({
url: '/ecw/cons-fee/delete?id=' + id,
method: 'delete'
})
}
// 获得包裹费用
export function getConsFee(id) {
return request({
url: '/ecw/cons-fee/get?id=' + id,
method: 'get'
})
}
// 获得包裹费用
export function getConsFeeList(query) {
return request({
url: '/ecw/cons-fee/getConsFeeList',
method: 'get',
params: query
})
}
// 批量申请费用
export function createFeeBatchApplication(data) {
return request({
url: "/ecw/cons-fee/create/batch",
method: "post",
data: data
})
}
// 导出包裹费用 Excel
export function exportConsFeeExcel(query) {
return request({
url: '/ecw/cons-fee/export-excel',
method: 'get',
params: query,
responseType: 'blob'
})
}
......@@ -254,7 +254,7 @@
<Transmutation :showException.sync="showException" :id="id" @determine="getList"></Transmutation>
<SpecialNeedsCons :showSpecialNeedsCons.sync="showSpecialNeedsCons" :currency="JSON.stringify(currencyList)" :consId="id" :consNum="consNum" @determine="getList"></SpecialNeedsCons>
<SpecialNeedsConsLook :showSpecialNeedsConsLook.sync="showSpecialNeedsConsLook" :consNum="consNum" :consId="id"></SpecialNeedsConsLook>
<fee-application-cons v-if="feeApplicationBol" :order-id="id" :currencys="JSON.stringify(currencyList)" :dialog-visible.sync="feeApplicationBol "@refresh="getList"></fee-application-cons>
<fee-application-cons v-if="feeApplicationBol" :consId="id" :currencys="JSON.stringify(currencyList)" :dialog-visible.sync="feeApplicationBol "@refresh="getList"></fee-application-cons>
</div>
</template>
......
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