Commit b32eb562 authored by TIAN.DESHENG's avatar TIAN.DESHENG

预定仓

parent 781638df
...@@ -76,4 +76,20 @@ export function getWareHousedVolume(params){ ...@@ -76,4 +76,20 @@ export function getWareHousedVolume(params){
method: 'get', method: 'get',
params params
}) })
} }
\ No newline at end of file // 根据运输方式ID获取异常订单方数
export function getExceptionVolume(params){
return request({
url: '/ecw/future-box/getExceptionVolume',
method: 'get',
params
})
}
// 根据运输方式ID获取自单代报订单方数
export function getOrderReportVolume(params){
return request({
url: '/ecw/future-box/getOrderReportVolume',
method: 'get',
params
})
}
...@@ -63,17 +63,27 @@ ...@@ -63,17 +63,27 @@
{{getShipChannelName(row.shippingChannelId)}} {{getShipChannelName(row.shippingChannelId)}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('待入仓方数')" align="center" prop="readyWarehousingNumber"> <el-table-column :label="$t('待入仓订单方数')" align="center" prop="readyWarehousingNumber">
<template slot-scope="{row}"> <template slot-scope="{row}">
{{row.readyWarehousingNumber || 0}} {{row.readyWarehousingNumber || 0}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('已入仓方数')" align="center" prop="warehousedNumber"> <el-table-column :label="$t('已入仓订单方数')" align="center" prop="warehousedNumber">
<template slot-scope="{row}"> <template slot-scope="{row}">
{{row.warehousedNumber || 0}} {{row.warehousedNumber || 0}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('在仓方数')" align="center" prop="warehousingNumber" > <el-table-column :label="$t('异常订单方数')" align="center" prop="exceptionNumber">
<template slot-scope="{row}">
{{row.getExceptionVolume || 0}}
</template>
</el-table-column>
<el-table-column :label="$t('待排单订单方数')" align="center" prop="warehousingNumber">
<template slot-scope="{row}">
{{row.warehousingNumber || 0}}
</template>
</el-table-column>
<el-table-column :label="$t('自单代报订单方数')" align="center" prop="orderReportNumber" >
<template slot-scope="{row}"> <template slot-scope="{row}">
{{row.warehousingNumber || 0}} {{row.warehousingNumber || 0}}
</template> </template>
...@@ -133,15 +143,21 @@ ...@@ -133,15 +143,21 @@
<el-option v-for="item in channelList" :label="$l(item, 'name')" :value="item.channelId" :key="item.channelId"></el-option> <el-option v-for="item in channelList" :label="$l(item, 'name')" :value="item.channelId" :key="item.channelId"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('待入仓方数')"> <el-form-item :label="$t('待入仓订单方数')">
{{form.readyWarehousingNumber}} m³ {{form.readyWarehousingNumber}} m³
</el-form-item> </el-form-item>
<el-form-item :label="$t('已入仓方数')"> <el-form-item :label="$t('已入仓订单方数')">
{{form.warehousedNumber}} m³ {{form.warehousedNumber}} m³
</el-form-item> </el-form-item>
<el-form-item :label="$t('在仓方数')"> <el-form-item :label="$t('异常订单方数')">
{{form.exceptionNumber}} m³
</el-form-item>
<el-form-item :label="$t('待排单订单方数')">
{{form.warehousingNumber}} m³ {{form.warehousingNumber}} m³
</el-form-item> </el-form-item>
<el-form-item :label="$t('自单代报订单方数')">
{{form.orderReportNumber}} m³
</el-form-item>
<el-form-item :label="$t('已装柜仓数')"> <el-form-item :label="$t('已装柜仓数')">
{{form.loadingNumber}} m³ {{form.loadingNumber}} m³
</el-form-item> </el-form-item>
...@@ -174,7 +190,7 @@ ...@@ -174,7 +190,7 @@
</template> </template>
<script> <script>
import { createFutureBox, updateFutureBox, deleteFutureBox, getFutureBox, getFutureBoxPage, exportFutureBoxExcel, getBoxedVolume, getToBeWareHousedVolume,getWareHousedVolume } from "@/api/ecw/futureBox"; import { createFutureBox, updateFutureBox, deleteFutureBox, getFutureBox, getFutureBoxPage, exportFutureBoxExcel, getBoxedVolume, getToBeWareHousedVolume,getWareHousedVolume,getExceptionVolume, getOrderReportVolume} from "@/api/ecw/futureBox";
import {getCabinetPage} from "@/api/ecw/cabinet"; import {getCabinetPage} from "@/api/ecw/cabinet";
import { getChannelList } from '@/api/ecw/channel'; import { getChannelList } from '@/api/ecw/channel';
import { getWarehouseList } from "@/api/ecw/warehouse" import { getWarehouseList } from "@/api/ecw/warehouse"
...@@ -211,7 +227,9 @@ export default { ...@@ -211,7 +227,9 @@ export default {
readyWarehousingNumber: null, readyWarehousingNumber: null,
warehousedNumber: null, warehousedNumber: null,
warehousingNumber: null, warehousingNumber: null,
exceptionNumber: null,
loadingNumber: null, loadingNumber: null,
orderReportNumber: null,
futureNumber: null, futureNumber: null,
gpNumber: null, gpNumber: null,
hqNumber: null, hqNumber: null,
...@@ -352,12 +370,22 @@ export default { ...@@ -352,12 +370,22 @@ export default {
getWareHousedVolume(data).then(res => { getWareHousedVolume(data).then(res => {
this.$set(this.form, 'warehousedNumber', res.data || 0) this.$set(this.form, 'warehousedNumber', res.data || 0)
}) })
// 获得异常订单方数
getExceptionVolume(data).then(res => {
this.$set(this.form, 'exceptionNumber', res.data || 0)
})
// 获得自单代报订单方数
getOrderReportVolume(data).then(res => {
this.$set(this.form, 'orderReportNumber', res.data || 0)
})
}, },
setDefaultVolume(){ setDefaultVolume(){
this.$set(this.form, 'loadingNumber', 0) this.$set(this.form, 'loadingNumber', 0)
this.$set(this.form, 'readyWarehousingNumber', 0) this.$set(this.form, 'readyWarehousingNumber', 0)
this.$set(this.form, 'warehousedNumber', 0) this.$set(this.form, 'warehousedNumber', 0)
this.$set(this.form, 'warehousingNumber', 0) this.$set(this.form, 'warehousingNumber', 0)
this.$set(this.form, 'exceptionNumber',0)
this.$set(this.form,'orderReportNumber',0)
}, },
/** 查询列表 */ /** 查询列表 */
getList() { getList() {
...@@ -387,7 +415,9 @@ export default { ...@@ -387,7 +415,9 @@ export default {
readyWarehousingNumber: undefined, readyWarehousingNumber: undefined,
warehousedNumber: undefined, warehousedNumber: undefined,
warehousingNumber: undefined, warehousingNumber: undefined,
exceptionNumber: undefined,
loadingNumber: undefined, loadingNumber: undefined,
orderReportNumber: undefined,
futureNumber: undefined, futureNumber: undefined,
gpNumber: undefined, gpNumber: undefined,
hqNumber: undefined, hqNumber: undefined,
......
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