Commit 4a09c476 authored by zs嵩's avatar zs嵩

批量费用申请

......@@ -107,6 +107,24 @@ export function feeApplicationCreate(data) {
})
}
// 批量申请费用
export function feeApplicationBatch(data) {
return request({
url: "ecw/batch-order-fee-apply/create",
method: "post",
data: data
})
}
// 批量获取需要申请费用的订单详情
export function feeApplicationBatchGetOrderListByIds(data) {
return request({
url: "ecw/batch-order-fee-apply/getOrderListByIds",
method: "get",
params: data
})
}
// 批量申请费用
export function feeApplicationCreateBatch(data) {
return request({
......@@ -165,6 +183,7 @@ export function ApplicationListByOrderId(params) {
params: params
})
}
// 批量更新特需
export function specialNeedCreate(data) {
return request({
......@@ -932,7 +951,6 @@ export function noNeedPacks(data) {
})
}
// 完成打包
export function finishPacked(data) {
return request({
......
......@@ -589,7 +589,6 @@
<withdrawal v-if="show" :dialog-visible="show" :orderId="orderId"></withdrawal>
<batch-single-application @getList="getList" :order-list="orderId" :dialog-visible.sync="warehouseBol"></batch-single-application>
<fee-application v-if="feeApplicationBol" :order-id="orderId" :currencys="JSON.stringify(currencyList)" :dialog-visible.sync="feeApplicationBol" @refresh="getList"></fee-application>
<feeApplicationBatch v-if="feeApplicationBatch" :order-list="multipleSelection" :currencys="JSON.stringify(currencyList)" :dialog-visible.sync="feeApplicationBatch" @refresh="getList" />
<merge-log :order-no="showMergedLogOrderNo" v-if="showMergedLogOrderNo !== null" @close="showMergedLogOrderNo = null" />
<pickup-log v-if="showPickupLogOrderNo" :order-no="showPickupLogOrderNo" @close="showPickupLogOrderNo = null" @delete="getList" />
<SplitRevoke
......@@ -622,7 +621,6 @@ import withdrawal from "@/views/ecw/order/withdrawal"
import UserSelector from "@/components/UserSelector"
import BatchSingleApplication from "@/views/ecw/order/batchSingleApplication"
import FeeApplication from "@/views/ecw/order/feeApplication"
import feeApplicationBatch from "@/views/ecw/order/feeApplicationBatch"
import MergeLog from "@/views/ecw/order/components/MergeLog"
import PickupLog from "./components/PickupLog"
import { getWarehouseList } from "@/api/ecw/warehouse"
......@@ -639,7 +637,6 @@ export default {
Template,
UserSelector,
FeeApplication,
feeApplicationBatch,
BatchSingleApplication,
MergeLog,
PickupLog,
......@@ -754,8 +751,7 @@ export default {
key: "eqPickRatio",
value: ""
},
autoHeight: null,
feeApplicationBatch: false
autoHeight: null
}
},
watch: {
......@@ -1447,7 +1443,7 @@ export default {
this.$message(this.$t("请先勾选订单"))
return
}
this.feeApplicationBatch = true
this.$router.push(`/order/feeApplicationBatch?orderIds=${this.ids.join(",")}`)
}
}
}
......
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