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
656ca06f
Commit
656ca06f
authored
Aug 03, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
875d18d0
4b9ea5bb
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
416 additions
and
381 deletions
+416
-381
arrival.vue
src/views/ecw/box/shippingSea/nodePage/arrival.vue
+11
-8
blCopy.vue
src/views/ecw/box/shippingSea/nodePage/blCopy.vue
+7
-4
booking.vue
src/views/ecw/box/shippingSea/nodePage/booking.vue
+17
-11
index.vue
src/views/ecw/box/shippingSea/nodePage/cabinet/index.vue
+19
-8
clrDocument.vue
src/views/ecw/box/shippingSea/nodePage/clrDocument.vue
+14
-10
cusClearance.vue
src/views/ecw/box/shippingSea/nodePage/cusClearance.vue
+2
-1
cusDeclaration.vue
src/views/ecw/box/shippingSea/nodePage/cusDeclaration.vue
+4
-4
departure.vue
src/views/ecw/box/shippingSea/nodePage/departure.vue
+2
-1
preinstallReview.vue
src/views/ecw/box/shippingSea/nodePage/preinstallReview.vue
+3
-3
ship.vue
src/views/ecw/box/shippingSea/nodePage/ship.vue
+1
-1
subMaterial.vue
src/views/ecw/box/shippingSea/nodePage/subMaterial.vue
+5
-13
index.vue
src/views/ecw/box/shippingSea/nodePage/unloading/index.vue
+2
-2
seaStepDetail.vue
src/views/ecw/box/shippingSea/seaStepDetail.vue
+10
-9
shippingSea.vue
src/views/ecw/box/shippingSea/shippingSea.vue
+1
-1
utils.js
src/views/ecw/box/shippingSea/utils.js
+318
-305
No files found.
src/views/ecw/box/shippingSea/nodePage/arrival.vue
View file @
656ca06f
...
@@ -61,11 +61,12 @@ export default {
...
@@ -61,11 +61,12 @@ export default {
created
()
{
created
()
{
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
let
oldData
=
{
...
this
.
$attrs
.
shipmentObj
[
voName
]
};
let
oldData
=
{
...
this
.
$attrs
.
shipmentObj
[
voName
]
};
oldData
=
formatDateStr
(
oldData
,
[
oldData
=
formatDateStr
(
"
apRealTime
"
,
oldData
,
"
apConfirmTime
"
,
[
"
apRealTime
"
,
"
apConfirmTime
"
],
"
apUnloadPortTime
"
,
"
YYYY-MM-DD HH:mm:ss
"
]);
);
oldData
=
formatDateStr
(
oldData
,
[
"
apUnloadPortTime
"
]);
this
.
arrivalObj
=
oldData
;
this
.
arrivalObj
=
oldData
;
},
},
watch
:
{
watch
:
{
...
@@ -77,9 +78,11 @@ export default {
...
@@ -77,9 +78,11 @@ export default {
methods
:
{
methods
:
{
// 获取预计到港时间
// 获取预计到港时间
getExpectedTime
()
{
getExpectedTime
()
{
return
dayjs
(
const
{
shippingInfo
}
=
this
.
$attrs
.
shipmentObj
;
this
.
$attrs
.
shipmentObj
.
shippingInfo
.
dtEstArrivalTime
if
(
shippingInfo
)
{
).
format
(
"
YYYY-MM-DD
"
);
return
dayjs
(
shippingInfo
.
dtEstArrivalTime
).
format
(
"
YYYY-MM-DD
"
);
}
return
null
;
},
},
// 时间比较
// 时间比较
compareDate
(
expectedTime
,
apConfirmTime
)
{
compareDate
(
expectedTime
,
apConfirmTime
)
{
...
...
src/views/ecw/box/shippingSea/nodePage/blCopy.vue
View file @
656ca06f
...
@@ -2,9 +2,7 @@
...
@@ -2,9 +2,7 @@
<div>
<div>
<el-form
ref=
"blCopyForm"
:model=
"blCopyObj"
label-width=
"120px"
>
<el-form
ref=
"blCopyForm"
:model=
"blCopyObj"
label-width=
"120px"
>
<el-form-item
label=
"提单Copy"
>
<el-form-item
label=
"提单Copy"
>
<el-upload
action=
""
:file-list=
"blCopyObj.copyUrl"
>
<FileUpload
:limit=
"1"
:isShowTip=
false
v-model=
"blCopyObj.copyUrl"
:fileType=
"fileType"
/>
<el-button
size=
"small"
type=
"primary"
>
选择文件
</el-button>
</el-upload>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-row
class=
"operate-button"
>
<el-row
class=
"operate-button"
>
...
@@ -17,23 +15,28 @@
...
@@ -17,23 +15,28 @@
<
script
>
<
script
>
import
{
ladingCopyCreate
,
serviceMsg
}
from
"
@/api/ecw/boxSea
"
;
import
{
ladingCopyCreate
,
serviceMsg
}
from
"
@/api/ecw/boxSea
"
;
import
FileUpload
from
"
@/components/FileUpload
"
;
import
{
fileTypes
}
from
"
../utils
"
;
/**
/**
* 提单copy
* 提单copy
*/
*/
export
default
{
export
default
{
name
:
"
blCopy
"
,
name
:
"
blCopy
"
,
inheritAttrs
:
false
,
inheritAttrs
:
false
,
components
:
{
FileUpload
},
data
()
{
data
()
{
return
{
return
{
// 提单copy对象
// 提单copy对象
blCopyObj
:
{},
blCopyObj
:
{},
// 文件格式
fileType
:
fileTypes
,
};
};
},
},
created
()
{
created
()
{
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
let
oldData
=
{
...
this
.
$attrs
.
shipmentObj
[
voName
]
};
let
oldData
=
{
...
this
.
$attrs
.
shipmentObj
[
voName
]
};
this
.
blCopyObj
=
oldData
;
this
.
blCopyObj
=
oldData
;
this
.
blCopyObj
.
copyUrl
=
[];
},
},
methods
:
{
methods
:
{
/** 提交 */
/** 提交 */
...
...
src/views/ecw/box/shippingSea/nodePage/booking.vue
View file @
656ca06f
...
@@ -8,16 +8,16 @@
...
@@ -8,16 +8,16 @@
<supplierSelect
v-model=
"bookingObj.shipCompanyType"
:companyType=
"'9'"
placeholder=
"请选择船公司类型"
:allSupplier=
"this.$attrs.allSupplier"
/>
<supplierSelect
v-model=
"bookingObj.shipCompanyType"
:companyType=
"'9'"
placeholder=
"请选择船公司类型"
:allSupplier=
"this.$attrs.allSupplier"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"驳船港"
>
<el-form-item
label=
"驳船港"
>
<dockSelect
v-model=
"bookingObj.bargePort"
placeholder=
"请选择驳船港"
:allDocks=
"this.$attrs.allDocks"
/>
<dockSelect
v-model=
"bookingObj.bargePort
Id
"
placeholder=
"请选择驳船港"
:allDocks=
"this.$attrs.allDocks"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"大船港"
>
<el-form-item
label=
"大船港"
>
<dockSelect
v-model=
"bookingObj.bigPort"
placeholder=
"请选择大船港"
:allDocks=
"this.$attrs.allDocks"
/>
<dockSelect
v-model=
"bookingObj.bigPort
Id
"
placeholder=
"请选择大船港"
:allDocks=
"this.$attrs.allDocks"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"目的港"
>
<el-form-item
label=
"目的港"
>
<dockSelect
v-model=
"bookingObj.destPort"
placeholder=
"请选择目的港"
:allDocks=
"this.$attrs.allDocks"
/>
<dockSelect
v-model=
"bookingObj.destPort
Id
"
placeholder=
"请选择目的港"
:allDocks=
"this.$attrs.allDocks"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"订舱公司"
>
<el-form-item
label=
"订舱公司"
>
<supplierSelect
v-model=
"bookingObj.spaceCompany"
:companyType=
"'1'"
placeholder=
"请选择订舱公司"
:allSupplier=
"this.$attrs.allSupplier"
/>
<supplierSelect
v-model=
"bookingObj.spaceCompany
Id
"
:companyType=
"'1'"
placeholder=
"请选择订舱公司"
:allSupplier=
"this.$attrs.allSupplier"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"预计驳船时间"
prop=
"bargeTime"
>
<el-form-item
label=
"预计驳船时间"
prop=
"bargeTime"
>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
value-format=
"yyyy-MM-dd"
v-model=
"bookingObj.bargeTime"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
value-format=
"yyyy-MM-dd"
v-model=
"bookingObj.bargeTime"
></el-date-picker>
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"通知人"
label-width=
"80px"
>
<el-form-item
label=
"通知人"
label-width=
"80px"
>
<userSelect
v-model=
"bookingObj.
feedTimePerson1
"
placeholder=
"请选择通知人"
:allUsers=
"this.$attrs.allUsers"
/>
<userSelect
v-model=
"bookingObj.
sailNotifyUser
"
placeholder=
"请选择通知人"
:allUsers=
"this.$attrs.allUsers"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -39,12 +39,12 @@
...
@@ -39,12 +39,12 @@
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"预计提单补料时间"
>
<el-form-item
label=
"预计提单补料时间"
>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
value-format=
"yyyy-MM-dd"
v-model=
"bookingObj.
feed
Time"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
value-format=
"yyyy-MM-dd"
v-model=
"bookingObj.
ladingBill
Time"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"通知人"
label-width=
"80px"
>
<el-form-item
label=
"通知人"
label-width=
"80px"
>
<userSelect
v-model=
"bookingObj.
feedTimePerson2
"
placeholder=
"请选择通知人"
:allUsers=
"this.$attrs.allUsers"
/>
<userSelect
v-model=
"bookingObj.
ladingBillNotifyUser
"
placeholder=
"请选择通知人"
:allUsers=
"this.$attrs.allUsers"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -52,12 +52,12 @@
...
@@ -52,12 +52,12 @@
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"预计报关时间"
>
<el-form-item
label=
"预计报关时间"
>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
value-format=
"yyyy-MM-dd"
v-model=
"bookingObj.
declaration
Time"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
value-format=
"yyyy-MM-dd"
v-model=
"bookingObj.
customs
Time"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"通知人"
label-width=
"80px"
>
<el-form-item
label=
"通知人"
label-width=
"80px"
>
<userSelect
v-model=
"bookingObj.
feedTimePerson3
"
placeholder=
"请选择通知人"
:allUsers=
"this.$attrs.allUsers"
/>
<userSelect
v-model=
"bookingObj.
customsNotifyUser
"
placeholder=
"请选择通知人"
:allUsers=
"this.$attrs.allUsers"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"通知人"
label-width=
"80px"
>
<el-form-item
label=
"通知人"
label-width=
"80px"
>
<userSelect
v-model=
"bookingObj.
feedTimePerson4
"
placeholder=
"请选择通知人"
:allUsers=
"this.$attrs.allUsers"
/>
<userSelect
v-model=
"bookingObj.
cutOffNotifyUser
"
placeholder=
"请选择通知人"
:allUsers=
"this.$attrs.allUsers"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -119,7 +119,13 @@ export default {
...
@@ -119,7 +119,13 @@ export default {
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
let
oldData
=
{
...
this
.
shipmentObj
[
voName
]
};
let
oldData
=
{
...
this
.
shipmentObj
[
voName
]
};
oldData
=
formatStringNumber
(
oldData
,
[
"
shipCompanyType
"
,
"
spaceCompany
"
]);
oldData
=
formatStringNumber
(
oldData
,
[
"
shipCompanyType
"
,
"
spaceCompany
"
]);
oldData
=
formatDateStr
(
oldData
,
[
"
sailTime
"
,
"
bargeTime
"
]);
oldData
=
formatDateStr
(
oldData
,
[
"
sailTime
"
,
"
bargeTime
"
,
"
ladingBillTime
"
,
"
customsTime
"
,
"
cutOffTime
"
,
]);
this
.
bookingObj
=
oldData
;
this
.
bookingObj
=
oldData
;
},
},
methods
:
{
methods
:
{
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/index.vue
View file @
656ca06f
...
@@ -16,9 +16,7 @@
...
@@ -16,9 +16,7 @@
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"cabinetObj.ldOutWarehouseTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"cabinetObj.ldOutWarehouseTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"装柜图片"
>
<el-form-item
label=
"装柜图片"
>
<el-upload
action=
""
:limit=
"1"
:file-list=
"cabinetObj.ldPictures"
>
<ImageUpload
:limit=
"1"
:isShowTip=
false
v-model=
"cabinetObj.ldPictures"
/>
<el-button
size=
"small"
type=
"primary"
>
选择文件
</el-button>
</el-upload>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -39,8 +37,9 @@
...
@@ -39,8 +37,9 @@
<
script
>
<
script
>
import
startPacking
from
"
./startPacking.vue
"
;
import
startPacking
from
"
./startPacking.vue
"
;
import
{
cabinetCreate
,
serviceMsg
}
from
"
@/api/ecw/boxSea
"
;
import
{
cabinetCreate
,
serviceMsg
,
approvalCreate
}
from
"
@/api/ecw/boxSea
"
;
import
{
formatDateStr
}
from
"
../../utils
"
;
import
{
formatDateStr
}
from
"
../../utils
"
;
import
ImageUpload
from
"
@/components/ImageUpload
"
;
/**
/**
* 装柜
* 装柜
...
@@ -48,7 +47,7 @@ import { formatDateStr } from "../../utils";
...
@@ -48,7 +47,7 @@ import { formatDateStr } from "../../utils";
export
default
{
export
default
{
name
:
"
cabinet
"
,
name
:
"
cabinet
"
,
inheritAttrs
:
false
,
inheritAttrs
:
false
,
components
:
{
startPacking
},
components
:
{
startPacking
,
ImageUpload
},
data
()
{
data
()
{
return
{
return
{
// 弹窗
// 弹窗
...
@@ -81,9 +80,21 @@ export default {
...
@@ -81,9 +80,21 @@ export default {
...
this
.
cabinetObj
,
...
this
.
cabinetObj
,
operateType
,
operateType
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
if
(
operateType
===
2
)
{
this
.
cancel
(
"
submit
"
);
approvalCreate
({
});
shipmentId
:
this
.
$attrs
.
shipmentObj
.
id
,
approvalStatus
:
0
,
approvalType
:
2
,
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
cancel
(
"
submit
"
);
});
});
}
else
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
cancel
(
"
submit
"
);
});
}
});
});
}
}
});
});
...
...
src/views/ecw/box/shippingSea/nodePage/clrDocument.vue
View file @
656ca06f
...
@@ -28,9 +28,7 @@
...
@@ -28,9 +28,7 @@
</el-col>
</el-col>
</el-row>
</el-row>
<el-form-item
label=
"电放凭证附件"
>
<el-form-item
label=
"电放凭证附件"
>
<el-upload
action=
""
:file-list=
"cDocObj.cdElectricVoucher"
>
<FileUpload
:limit=
"1"
:isShowTip=
false
v-model=
"cDocObj.cdElectricVoucher"
:fileType=
"fileType"
/>
<el-button
size=
"small"
type=
"primary"
>
选择文件
</el-button>
</el-upload>
</el-form-item>
</el-form-item>
<el-form-item
label=
"agent list"
>
<el-form-item
label=
"agent list"
>
...
@@ -42,9 +40,7 @@
...
@@ -42,9 +40,7 @@
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"cDocObj.cdAgentlistTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"cDocObj.cdAgentlistTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-upload
action=
""
:file-list=
"cDocObj.cdAgentlistFile"
>
<FileUpload
:limit=
"1"
:isShowTip=
false
v-model=
"cDocObj.cdAgentlistFile"
:fileType=
"fileType"
/>
<el-button
size=
"small"
type=
"primary"
>
选择文件
</el-button>
</el-upload>
</el-form-item>
</el-form-item>
<el-form-item
label=
"soncap"
>
<el-form-item
label=
"soncap"
>
...
@@ -56,9 +52,7 @@
...
@@ -56,9 +52,7 @@
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"cDocObj.cdSoncapTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"cDocObj.cdSoncapTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-upload
action=
""
:file-list=
"cDocObj.cdSoncapFile"
>
<FileUpload
:limit=
"1"
:isShowTip=
false
v-model=
"cDocObj.cdSoncapFile"
:fileType=
"fileType"
/>
<el-button
size=
"small"
type=
"primary"
>
选择文件
</el-button>
</el-upload>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -72,13 +66,21 @@
...
@@ -72,13 +66,21 @@
<
script
>
<
script
>
import
{
clearanceDocCreate
,
serviceMsg
}
from
"
@/api/ecw/boxSea
"
;
import
{
clearanceDocCreate
,
serviceMsg
}
from
"
@/api/ecw/boxSea
"
;
import
{
constantDict
,
formatDateStr
,
formatNumberString
}
from
"
../utils
"
;
import
{
constantDict
,
formatDateStr
,
formatNumberString
,
fileTypes
,
}
from
"
../utils
"
;
import
FileUpload
from
"
@/components/FileUpload
"
;
/**
/**
* 清关文件
* 清关文件
*/
*/
export
default
{
export
default
{
name
:
"
clrDocument
"
,
name
:
"
clrDocument
"
,
inheritAttrs
:
false
,
inheritAttrs
:
false
,
components
:
{
FileUpload
},
data
()
{
data
()
{
return
{
return
{
// 清关文件对象
// 清关文件对象
...
@@ -87,6 +89,8 @@ export default {
...
@@ -87,6 +89,8 @@ export default {
method
:
constantDict
.
billingMethod
,
method
:
constantDict
.
billingMethod
,
// 选项
// 选项
status
:
constantDict
.
isFile
,
status
:
constantDict
.
isFile
,
// 文件类型
fileType
:
fileTypes
,
};
};
},
},
created
()
{
created
()
{
...
...
src/views/ecw/box/shippingSea/nodePage/cusClearance.vue
View file @
656ca06f
...
@@ -58,7 +58,8 @@ export default {
...
@@ -58,7 +58,8 @@ export default {
created
()
{
created
()
{
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
let
oldData
=
{
...
this
.
$attrs
.
shipmentObj
[
voName
]
};
let
oldData
=
{
...
this
.
$attrs
.
shipmentObj
[
voName
]
};
oldData
=
formatDateStr
(
oldData
,
[
"
clEstTime
"
,
"
clClearTime
"
]);
oldData
=
formatDateStr
(
oldData
,
[
"
clEstTime
"
]);
oldData
=
formatDateStr
(
oldData
,
[
"
clClearTime
"
],
"
YYYY-MM-DD HH:mm:ss
"
);
this
.
cusClearanceObj
=
oldData
;
this
.
cusClearanceObj
=
oldData
;
},
},
watch
:
{
watch
:
{
...
...
src/views/ecw/box/shippingSea/nodePage/cusDeclaration.vue
View file @
656ca06f
...
@@ -46,9 +46,7 @@
...
@@ -46,9 +46,7 @@
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"cusDeclarationObj.dcCheckTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"cusDeclarationObj.dcCheckTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"查验前图片"
>
<el-form-item
label=
"查验前图片"
>
<el-upload
action=
""
:limit=
"1"
:file-list=
"cusDeclarationObj.dcCheckPreImg"
>
<ImageUpload
:limit=
"1"
:isShowTip=
false
v-model=
"cusDeclarationObj.dcCheckPreImg"
/>
<el-button
size=
"small"
type=
"primary"
>
选择文件
</el-button>
</el-upload>
</el-form-item>
</el-form-item>
<el-form-item
label=
"新封条"
>
<el-form-item
label=
"新封条"
>
<el-input
v-model=
"cusDeclarationObj.dcStripSeal"
placeholder=
"请输入新封条"
clearable
/>
<el-input
v-model=
"cusDeclarationObj.dcStripSeal"
placeholder=
"请输入新封条"
clearable
/>
...
@@ -133,13 +131,15 @@
...
@@ -133,13 +131,15 @@
import
supplierSelect
from
"
./common/supplierSelect.vue
"
;
import
supplierSelect
from
"
./common/supplierSelect.vue
"
;
import
{
customsCreate
,
serviceMsg
}
from
"
@/api/ecw/boxSea
"
;
import
{
customsCreate
,
serviceMsg
}
from
"
@/api/ecw/boxSea
"
;
import
{
formatNumberString
,
formatDateStr
}
from
"
../utils
"
;
import
{
formatNumberString
,
formatDateStr
}
from
"
../utils
"
;
import
ImageUpload
from
"
@/components/ImageUpload
"
;
/**
/**
* 报关
* 报关
*/
*/
export
default
{
export
default
{
name
:
"
cusDeclaration
"
,
name
:
"
cusDeclaration
"
,
inheritAttrs
:
false
,
inheritAttrs
:
false
,
components
:
{
supplierSelect
},
components
:
{
supplierSelect
,
ImageUpload
},
data
()
{
data
()
{
return
{
return
{
// 报关对象
// 报关对象
...
...
src/views/ecw/box/shippingSea/nodePage/departure.vue
View file @
656ca06f
...
@@ -61,7 +61,8 @@ export default {
...
@@ -61,7 +61,8 @@ export default {
created
()
{
created
()
{
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
let
oldData
=
{
...
this
.
$attrs
.
shipmentObj
[
voName
]
};
let
oldData
=
{
...
this
.
$attrs
.
shipmentObj
[
voName
]
};
oldData
=
formatDateStr
(
oldData
,
[
"
dtRealShipTime
"
,
"
dtEstArrivalTime
"
]);
oldData
=
formatDateStr
(
oldData
,
[
"
dtRealShipTime
"
],
"
YYYY-MM-DD HH:mm:ss
"
);
oldData
=
formatDateStr
(
oldData
,
[
"
dtEstArrivalTime
"
]);
this
.
departureObj
=
oldData
;
this
.
departureObj
=
oldData
;
},
},
watch
:
{
watch
:
{
...
...
src/views/ecw/box/shippingSea/nodePage/preinstallReview.vue
View file @
656ca06f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div>
<div>
<el-form
ref=
"reviewForm"
:model=
"reviewObj"
label-width=
"120px"
>
<el-form
ref=
"reviewForm"
:model=
"reviewObj"
label-width=
"120px"
>
<el-form-item
label=
"申请理由"
>
<el-form-item
label=
"申请理由"
>
<el-input
v-model=
"reviewObj.
remark
"
type=
"textarea"
rows=
"2"
placeholder=
"请输入申请理由"
></el-input>
<el-input
v-model=
"reviewObj.
applyReason
"
type=
"textarea"
rows=
"2"
placeholder=
"请输入申请理由"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-row
class=
"operate-button"
>
<el-row
class=
"operate-button"
>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
approvalCreate
}
from
"
@/api/ecw/boxSea
"
;
import
{
approvalCreate
,
serviceMsg
}
from
"
@/api/ecw/boxSea
"
;
/**
/**
* 预装反审
* 预装反审
...
@@ -36,7 +36,7 @@ export default {
...
@@ -36,7 +36,7 @@ export default {
shipmentId
:
this
.
$attrs
.
shipmentObj
.
id
,
shipmentId
:
this
.
$attrs
.
shipmentObj
.
id
,
...
this
.
reviewObj
,
...
this
.
reviewObj
,
approvalStatus
:
-
1
,
approvalStatus
:
-
1
,
approvalType
:
1
,
approvalType
:
4
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
cancel
(
"
submit
"
);
this
.
cancel
(
"
submit
"
);
...
...
src/views/ecw/box/shippingSea/nodePage/ship.vue
View file @
656ca06f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"配船时间"
v-show=
"shipObj.saExmtStatus === '2'"
>
<el-form-item
label=
"配船时间"
v-show=
"shipObj.saExmtStatus === '2'"
>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"shipObj.
ship
Time"
value-format=
"yyyy-MM-dd"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"shipObj.
config
Time"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
...
src/views/ecw/box/shippingSea/nodePage/subMaterial.vue
View file @
656ca06f
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
<el-input
v-model=
"subMaterialObj.markNo"
></el-input>
<el-input
v-model=
"subMaterialObj.markNo"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"包装数量与单位"
class=
"two-element"
>
<el-form-item
label=
"包装数量与单位"
class=
"two-element"
>
<el-input
v-model=
"subMaterialObj.
quantity
"
placeholder=
"请输入包装数量"
></el-input>
<el-input
v-model=
"subMaterialObj.
packageNum
"
placeholder=
"请输入包装数量"
></el-input>
<el-select
v-model=
"subMaterialObj.
u
nit"
placeholder=
"请选择单位"
>
<el-select
v-model=
"subMaterialObj.
packageU
nit"
placeholder=
"请选择单位"
>
<el-option
v-for=
"unit in units"
:key=
"unit.id"
:value=
"unit.fuhao"
>
{{
unit
.
titleZh
}}
</el-option>
<el-option
v-for=
"unit in units"
:key=
"unit.id"
:value=
"unit.fuhao"
>
{{
unit
.
titleZh
}}
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<el-input
v-model=
"subMaterialObj.kgs"
placeholder=
"请输入毛重(KGS)"
></el-input>
<el-input
v-model=
"subMaterialObj.kgs"
placeholder=
"请输入毛重(KGS)"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"立方数(CBM)"
>
<el-form-item
label=
"立方数(CBM)"
>
<el-input
v-model=
"subMaterialObj.
mesaurement
"
placeholder=
"请输入立方数(CBM)"
></el-input>
<el-input
v-model=
"subMaterialObj.
cbm
"
placeholder=
"请输入立方数(CBM)"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"货物描述"
>
<el-form-item
label=
"货物描述"
>
<el-input
v-model=
"subMaterialObj.goodsDesc"
placeholder=
"请输入货物描述"
></el-input>
<el-input
v-model=
"subMaterialObj.goodsDesc"
placeholder=
"请输入货物描述"
></el-input>
...
@@ -97,16 +97,7 @@ export default {
...
@@ -97,16 +97,7 @@ export default {
markNo
:
"
N/M
"
,
markNo
:
"
N/M
"
,
},
},
// 出单方式
// 出单方式
method
:
[
method
:
constantDict
.
billingMethod
,
{
value
:
"
1
"
,
label
:
"
正本
"
,
},
{
value
:
"
2
"
,
label
:
"
电放
"
,
},
],
// 单位
// 单位
units
:
[],
units
:
[],
// 柜型
// 柜型
...
@@ -132,6 +123,7 @@ export default {
...
@@ -132,6 +123,7 @@ export default {
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
let
oldData
=
{
...
this
.
shipmentObj
[
voName
]
};
let
oldData
=
{
...
this
.
shipmentObj
[
voName
]
};
oldData
=
formatNumberString
(
oldData
,
[
"
issueType
"
]);
this
.
subMaterialObj
=
oldData
;
this
.
subMaterialObj
=
oldData
;
},
},
methods
:
{
methods
:
{
...
...
src/views/ecw/box/shippingSea/nodePage/unloading/index.vue
View file @
656ca06f
...
@@ -8,13 +8,13 @@
...
@@ -8,13 +8,13 @@
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"unloadingObj.ulWarehouseTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"unloadingObj.ulWarehouseTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"卸柜时间"
>
<el-form-item
label=
"卸柜时间"
>
<el-date-picker
type=
"date
time"
placeholder=
"请选择日期"
v-model=
"unloadingObj.ulBoxTime"
value-format=
"yyyy-MM-dd HH:mm:ss
"
></el-date-picker>
<el-date-picker
type=
"date
"
placeholder=
"请选择日期"
v-model=
"unloadingObj.ulBoxTime"
value-format=
"yyyy-MM-dd
"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-row
class=
"operate-button"
>
<el-row
class=
"operate-button"
>
<el-button
type=
"primary"
@
click=
"onSubmit(1)"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit(1)"
>
保存
</el-button>
<el-button
type=
"
success"
@
click=
"onSubmit(2)"
>
提交
</el-button>
<el-button
type=
"success"
@
click=
"onSubmit(2)"
>
提交
</el-button>
<el-button
@
click=
"cancel"
>
关闭
</el-button>
<el-button
@
click=
"cancel"
>
关闭
</el-button>
<el-button
type=
"danger"
@
click=
"startUnloading"
>
开始卸柜
</el-button>
<el-button
type=
"danger"
@
click=
"startUnloading"
>
开始卸柜
</el-button>
</el-row>
</el-row>
...
...
src/views/ecw/box/shippingSea/seaStepDetail.vue
View file @
656ca06f
...
@@ -238,11 +238,11 @@ export default {
...
@@ -238,11 +238,11 @@ export default {
},
},
{
{
title
:
"
数量
"
,
title
:
"
数量
"
,
key
:
""
,
key
:
"
packageNum
"
,
},
},
{
{
title
:
"
体积
"
,
title
:
"
体积
"
,
key
:
""
,
key
:
"
cbm
"
,
},
},
{
{
title
:
"
业务员
"
,
title
:
"
业务员
"
,
...
@@ -264,7 +264,7 @@ export default {
...
@@ -264,7 +264,7 @@ export default {
{
{
title
:
"
实际开船时间
"
,
title
:
"
实际开船时间
"
,
key
:
"
dtRealShipTime
"
,
key
:
"
dtRealShipTime
"
,
type
:
"
date
"
,
type
:
"
date
time
"
,
},
},
{
{
title
:
"
预计到港时间
"
,
title
:
"
预计到港时间
"
,
...
@@ -306,12 +306,12 @@ export default {
...
@@ -306,12 +306,12 @@ export default {
{
{
title
:
"
实际到港时间
"
,
title
:
"
实际到港时间
"
,
key
:
"
apRealTime
"
,
key
:
"
apRealTime
"
,
type
:
"
date
"
,
type
:
"
date
time
"
,
},
},
{
{
title
:
"
确认到港
"
,
title
:
"
确认到港
"
,
key
:
"
apConfirmTime
"
,
key
:
"
apConfirmTime
"
,
type
:
"
date
"
,
type
:
"
date
time
"
,
},
},
{
{
title
:
"
卸港时间
"
,
title
:
"
卸港时间
"
,
...
@@ -332,7 +332,7 @@ export default {
...
@@ -332,7 +332,7 @@ export default {
{
{
title
:
"
清关时间
"
,
title
:
"
清关时间
"
,
key
:
"
clClearTime
"
,
key
:
"
clClearTime
"
,
type
:
"
date
"
,
type
:
"
date
time
"
,
},
},
{
{
title
:
"
业务员
"
,
title
:
"
业务员
"
,
...
@@ -383,6 +383,9 @@ export default {
...
@@ -383,6 +383,9 @@ export default {
case
"
date
"
:
case
"
date
"
:
val
=
dayjs
(
val
).
format
(
"
YYYY-MM-DD
"
);
val
=
dayjs
(
val
).
format
(
"
YYYY-MM-DD
"
);
break
;
break
;
case
"
datetime
"
:
val
=
dayjs
(
val
).
format
(
"
YYYY-MM-DD HH:mm:ss
"
);
break
;
case
"
supplier
"
:
case
"
supplier
"
:
val
=
this
.
getSupplier
(
Number
(
val
));
val
=
this
.
getSupplier
(
Number
(
val
));
break
;
break
;
...
@@ -441,9 +444,7 @@ export default {
...
@@ -441,9 +444,7 @@ export default {
flex-direction
:
column
;
flex-direction
:
column
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
align-content
:
flex-start
;
align-content
:
flex-start
;
height
:
550px
;
// width: 100%;
height
:
500px
;
p
{
p
{
margin
:
0
;
margin
:
0
;
...
...
src/views/ecw/box/shippingSea/shippingSea.vue
View file @
656ca06f
...
@@ -68,7 +68,7 @@ export default {
...
@@ -68,7 +68,7 @@ export default {
// 用户
// 用户
allUsers
:
[],
allUsers
:
[],
// 流程图节点
// 流程图节点
seaBaseData
:
seaBaseData
,
seaBaseData
:
seaBaseData
()
,
// 状态
// 状态
statusLabel
:
""
,
statusLabel
:
""
,
};
};
...
...
src/views/ecw/box/shippingSea/utils.js
View file @
656ca06f
This diff is collapsed.
Click to expand it.
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