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
fd70aea6
Commit
fd70aea6
authored
Mar 20, 2023
by
TIAN.DESHENG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预定仓bug fix
parent
d35ee091
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
futureBox.js
src/api/ecw/futureBox.js
+11
-0
indexFutureBox.vue
src/views/ecw/box/indexFutureBox.vue
+10
-5
No files found.
src/api/ecw/futureBox.js
View file @
fd70aea6
...
...
@@ -93,3 +93,14 @@ export function getOrderReportVolume(params){
params
})
}
// 根据运输方式ID获取待排单订单方数
export
function
getWarehousingVolume
(
params
){
return
request
({
url
:
'
/ecw/future-box/getWarehousingVolume
'
,
method
:
'
get
'
,
params
})
}
src/views/ecw/box/indexFutureBox.vue
View file @
fd70aea6
...
...
@@ -85,7 +85,7 @@
</el-table-column>
<el-table-column
:label=
"$t('自单代报订单方数')"
align=
"center"
prop=
"orderReportNumber"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
warehousing
Number
||
0
}}
{{
row
.
orderReport
Number
||
0
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('已装柜方数')"
align=
"center"
prop=
"loadingNumber"
>
...
...
@@ -190,7 +190,7 @@
</template>
<
script
>
import
{
createFutureBox
,
updateFutureBox
,
deleteFutureBox
,
getFutureBox
,
getFutureBoxPage
,
exportFutureBoxExcel
,
getBoxedVolume
,
getToBeWareHousedVolume
,
getWareHousedVolume
,
getExceptionVolume
,
getOrderReportVolume
}
from
"
@/api/ecw/futureBox
"
;
import
{
createFutureBox
,
updateFutureBox
,
deleteFutureBox
,
getFutureBox
,
getFutureBoxPage
,
exportFutureBoxExcel
,
getBoxedVolume
,
getToBeWareHousedVolume
,
getWareHousedVolume
,
getExceptionVolume
,
getOrderReportVolume
,
getWarehousingVolume
}
from
"
@/api/ecw/futureBox
"
;
import
{
getCabinetPage
}
from
"
@/api/ecw/cabinet
"
;
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
;
import
{
getWarehouseList
}
from
"
@/api/ecw/warehouse
"
...
...
@@ -334,10 +334,10 @@ export default {
'
form.shippingChannelId
'
(){
this
.
getVolume
()
},
'
form.warehousedNumber
'
(){
//
'form.warehousedNumber'(){
//在仓 = 已入仓-已封柜
this
.
$set
(
this
.
form
,
'
warehousingNumber
'
,
Decimal
(
this
.
form
.
warehousedNumber
).
minus
(
this
.
form
.
loadingNumber
))
},
//
this.$set(this.form, 'warehousingNumber', Decimal(this.form.warehousedNumber).minus(this.form.loadingNumber))
//
},
'
form.loadingNumber
'
(){
//在仓 = 已入仓-已封柜
this
.
$set
(
this
.
form
,
'
warehousingNumber
'
,
Decimal
(
this
.
form
.
warehousedNumber
).
minus
(
this
.
form
.
loadingNumber
))
...
...
@@ -378,6 +378,11 @@ export default {
getOrderReportVolume
(
data
).
then
(
res
=>
{
this
.
$set
(
this
.
form
,
'
orderReportNumber
'
,
res
.
data
||
0
)
})
// 获得待排单订单方数
getWarehousingVolume
(
data
).
then
(
res
=>
{
this
.
$set
(
this
.
form
,
'
warehousingNumber
'
,
res
.
data
||
0
)
})
},
setDefaultVolume
(){
this
.
$set
(
this
.
form
,
'
loadingNumber
'
,
0
)
...
...
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