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
260d00ae
Commit
260d00ae
authored
Jul 11, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/release2.2' into release2.2
parents
a7705581
7137608c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
11 deletions
+28
-11
supplementOrder.vue
.../ecw/box/shippingSea/nodePage/cabinet/supplementOrder.vue
+27
-10
index.vue
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
+1
-1
No files found.
src/views/ecw/box/shippingSea/nodePage/cabinet/supplementOrder.vue
View file @
260d00ae
...
@@ -50,16 +50,16 @@
...
@@ -50,16 +50,16 @@
<el-form-item
:label=
"$t('始发地')"
>
<el-form-item
:label=
"$t('始发地')"
>
<p>
{{importCityName(queryParams.startWarehouseId)}}
</p>
<p>
{{importCityName(queryParams.startWarehouseId)}}
</p>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('国家')"
prop=
"destination"
>
<el-select
v-model=
"queryParams.destCountryId"
:placeholder=
"$t('请选择国家')"
@
change=
"clearDestWarehouseIdList"
>
<el-option
v-for=
"item in countryList"
:key=
"item.id"
:label=
"$l(item, 'title')"
:value=
"item.id"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('目的地')"
prop=
"destination"
>
<el-form-item
:label=
"$t('目的地')"
prop=
"destination"
>
<el-select
v-model=
"queryParams.destWarehouseIdList"
:placeholder=
"$t('请选择目的地')"
multiple
>
<el-select
v-model=
"queryParams.destWarehouseIdList"
:placeholder=
"$t('请选择目的地')"
multiple
>
<el-option
v-for=
"item in importWarehouseList"
:label=
"item.titleZh"
:value=
"item.id"
:key=
"item.id"
></el-option>
<el-option
v-for=
"item in importWarehouseList"
:label=
"item.titleZh"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('国家')"
prop=
"destination"
>
<el-select
v-model=
"queryParams.destCountryId"
:placeholder=
"$t('请选择国家')"
>
<el-option
v-for=
"item in countryList"
:key=
"item.id"
:label=
"$l(item, 'name')"
:value=
"item.id"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('订单号')"
prop=
"orderNo"
>
<el-form-item
:label=
"$t('订单号')"
prop=
"orderNo"
>
<el-input
v-model=
"queryParams.orderNo"
:placeholder=
"$t('请输入订单号')"
clearable
/>
<el-input
v-model=
"queryParams.orderNo"
:placeholder=
"$t('请输入订单号')"
clearable
/>
</el-form-item>
</el-form-item>
...
@@ -159,6 +159,7 @@ import {
...
@@ -159,6 +159,7 @@ import {
createGoods
,
createGoods
,
remove
,
remove
,
}
from
"
@/api/ecw/boxSea
"
;
}
from
"
@/api/ecw/boxSea
"
;
import
{
getWarehouseList
}
from
"
@/api/ecw/warehouse
"
import
{
import
{
formatDate
,
formatDate
,
getTotlContent
,
getTotlContent
,
...
@@ -166,7 +167,7 @@ import {
...
@@ -166,7 +167,7 @@ import {
getCapacity
,
getCapacity
,
sumStatistics
,
sumStatistics
,
}
from
"
../../utils
"
;
}
from
"
../../utils
"
;
import
{
getCountryListAll
}
from
"
@/api/ecw/country
"
;
import
{
getListTree
}
from
"
@/api/ecw/region
"
;
/**
/**
* 补单
* 补单
*/
*/
...
@@ -177,6 +178,8 @@ export default {
...
@@ -177,6 +178,8 @@ export default {
return
{
return
{
//国家列表
//国家列表
countryList
:[],
countryList
:[],
//仓库列表
warehouseList
:
[],
// 二维码/条码编号
// 二维码/条码编号
cabinetNo
:
""
,
cabinetNo
:
""
,
// 表格数据
// 表格数据
...
@@ -201,11 +204,21 @@ export default {
...
@@ -201,11 +204,21 @@ export default {
},
},
created
()
{
created
()
{
this
.
queryAllData
();
this
.
queryAllData
();
getCountryListAll
().
then
(
r
=>
{
this
.
getCountry
()
this
.
countryList
=
r
.
data
})
},
},
methods
:
{
methods
:
{
//获取国家
async
getCountry
()
{
let
countryList
=
await
getListTree
({
treeType
:
1
})
this
.
countryList
=
countryList
.
data
let
warehouseList
=
await
getWarehouseList
()
this
.
warehouseList
=
warehouseList
.
data
let
warehouse
=
this
.
warehouseList
.
find
(
item
=>
item
.
id
==
this
.
$attrs
.
shipmentObj
.
destWarehouseId
)
console
.
log
(
warehouse
,
'
warehouse
'
)
if
(
warehouse
){
this
.
$set
(
this
.
queryParams
,
'
destCountryId
'
,
warehouse
.
guojia
)
}
},
/* 查询已预装 */
/* 查询已预装 */
getSecGoods
()
{
getSecGoods
()
{
loadSecGoodsList
({
shipmentId
:
this
.
$attrs
.
shipmentObj
.
id
}).
then
(
loadSecGoodsList
({
shipmentId
:
this
.
$attrs
.
shipmentObj
.
id
}).
then
(
...
@@ -443,12 +456,16 @@ export default {
...
@@ -443,12 +456,16 @@ export default {
formatDate
,
formatDate
,
getTotlContent
,
getTotlContent
,
sumStatistics
,
sumStatistics
,
//切换国家时清除目的仓
clearDestWarehouseIdList
()
{
this
.
queryParams
.
destWarehouseIdList
=
[]
}
},
},
computed
:
{
computed
:
{
/** 目的地 */
/** 目的地 */
importWarehouseList
()
{
importWarehouseList
()
{
return
this
.
$attrs
.
warehouseList
.
filter
(
return
this
.
$attrs
.
warehouseList
.
filter
(
(
item
)
=>
item
.
tradeType
==
"
1
"
||
item
.
type
==
"
3
"
(
item
)
=>
(
item
.
tradeType
==
"
1
"
||
item
.
type
==
"
3
"
)
&&
item
.
guojia
==
this
.
queryParams
.
destCountryId
);
);
},
},
/* 容量 */
/* 容量 */
...
...
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
View file @
260d00ae
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
list
.
push
({
list
.
push
({
...
oItem
,
...
oItem
,
warehouseInInfo
,
warehouseInInfo
,
multiSpecification
:
i
tem
.
multiSpecification
,
multiSpecification
:
oI
tem
.
multiSpecification
,
positionNo
:
oItem
.
positionNo
,
positionNo
:
oItem
.
positionNo
,
tallyStatus
:
item
.
tallyStatus
,
tallyStatus
:
item
.
tallyStatus
,
tallyTime
:
item
.
tallyTime
,
tallyTime
:
item
.
tallyTime
,
...
...
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