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
f9be6a38
Commit
f9be6a38
authored
Jun 20, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
装柜拆单兼容按入仓记录放入
parent
36900e21
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
222 additions
and
223 deletions
+222
-223
splitOrder.vue
...views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
+214
-208
PutIn.vue
src/views/ecw/order/splitApply/components/PutIn.vue
+2
-0
index.vue
src/views/ecw/order/splitApply/index.vue
+6
-15
No files found.
src/views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
View file @
f9be6a38
This diff is collapsed.
Click to expand it.
src/views/ecw/order/splitApply/components/PutIn.vue
View file @
f9be6a38
...
...
@@ -218,6 +218,8 @@ export default {
appendToBody
:
Boolean
,
// 仓库ID,选择储位要用到
warehouseId
:
Number
,
// 数量是否必须
quantityshow
:
Boolean
},
data
(){
return
{
...
...
src/views/ecw/order/splitApply/index.vue
View file @
f9be6a38
...
...
@@ -309,7 +309,7 @@
</el-table-column>
<el-table-column
:label=
"$t('操作')"
>
<
template
v-slot=
"{ row, column, $index}"
>
<el-tag
v-if=
"getWarehouseIn
Lef
tData(row.id,'num') >= row.cartonsNum"
disabled
size=
"mini"
type=
"primary"
>
{{
$t
(
'
已拆完
'
)
}}
</el-tag>
<el-tag
v-if=
"getWarehouseIn
Spli
tData(row.id,'num') >= row.cartonsNum"
disabled
size=
"mini"
type=
"primary"
>
{{
$t
(
'
已拆完
'
)
}}
</el-tag>
<el-button
v-else
size=
"mini"
type=
"primary"
@
click=
"putInRecord(row)"
>
放入
</el-button>
</
template
>
</el-table-column>
...
...
@@ -349,9 +349,9 @@
{{
row
.
volume
}}
</
template
>
</el-table-column>
<
el-table-column
label=
"收费体积(m³)"
prop=
"chargeVolume"
></el-table-column
>
<
!--<el-table-column label="收费体积(m³)" prop="chargeVolume"></el-table-column>--
>
<el-table-column
label=
"入仓重量(Kg)"
prop=
"weight"
></el-table-column>
<
el-table-column
label=
"收费重量(Kg)"
prop=
"chargeWeight"
></el-table-column
>
<
!--<el-table-column label="收费重量(Kg)" prop="chargeWeight"></el-table-column>--
>
<el-table-column
:label=
"$t('数量')"
width=
"130px"
prop=
"quantity"
></el-table-column>
<el-table-column
:label=
"$t('快递单号')"
prop=
"expressNo"
></el-table-column>
<el-table-column
:label=
"$t('储位')"
prop=
"orderLocationBackVOList"
>
...
...
@@ -714,8 +714,8 @@ export default {
return
specsRecordVOList
}
},
// 根据入仓ID获取
剩余
数据
getWarehouseIn
Lef
tData
(){
// 根据入仓ID获取
拆出
数据
getWarehouseIn
Spli
tData
(){
return
(
warehouseInId
,
field
)
=>
{
let
total
=
new
Decimal
(
0
)
this
.
getWarehouseInspecsRecordVOList
(
warehouseInId
).
forEach
(
item
=>
{
...
...
@@ -1091,16 +1091,7 @@ export default {
putInRecord
(
row
){
this
.
currentPutIn
=
row
// 此条入仓记录已拆出的入仓记录,这样在放入的时候可以确保不超过此入仓记录的数量
let
specsRecordVOList
=
[]
this
.
splitData
.
forEach
(
split
=>
{
split
.
orderSplitItemBackVOList
.
forEach
(
splitItem
=>
{
splitItem
.
specsRecordVOList
.
forEach
(
specs
=>
{
if
(
specs
.
warehouseInId
===
row
.
id
){
specsRecordVOList
.
push
(
specs
)
}
})
})
})
let
specsRecordVOList
=
this
.
getWarehouseInspecsRecordVOList
(
getWarehouseInspecsRecordVOList
)
this
.
currentPutIn
.
specsRecordVOList
=
specsRecordVOList
},
// 放入回调
...
...
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