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
20b1178e
Commit
20b1178e
authored
Dec 25, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提单模板抬头模板选择
parent
5de0e9b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
195 additions
and
0 deletions
+195
-0
index.vue
src/views/ecw/warehouse/index.vue
+7
-0
tpl.js
src/views/ecw/warehouse/tpl.js
+188
-0
No files found.
src/views/ecw/warehouse/index.vue
View file @
20b1178e
...
@@ -313,6 +313,7 @@
...
@@ -313,6 +313,7 @@
<el-input
v-model=
"ladingform.prefixCounter"
:placeholder=
"$t('请输入货柜前缀')"
/>
<el-input
v-model=
"ladingform.prefixCounter"
:placeholder=
"$t('请输入货柜前缀')"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('抬头')"
prop=
"titleZh"
>
<el-form-item
:label=
"$t('抬头')"
prop=
"titleZh"
>
<el-link
type=
"primary"
@
click.native=
"setTpl('sea')"
>
海运模板
</el-link>
|
<el-link
type=
"primary"
@
click.native=
"setTpl('air')"
>
空运模板
</el-link>
<ueditor
v-model=
"ladingform.titleZh"
:min-height=
"192"
style=
"width:960px"
/>
<ueditor
v-model=
"ladingform.titleZh"
:min-height=
"192"
style=
"width:960px"
/>
</el-form-item>
</el-form-item>
...
@@ -393,6 +394,9 @@ import RoutersSelectorWithoutChannel from '@/components/RoutersSelectorWithoutCh
...
@@ -393,6 +394,9 @@ import RoutersSelectorWithoutChannel from '@/components/RoutersSelectorWithoutCh
import
{
has
}
from
'
min-dash
'
;
import
{
has
}
from
'
min-dash
'
;
import
Template
from
"
../../cms/template/index
"
;
import
Template
from
"
../../cms/template/index
"
;
// 海运和空运的抬头模板
import
tpl
from
'
./tpl
'
console
.
log
(
tpl
)
export
default
{
export
default
{
name
:
"
Warehouse
"
,
name
:
"
Warehouse
"
,
components
:
{
components
:
{
...
@@ -642,6 +646,9 @@ export default {
...
@@ -642,6 +646,9 @@ export default {
console
.
log
(
"
transportDatas:
"
+
JSON
.
stringify
(
this
.
transportDatas
));
console
.
log
(
"
transportDatas:
"
+
JSON
.
stringify
(
this
.
transportDatas
));
},
},
methods
:
{
methods
:
{
setTpl
(
type
){
this
.
ladingform
.
titleZh
=
tpl
[
type
]
},
/** 查询列表 */
/** 查询列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
...
...
src/views/ecw/warehouse/tpl.js
0 → 100644
View file @
20b1178e
const
sea
=
`
<table style="width:96%;">
<tbody>
<tr class="firstRow">
<td style="text-align:center;">
<img src="https://static2.groupage.cn/logo.png" alt="" style="width:118px;"/>
</td>
<td class="laymain" style="vertical-align:text-top;">
<p style="font-size:36px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
E&C LOGISTICS LIMITED
</p>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
China Head Add.: +8618058993570/ 13556084412/13660548225/
</p>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
Yiwu Branch: +15957997302/ 18058993571/13105572235
</p>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
NGR head office: 07011331745/ 08140352000/
</p>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
Alaba Branch (Air-Cargo) : 07082148641/ 08105496751/ 07011331745
</p>
</td>
<td style="text-align:center;">
<img src="https://static2.groupage.cn/weixin.jpg" alt="" style="width:142px;"/>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
Website: www.groupage.cn
</p>
</td>
</tr>
</tbody>
</table>
<table style="width:96%;">
<tbody>
<tr class="firstRow">
<td style="font-size: 16px; color: rgb(0, 143, 215); word-break: break-all;">
<span style="color: rgb(0, 143, 215); font-family: "></span><span style="color: rgb(0, 143, 215); font-family: ">Lagos Airport Branch</span>: 07018291182/07082148641
</td>
<td style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
Trade fair Branch: 07013178195/ 09023762194
</td>
</tr>
</tbody>
</table>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
IDUMOTA/ISLAND : 07010775374/09025168630/09024538636
</p>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
Complaint Line:+86 15920356527(CHINA) / +2349021774695 (NIGERIA)
</p>
<p style="font-size:33px;color:#000;font-family:'Times New Roman';text-align:center;">
PACKING LIST
</p>
`
const
air
=
`
<table style="width:96%;">
<tbody>
<tr class="firstRow">
<td style="text-align:center;">
<img src="https://jd.static.jdshangmen.com/logo.png" alt="" style="width:118px;"/>
</td>
<td class="laymain" style="vertical-align:text-top;">
<p style="font-size:36px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
E&C LOGISTICS LIMITED
</p>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
China Head Add.: +8618058993570/ 13556084412/13660548225/
</p>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
Yiwu Branch: +15957997302/ 18058993571/13105572235
</p>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
NGR head office: 07011331745/ 08140352000/
</p>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
Alaba Branch (Air-Cargo) : 07082148641/ 08105496751/ 07011331745
</p>
</td>
<td style="text-align:center;">
<img src="https://jd.static.jdshangmen.com/weixin.jpg" alt="" style="width:142px;"/>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
Website: www.groupage.cn
</p>
</td>
</tr>
</tbody>
</table>
<table style="width:96%;">
<tbody>
<tr class="firstRow">
<td style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
Lagos Airport Branch: 07018291182/07082148641
</td>
<td style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
Trade fair Branch: 07013178195/ 09023762194
</td>
</tr>
</tbody>
</table>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
IDUMOTA/ISLAND : 07010775374/09025168630/09024538636
</p>
<p style="font-size:16px;color:#008fd7;font-family:'Times New Roman';text-align:center;">
Complaint Line:+86 15920356527(CHINA) / +2349021774695 (NIGERIA)
</p>
<p style="font-size:33px;color:#000;font-family:'Times New Roman';text-align:center;">
AIR WAY BILL
</p>
`
module
.
exports
=
{
sea
,
air
}
\ No newline at end of file
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