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
04c9fb33
Commit
04c9fb33
authored
Apr 12, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复出货的一些bug
parent
64e5d638
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
18 deletions
+40
-18
indexSea.vue
src/views/ecw/box/indexSea.vue
+1
-1
startPacking.vue
...ews/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
+1
-0
supplierSelect.vue
...ws/ecw/box/shippingSea/nodePage/common/supplierSelect.vue
+23
-5
subMaterial.vue
src/views/ecw/box/shippingSea/nodePage/subMaterial.vue
+14
-11
trailer.vue
src/views/ecw/box/shippingSea/nodePage/trailer.vue
+1
-1
No files found.
src/views/ecw/box/indexSea.vue
View file @
04c9fb33
...
...
@@ -119,7 +119,7 @@
{{
$t
(
'
操作
'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
:disabled=
"scope.row.
ldStatus>=46
"
command=
"edit"
v-hasPermi=
"['shipment:box:update']"
>
{{
$t
(
'
编辑
'
)
}}
</el-dropdown-item>
<el-dropdown-item
:disabled=
"scope.row.
prStatus>21
"
command=
"edit"
v-hasPermi=
"['shipment:box:update']"
>
{{
$t
(
'
编辑
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"sea"
v-hasPermi=
"['shipment:box:action:sea']"
>
{{
$t
(
'
操作-海运
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"error"
v-hasPermi=
"['shipment:box:action:error']"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
v-hasPermi=
"['shipment:box:action:cost']"
>
{{
$t
(
'
费用登记
'
)
}}
</el-dropdown-item>
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
View file @
04c9fb33
...
...
@@ -419,6 +419,7 @@ export default {
case
"
modifyCabinet
"
:
this
.
$set
(
this
.
dialogConfig
,
"
fullscreen
"
,
false
);
this
.
modifyCabinetObj
=
{};
this
.
$set
(
this
.
modifyCabinetObj
,
'
cabinetId
'
,
this
.
shipmentObj
.
cabinetId
)
break
;
case
"
splitOrder
"
:
this
.
$set
(
this
.
dialogConfig
,
"
fullscreen
"
,
true
);
...
...
src/views/ecw/box/shippingSea/nodePage/common/supplierSelect.vue
View file @
04c9fb33
<
template
>
<el-select
filterable
:value=
"value === 0 ? undefined : value"
@
change=
"change"
v-bind=
"$attrs"
clearable
>
<el-option
v-for=
"supplier in getSuppliers"
:key=
"supplier.id"
:label=
"$l(supplier, 'company')"
:value=
"supplier.id"
></el-option>
<el-select
filterable
:value=
"value === 0 ? undefined : value"
@
change=
"change"
v-bind=
"$attrs"
clearable
>
<el-option
v-for=
"supplier in getSuppliers"
:key=
"supplier.id"
:label=
"$l(supplier, 'company')"
:value=
"supplier.id"
></el-option>
</el-select>
</
template
>
...
...
@@ -14,6 +25,10 @@ export default {
companyType
:
String
,
value
:
Number
,
allSupplier
:
Array
,
areaType
:
{
type
:
Number
,
default
:
0
},
},
model
:
{
prop
:
"
value
"
,
...
...
@@ -24,9 +39,12 @@ export default {
},
computed
:
{
getSuppliers
()
{
if
(
!
this
.
companyType
)
return
this
.
allSupplier
;
return
this
.
allSupplier
.
filter
((
item
)
=>
item
.
areaType
==
1
let
allSupplier
=
this
.
allSupplier
.
filter
(
(
item
)
=>
item
.
areaType
==
this
.
areaType
);
if
(
this
.
areaType
==
1
||
!
this
.
companyType
)
return
allSupplier
;
return
allSupplier
.
filter
((
item
)
=>
item
.
companyTypes
.
includes
(
this
.
companyType
)
);
},
},
...
...
src/views/ecw/box/shippingSea/nodePage/subMaterial.vue
View file @
04c9fb33
...
...
@@ -23,11 +23,11 @@
<ladingSelect
v-model=
"subMaterialObj.shipperId"
:placeholder=
"$t('请选择托运人')"
:allUsers=
"this.$attrs.allLading"
/>
</el-form-item>
<el-form-item
:label=
"$t('收货人')"
>
<el-input
v-model=
"subMaterialObj.consigneeName"
readonly
></el-input>
<el-input
v-model=
"subMaterialObj.consigneeName"
disabled
></el-input>
<!--
<userSelect
v-model=
"subMaterialObj.consigneeId"
:placeholder=
"$t('请选择收货人')"
:allUsers=
"this.$attrs.allUsers"
/>
-->
</el-form-item>
<el-form-item
:label=
"$t('通知方')"
>
<el-input
v-model=
"subMaterialObj.notifyingName"
readonly
></el-input>
<el-input
v-model=
"subMaterialObj.notifyingName"
disabled
></el-input>
<!--
<userSelect
v-model=
"subMaterialObj.notifyingId"
:placeholder=
"$t('请选择通知方')"
:allUsers=
"this.$attrs.allUsers"
/>
-->
</el-form-item>
<el-form-item
label=
"Mark & No."
>
...
...
@@ -133,20 +133,23 @@ export default {
...
oldData
,
packageUnit
:
oldData
.
packageUnit
===
0
?
undefined
:
oldData
.
packageUnit
,
};
this
.
$set
(
this
.
subMaterialObj
,
'
agentId
'
,
this
.
shipmentObj
.
agentInfo
?.
agentId
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
soNo
'
,
this
.
shipmentObj
.
bookSeaInfo
?.
sono
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
markNo
'
,
"
N/M
"
)
this
.
$set
(
this
.
subMaterialObj
,
'
startPortId
'
,
this
.
shipmentObj
.
bookSeaInfo
?.
bigPortId
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
destPortId
'
,
this
.
shipmentObj
.
bookSeaInfo
?.
destPortId
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
kgs
'
,
this
.
shipmentObj
.
customsInfo
?.
dcGoodsWgt
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
containerSealNo
'
,(
this
.
shipmentObj
.
trailerInfo
?.
tlContainerNo
||
''
)
+
'
/
'
+
(
this
.
shipmentObj
.
trailerInfo
?.
tlStripSeal
||
'
/
'
))
if
(
!
this
.
shipmentObj
.
ladingBillInfo
){
console
.
log
(
this
.
shipmentObj
,
'
111
'
)
this
.
$set
(
this
.
subMaterialObj
,
'
agentId
'
,
this
.
shipmentObj
.
agentInfo
?.
agentId
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
soNo
'
,
this
.
shipmentObj
.
bookSeaInfo
?.
sono
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
blMblNo
'
,
this
.
shipmentObj
.
bookSeaInfo
?.
sono
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
markNo
'
,
"
N/M
"
)
this
.
$set
(
this
.
subMaterialObj
,
'
startPortId
'
,
this
.
shipmentObj
.
bookSeaInfo
?.
bigPortId
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
shipCompanyId
'
,
Number
(
this
.
shipmentObj
.
bookSeaInfo
?.
shipCompanyType
)
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
destPortId
'
,
this
.
shipmentObj
.
bookSeaInfo
?.
destPortId
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
kgs
'
,
this
.
shipmentObj
.
customsInfo
?.
dcGoodsWgt
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
containerSealNo
'
,(
this
.
shipmentObj
.
trailerInfo
?.
tlContainerNo
||
''
)
+
'
/
'
+
(
this
.
shipmentObj
.
trailerInfo
?.
tlStripSeal
||
'
/
'
))
}
this
.
getSup
(
this
.
subMaterialObj
.
agentId
)
},
methods
:
{
getSup
(
id
)
{
console
.
log
(
id
,
'
idid
'
)
getSupplier
(
id
).
then
(
response
=>
{
if
(
response
.
data
.
externalBackVO
){
this
.
$set
(
this
.
subMaterialObj
,
'
consigneeName
'
,
response
.
data
.
externalBackVO
?.
receiveCompanyName
||
'
/
'
)
...
...
src/views/ecw/box/shippingSea/nodePage/trailer.vue
View file @
04c9fb33
...
...
@@ -7,7 +7,7 @@
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('拖车公司')"
>
<supplierSelect
v-model=
"trailerObj.tlCompanyId"
:companyType=
"'4'"
:placeholder=
"$t('请选择拖车公司')"
:allSupplier=
"this.$attrs.allSupplier"
/>
<supplierSelect
v-model=
"trailerObj.tlCompanyId"
:companyType=
"'4'"
:
areaType=
"0"
:
placeholder=
"$t('请选择拖车公司')"
:allSupplier=
"this.$attrs.allSupplier"
/>
</el-form-item>
<el-form-item
:label=
"$t('拖车时间')"
prop=
"tlTime"
>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
value-format=
"yyyy-MM-dd HH:mm:ss"
v-model=
"trailerObj.tlTime"
></el-date-picker>
...
...
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