Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
b32eb562
Commit
b32eb562
authored
Mar 11, 2023
by
TIAN.DESHENG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预定仓
parent
781638df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
8 deletions
+54
-8
futureBox.js
src/api/ecw/futureBox.js
+17
-1
indexFutureBox.vue
src/views/ecw/box/indexFutureBox.vue
+37
-7
No files found.
src/api/ecw/futureBox.js
View file @
b32eb562
...
@@ -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
})
}
src/views/ecw/box/indexFutureBox.vue
View file @
b32eb562
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment