Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
portalhtml
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
rex
portalhtml
Commits
af2d1f75
Commit
af2d1f75
authored
Oct 19, 2021
by
qinj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审批页注册资本可编辑
parent
1a9cdbd7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
22 deletions
+26
-22
index.vue
src/views/customers/citypotenial-list/index.vue
+7
-0
index.vue
src/views/customers/potential-list/index.vue
+7
-1
index.vue
src/views/login/city-register/index.vue
+3
-15
index.vue
src/views/login/prov-register/index.vue
+9
-6
No files found.
src/views/customers/citypotenial-list/index.vue
View file @
af2d1f75
...
@@ -8,6 +8,10 @@
...
@@ -8,6 +8,10 @@
:rules=
"rules"
:rules=
"rules"
:sections=
"sections"
>
:sections=
"sections"
>
<template
v-slot:ExtRegisteredCapital_SDK=
"
{ formData }">
<el-input
v-if=
"formData.ExtProcessNode_SDK==4"
v-model=
"formData.ExtRegisteredCapital_SDK"
:disabled=
"!formData.ExtRegisteredCapital_SDK=='' || !formData.ExtRegisteredCapital_SDK==null"
>
</el-input>
</
template
>
<
template
v-slot:ExtLockRsp_SDK=
"{ formData }"
>
<
template
v-slot:ExtLockRsp_SDK=
"{ formData }"
>
<!-- 插槽内容有el-form-item组件包裹 -->
<!-- 插槽内容有el-form-item组件包裹 -->
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
...
@@ -434,6 +438,8 @@ export default {
...
@@ -434,6 +438,8 @@ export default {
approve
()
{
approve
()
{
if
(
this
.
formData
.
ExtLockRsp_SDK
.
length
==
0
||
this
.
formData
.
ExtLockCity_SDK
.
length
==
0
||
this
.
formData
.
ExtChannelType_SDK
.
length
==
0
){
if
(
this
.
formData
.
ExtLockRsp_SDK
.
length
==
0
||
this
.
formData
.
ExtLockCity_SDK
.
length
==
0
||
this
.
formData
.
ExtChannelType_SDK
.
length
==
0
){
return
this
.
$message
.
warning
(
'请输入必填信息'
)
return
this
.
$message
.
warning
(
'请输入必填信息'
)
}
else
if
(
formData
.
ExtRegisteredCapital_SDK
==
''
||
formData
.
ExtRegisteredCapital_SDK
==
null
){
return
this
.
$message
.
warning
(
'请输入注册资金'
)
}
else
{
}
else
{
this
.
dialogFormVisible
=
true
this
.
dialogFormVisible
=
true
this
.
status
=
1
this
.
status
=
1
...
@@ -450,6 +456,7 @@ export default {
...
@@ -450,6 +456,7 @@ export default {
const
extLockCity_SDK
=
this
.
formData
.
ExtLockCity_SDK
.
toString
()
const
extLockCity_SDK
=
this
.
formData
.
ExtLockCity_SDK
.
toString
()
const
extLockCityName_SDK
=
this
.
formData
.
ExtLockCityName_SDK
.
toString
()
const
extLockCityName_SDK
=
this
.
formData
.
ExtLockCityName_SDK
.
toString
()
const
cc
=
{
const
cc
=
{
extRegisteredCapital_SDK
:
this
.
formData
.
ExtRegisteredCapital_SDK
,
extProcessNode_SDK
:
this
.
formData
.
ExtProcessNode_SDK
,
extProcessNode_SDK
:
this
.
formData
.
ExtProcessNode_SDK
,
extCustomerType_SDK
:
this
.
formData
.
ExtCustomerType_SDK
,
extCustomerType_SDK
:
this
.
formData
.
ExtCustomerType_SDK
,
extProvince_SDK
:
this
.
formData
.
ExtProvince_SDK
,
extProvince_SDK
:
this
.
formData
.
ExtProvince_SDK
,
...
...
src/views/customers/potential-list/index.vue
View file @
af2d1f75
...
@@ -7,6 +7,10 @@
...
@@ -7,6 +7,10 @@
<ele-form-section
v-model=
"formData"
<ele-form-section
v-model=
"formData"
:rules=
"rules"
:rules=
"rules"
:sections=
"sections"
>
:sections=
"sections"
>
<template
v-slot:ExtRegisteredCapital_SDK=
"
{ formData }">
<el-input
v-if=
"formData.ExtProcessNode_SDK==5"
v-model=
"formData.ExtRegisteredCapital_SDK"
:disabled=
"!formData.ExtRegisteredCapital_SDK=='' || !formData.ExtRegisteredCapital_SDK==null"
>
</el-input>
</
template
>
<
template
v-slot:ExtLockCity_SDK=
"{ formData }"
>
<
template
v-slot:ExtLockCity_SDK=
"{ formData }"
>
<!-- 插槽内容有el-form-item组件包裹 -->
<!-- 插槽内容有el-form-item组件包裹 -->
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
...
@@ -377,9 +381,10 @@ export default {
...
@@ -377,9 +381,10 @@ export default {
// this.$message.success('创建成功')
// this.$message.success('创建成功')
},
},
approve
()
{
approve
()
{
console
.
log
(
'formdadada'
,
this
.
formData
)
if
(
this
.
formData
.
ExtLockCity_SDK
.
length
==
0
){
if
(
this
.
formData
.
ExtLockCity_SDK
.
length
==
0
){
return
this
.
$message
.
warning
(
'请输入必填信息'
)
return
this
.
$message
.
warning
(
'请输入必填信息'
)
}
else
if
(
formData
.
ExtRegisteredCapital_SDK
==
''
||
formData
.
ExtRegisteredCapital_SDK
==
null
){
return
this
.
$message
.
warning
(
'请输入注册资金'
)
}
else
{
}
else
{
this
.
dialogFormVisible
=
true
this
.
dialogFormVisible
=
true
this
.
status
=
1
this
.
status
=
1
...
@@ -395,6 +400,7 @@ export default {
...
@@ -395,6 +400,7 @@ export default {
const
ExtLockCityName_SDK
=
this
.
formData
.
ExtLockCityName_SDK
.
toString
()
const
ExtLockCityName_SDK
=
this
.
formData
.
ExtLockCityName_SDK
.
toString
()
const
cc
=
{
const
cc
=
{
extRegisteredCapital_SDK
:
this
.
formData
.
ExtRegisteredCapital_SDK
,
extProcessNode_SDK
:
this
.
formData
.
ExtProcessNode_SDK
,
extProcessNode_SDK
:
this
.
formData
.
ExtProcessNode_SDK
,
extCustomerType_SDK
:
this
.
formData
.
ExtCustomerType_SDK
,
extCustomerType_SDK
:
this
.
formData
.
ExtCustomerType_SDK
,
extProvince_SDK
:
this
.
formData
.
ExtProvince_SDK
,
extProvince_SDK
:
this
.
formData
.
ExtProvince_SDK
,
...
...
src/views/login/city-register/index.vue
View file @
af2d1f75
...
@@ -282,7 +282,7 @@
...
@@ -282,7 +282,7 @@
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
align=
"center"
>
<el-col
align=
"center"
>
<el-button
type=
"primary"
<el-button
v-if=
"isShow"
type=
"primary"
:loading=
"btnloading"
:loading=
"btnloading"
@
click=
"handleApprove"
>
提交
</el-button>
@
click=
"handleApprove"
>
提交
</el-button>
</el-col>
</el-col>
...
@@ -377,6 +377,7 @@ export default {
...
@@ -377,6 +377,7 @@ export default {
{
type
:
'email'
,
message
:
'请输入正确的邮箱地址'
,
trigger
:
[
'blur'
,
'change'
]
}],
{
type
:
'email'
,
message
:
'请输入正确的邮箱地址'
,
trigger
:
[
'blur'
,
'change'
]
}],
},
},
dialogTableVisible
:
false
,
dialogTableVisible
:
false
,
isShow
:
true
,
TotalRecords
:
0
,
TotalRecords
:
0
,
page
:
{
page
:
{
pageSize
:
10
,
pageSize
:
10
,
...
@@ -473,20 +474,7 @@ export default {
...
@@ -473,20 +474,7 @@ export default {
this
.
$request
(
Customer
.
searchUrl
,
this
.
paramsToFormData
(
this
.
formData
)).
then
((
resp
)
=>
{
this
.
$request
(
Customer
.
searchUrl
,
this
.
paramsToFormData
(
this
.
formData
)).
then
((
resp
)
=>
{
this
.
btnloading
=
false
this
.
btnloading
=
false
this
.
$message
.
success
(
'提交成功!'
)
this
.
$message
.
success
(
'提交成功!'
)
this
.
isShow
=
false
// var userAgent = navigator.userAgent;
// if (userAgent.indexOf("Firefox") != -1 || userAgent.indexOf("Chrome") != -1) {
// window.open('', '_self').close()
// } else {
this
.
$store
.
dispatch
(
"tagsView/delView"
,
this
.
$route
);
this
.
$router
.
go
(
-
1
);
// }
// setTimeout(function(){
// console.log('延时两秒')
// window.location.href="about:blank";
// window.close();
// },20000);
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
this
.
btnloading
=
false
this
.
btnloading
=
false
})
})
...
...
src/views/login/prov-register/index.vue
View file @
af2d1f75
...
@@ -380,7 +380,7 @@
...
@@ -380,7 +380,7 @@
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
align=
"center"
>
<el-col
align=
"center"
>
<el-button
type=
"primary"
<el-button
v-if=
"isShow"
type=
"primary"
:loading=
"btnloading"
:loading=
"btnloading"
@
click=
"handleApprove()"
>
提交
</el-button>
@
click=
"handleApprove()"
>
提交
</el-button>
</el-col>
</el-col>
...
@@ -487,6 +487,7 @@ export default {
...
@@ -487,6 +487,7 @@ export default {
file
:
[{
required
:
true
,
message
:
'请上传附件'
}],
file
:
[{
required
:
true
,
message
:
'请上传附件'
}],
},
},
dialogTableVisible
:
false
,
dialogTableVisible
:
false
,
isShow
:
true
,
TotalRecords
:
0
,
TotalRecords
:
0
,
page
:
{
page
:
{
pageSize
:
10
,
pageSize
:
10
,
...
@@ -496,7 +497,12 @@ export default {
...
@@ -496,7 +497,12 @@ export default {
}
}
},
},
watch
:
{
watch
:
{
extProvince_SDK
(
newName
,
oldName
)
{
if
(
newName
!=
oldName
){
this
.
formData
.
extCity_SDK
=
[]
this
.
formData
.
extDistrict_SDK
=
[]
}
}
},
},
computed
:
{
computed
:
{
visitedViews
()
{
visitedViews
()
{
...
@@ -556,7 +562,6 @@ export default {
...
@@ -556,7 +562,6 @@ export default {
});
});
this
.
formData
.
extProvinceName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extProvinceName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extProvince_SDK
=
value
//获取的 id
this
.
formData
.
extProvince_SDK
=
value
//获取的 id
},
},
handleSelectCity
(
value
)
{
handleSelectCity
(
value
)
{
const
app
=
{
cityCode
:
value
}
const
app
=
{
cityCode
:
value
}
...
@@ -636,9 +641,7 @@ export default {
...
@@ -636,9 +641,7 @@ export default {
this
.
$request
(
Customer
.
searchUrl
,
this
.
paramsToFormData
(
this
.
formData
)).
then
((
resp
)
=>
{
this
.
$request
(
Customer
.
searchUrl
,
this
.
paramsToFormData
(
this
.
formData
)).
then
((
resp
)
=>
{
this
.
btnloading
=
false
this
.
btnloading
=
false
this
.
$message
.
success
(
'提交成功!'
)
this
.
$message
.
success
(
'提交成功!'
)
setTimeout
(
function
(){
this
.
isShow
=
false
this
.
$router
.
back
()
},
1000
);
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
this
.
btnloading
=
false
this
.
btnloading
=
false
})
})
...
...
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