Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
viitto
mallapp
Commits
eb006ea9
Commit
eb006ea9
authored
Feb 23, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
58974a99
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
183 additions
and
139 deletions
+183
-139
investment.vue
pages/kotra/investment.vue
+121
-88
procurement.vue
pages/kotra/procurement.vue
+62
-51
No files found.
pages/kotra/investment.vue
View file @
eb006ea9
This diff is collapsed.
Click to expand it.
pages/kotra/procurement.vue
View file @
eb006ea9
<
style
>
.compInformation
{
background-color
:
#fff
;
margin-bottom
:
80px
;
margin-bottom
:
80px
;
}
.compInfoList
{
...
...
@@ -26,15 +26,16 @@
width
:
75%
;
margin-top
:
2px
;
font-size
:
13px
;
color
:
#808080
;
color
:
#808080
;
}
.comInBtn
{
.comInBtn
{
position
:
fixed
;
bottom
:
0
;
width
:
100%
;
height
:
50px
;
color
:
#fff
;
z-index
:
99
;
bottom
:
0
;
width
:
100%
;
height
:
50px
;
color
:
#fff
;
z-index
:
99
;
font-size
:
16px
;
text-align
:
center
;
line-height
:
50px
;
...
...
@@ -119,7 +120,7 @@
<view
class=
"comInforName"
>
成立时间
</view>
<view
@
click=
"showStart=true"
style=
"width:75%;color:#808080;"
>
{{
msg
.
FoundingTime
Str
}}
</view>
<view
@
click=
"showStart=true"
style=
"width:75%;color:#808080;"
>
{{
msg
.
FoundingTime
}}
</view>
</view>
<view
class=
"compInfoList"
>
<view
class=
"comInforName"
>
...
...
@@ -207,10 +208,10 @@
},
msg
:
{
Id
:
0
,
//编号
Type
:
1
,
GoodsCategory
:
''
,
// 采购类目
ImportNum
:
''
,
//进口数量
Describe
:
''
,
//产品说明
Type
:
1
,
GoodsCategory
:
''
,
// 采购类目
ImportNum
:
''
,
//进口数量
Describe
:
''
,
//产品说明
CompanyName
:
""
,
//公司名称
CompanyEnName
:
""
,
//公司英文名称
Mobile
:
""
,
//手机号码
...
...
@@ -220,7 +221,7 @@
WechatNo
:
""
,
//公司微信
DomainUrl
:
""
,
//官网
Industry
:
""
,
//行业
FoundingTime
Str
:
''
,
//成立时间
FoundingTime
:
''
,
//成立时间
EmployeeNum
:
""
,
//员工人数
AnnualSales
:
""
,
//年销售(万元)
Address
:
""
,
//详细地址
...
...
@@ -238,20 +239,9 @@
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
,
});
var
currTime
=
new
Date
();
var
year
=
currTime
.
getFullYear
();
var
month
=
currTime
.
getMonth
()
+
1
;
var
day
=
currTime
.
getDate
();
if
(
month
<
10
){
month
=
'0'
+
month
;
}
if
(
day
<
10
){
day
=
'0'
+
day
;
}
this
.
msg
.
FoundingTimeStr
=
year
+
'-'
+
month
+
'-'
+
day
;
},
onLoad
(
options
)
{
},
created
()
{
this
.
getList
();
...
...
@@ -272,64 +262,85 @@
(
res
)
=>
{
uni
.
hideLoading
();
if
(
res
.
resultCode
==
1
)
{
console
.
log
(
res
,
'数据类了'
);
this
.
msg
=
res
.
data
;
let
tempData
=
res
.
data
;
if
(
tempData
)
{
this
.
msg
.
CompanyName
=
tempData
.
CompanyName
;
this
.
msg
.
CompanyEnName
=
tempData
.
CompanyEnName
;
this
.
msg
.
Mobile
=
tempData
.
Mobile
;
this
.
msg
.
EMail
=
tempData
.
EMail
;
this
.
msg
.
LegalPerson
=
tempData
.
LegalPerson
;
this
.
msg
.
Principal
=
tempData
.
Principal
;
this
.
msg
.
WechatNo
=
tempData
.
WechatNo
;
this
.
msg
.
DomainUrl
=
tempData
.
DomainUrl
;
this
.
msg
.
Industry
=
tempData
.
Industry
;
this
.
msg
.
FoundingTime
=
tempData
.
FoundingTimeStr
;
this
.
msg
.
EmployeeNum
=
tempData
.
EmployeeNum
;
this
.
msg
.
AnnualSales
=
tempData
.
AnnualSales
;
this
.
msg
.
Address
=
tempData
.
Address
;
this
.
msg
.
EnAddress
=
tempData
.
EnAddress
;
this
.
msg
.
AnnualImport
=
tempData
.
AnnualImport
;
this
.
msg
.
ImportCategory
=
tempData
.
ImportCategory
;
this
.
msg
.
ImportCountry
=
tempData
.
ImportCountry
;
this
.
msg
.
ExportCountry
=
tempData
.
ExportCountry
;
this
.
msg
.
CompanyIntro
=
tempData
.
CompanyIntro
;
this
.
msg
.
OtherInfo
=
tempData
.
OtherInfo
;
}
}
}
);
},
//保存数据
saveInfo
(){
if
(
this
.
msg
.
GoodsCategory
==
''
)
{
saveInfo
()
{
if
(
this
.
msg
.
GoodsCategory
==
''
)
{
uni
.
showToast
({
title
:
"请输入采购类目"
,
icon
:
'none'
title
:
"请输入采购类目"
,
icon
:
'none'
});
return
;
}
if
(
this
.
msg
.
ImportNum
==
''
)
{
if
(
this
.
msg
.
ImportNum
==
''
)
{
uni
.
showToast
({
title
:
"请输入进口数量"
,
icon
:
'none'
title
:
"请输入进口数量"
,
icon
:
'none'
});
return
;
}
if
(
this
.
msg
.
Describe
==
''
)
{
if
(
this
.
msg
.
Describe
==
''
)
{
uni
.
showToast
({
title
:
"请输入产品说明"
,
icon
:
'none'
title
:
"请输入产品说明"
,
icon
:
'none'
});
return
;
}
if
(
this
.
msg
.
CompanyName
==
''
)
{
if
(
this
.
msg
.
CompanyName
==
''
)
{
uni
.
showToast
({
title
:
"请输入公司名称"
,
icon
:
'none'
title
:
"请输入公司名称"
,
icon
:
'none'
});
return
;
}
if
(
this
.
msg
.
Mobile
==
''
)
{
if
(
this
.
msg
.
Mobile
==
''
)
{
uni
.
showToast
({
title
:
"请输入手机号码"
,
icon
:
'none'
title
:
"请输入手机号码"
,
icon
:
'none'
});
return
;
}
if
(
this
.
msg
.
EMail
==
''
)
{
if
(
this
.
msg
.
EMail
==
''
)
{
uni
.
showToast
({
title
:
"请输入EMail"
,
icon
:
'none'
title
:
"请输入EMail"
,
icon
:
'none'
});
return
;
}
this
.
request2
({
url
:
"/api/AppletTrade/Set
Company
"
,
url
:
"/api/AppletTrade/Set
InvestmentProcurement
"
,
data
:
this
.
msg
,
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
uni
.
showToast
({
title
:
"保存成功"
,
title
:
"保存成功"
,
});
this
.
getList
();
}
...
...
@@ -337,8 +348,8 @@
);
},
btnStart
(
val
)
{
this
.
msg
.
FoundingTime
=
val
.
year
+
'-'
+
val
.
month
+
'-'
+
val
.
day
;
console
.
log
(
val
);
this
.
msg
.
FoundingTime
=
val
.
year
+
'-'
+
val
.
month
+
'-'
+
val
.
day
;
},
},
}
...
...
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