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
6efc3fa8
Commit
6efc3fa8
authored
Jul 18, 2022
by
huhaiqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
清关文件开发
parent
c3ffcd15
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
150 additions
and
18 deletions
+150
-18
clearanceDocument.vue
src/views/ecw/box/shippingSea/nodePage/clearanceDocument.vue
+126
-0
seaProcess.vue
src/views/ecw/box/shippingSea/seaProcess.vue
+24
-18
No files found.
src/views/ecw/box/shippingSea/nodePage/clearanceDocument.vue
0 → 100644
View file @
6efc3fa8
<
template
>
<div>
<el-form
ref=
"cDocForm"
:model=
"cDocObj"
label-width=
"100px"
>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"出单方式"
>
<el-select
v-model=
"cDocObj.method"
placeholder=
"请选择出单方式"
>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"电放时间"
>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"cDocObj.dischargeTime"
></el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"寄送时间"
>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"cDocObj.deliveryTime"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"快递单号"
>
<el-input
v-model=
"cDocObj.courierNumber"
placeholder=
"请输入快递单号"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-form-item
label=
"电放凭证附件"
>
<el-upload
action=
""
:file-list=
"cDocObj.fileList"
>
<el-button
size=
"small"
type=
"primary"
>
选择文件
</el-button>
</el-upload>
</el-form-item>
<el-form-item
label=
"agent list"
>
<el-radio-group
v-model=
"cDocObj.agent"
>
<el-radio
v-for=
"item in status"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"cDocObj.agenTime"
></el-date-picker>
</el-form-item>
<el-form-item>
<el-upload
action=
""
:file-list=
"cDocObj.agentFileList"
>
<el-button
size=
"small"
type=
"primary"
>
选择文件
</el-button>
</el-upload>
</el-form-item>
<el-form-item
label=
"soncap"
>
<el-radio-group
v-model=
"cDocObj.soncap"
>
<el-radio
v-for=
"item in status"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item>
<el-date-picker
type=
"date"
placeholder=
"请选择日期"
v-model=
"cDocObj.soncapTime"
></el-date-picker>
</el-form-item>
<el-form-item>
<el-upload
action=
""
:file-list=
"cDocObj.soncapFileList"
>
<el-button
size=
"small"
type=
"primary"
>
选择文件
</el-button>
</el-upload>
</el-form-item>
</el-form>
<el-row
class=
"operate-button"
>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
保存
</el-button>
<el-button
type=
"success"
@
click=
"onSubmit"
>
提交
</el-button>
<el-button
@
click=
"cancel"
>
关闭
</el-button>
</el-row>
</div>
</
template
>
<
script
>
/**
* 清关文件
*/
export
default
{
name
:
"
clearanceDocument
"
,
data
()
{
return
{
// 清关文件对象
cDocObj
:
{
fileList
:
[],
},
// 出单方式
method
:
[
{
value
:
"
1
"
,
label
:
"
正本
"
,
},
{
value
:
"
2
"
,
label
:
"
电放
"
,
},
],
// 选项
status
:
[
{
value
:
"
1
"
,
label
:
"
无需
"
,
},
{
value
:
"
2
"
,
label
:
"
已做
"
,
},
],
};
},
methods
:
{
/** 提交 */
onSubmit
()
{
this
.
$refs
[
"
cDocForm
"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
alert
(
"
submit!
"
);
}
});
},
/** 取消 */
cancel
()
{
this
.
$emit
(
"
closeDialog
"
);
},
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
src/views/ecw/box/shippingSea/seaProcess.vue
View file @
6efc3fa8
...
...
@@ -33,17 +33,19 @@
<!-- 装柜 -->
<cabinetWidget
:boxId=
"boxId"
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'cabinet'"
/>
<!-- 报关 -->
<customsClearance
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'customsDeclaration'"
/>
<customsClearance
Widget
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'customsDeclaration'"
/>
<!-- 配船 -->
<ship
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'ship'"
/>
<ship
Widget
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'ship'"
/>
<!-- 提单材料 -->
<subMaterial
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'subMaterial'"
/>
<subMaterial
Widget
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'subMaterial'"
/>
<!-- 驳船 -->
<barge
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'barge'"
/>
<barge
Widget
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'barge'"
/>
<!-- 起运 -->
<departure
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'departure'"
/>
<departure
Widget
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'departure'"
/>
<!-- 提单copy -->
<blCopy
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'blCopy'"
/>
<blCopyWidget
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'blCopy'"
/>
<!-- 清关文件 -->
<clearanceDocumentWidget
@
closeDialog=
"closeDialog"
v-if=
"dialogConfig.type === 'clearanceDocument'"
/>
</el-dialog>
</div>
</template>
...
...
@@ -54,12 +56,13 @@ import trailerWidget from "./nodePage/trailer";
import
preinstallWidget
from
"
./nodePage/preinstall
"
;
import
agentWidget
from
"
./nodePage/agent
"
;
import
cabinetWidget
from
"
./nodePage/cabinet
"
;
import
customsClearance
from
"
./nodePage/customsClearance
"
;
import
ship
from
"
./nodePage/ship
"
;
import
subMaterial
from
"
./nodePage/subMaterial
"
;
import
barge
from
"
./nodePage/barge
"
;
import
departure
from
"
./nodePage/departure
"
;
import
blCopy
from
"
./nodePage/blCopy
"
;
import
customsClearanceWidget
from
"
./nodePage/customsClearance
"
;
import
shipWidget
from
"
./nodePage/ship
"
;
import
subMaterialWidget
from
"
./nodePage/subMaterial
"
;
import
bargeWidget
from
"
./nodePage/barge
"
;
import
departureWidget
from
"
./nodePage/departure
"
;
import
blCopyWidget
from
"
./nodePage/blCopy
"
;
import
clearanceDocumentWidget
from
"
./nodePage/clearanceDocument
"
;
/**
* 海运流程图
...
...
@@ -72,12 +75,13 @@ export default {
preinstallWidget
,
agentWidget
,
cabinetWidget
,
customsClearance
,
ship
,
subMaterial
,
barge
,
departure
,
blCopy
,
customsClearanceWidget
,
shipWidget
,
subMaterialWidget
,
bargeWidget
,
departureWidget
,
blCopyWidget
,
clearanceDocumentWidget
,
},
props
:
{
shippingType
:
String
,
...
...
@@ -220,6 +224,8 @@ export default {
case
"
booking
"
:
// 驳船
case
"
barge
"
:
// 清关文件
case
"
clearanceDocumentWidget
"
:
this
.
$set
(
this
.
dialogConfig
,
"
width
"
,
"
700px
"
);
this
.
$set
(
this
.
dialogConfig
,
"
fullscreen
"
,
false
);
break
;
...
...
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