Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e8dcce05
authored
Mar 09, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
fe0b463e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
src/views/addCode/index.vue
src/views/addCode/index.vue
View file @
e8dcce0
<
template
>
<
template
>
<div
class=
"container"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"searchRef"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleOk"
@
handleRest=
"handleRest"
></GLCombiForm>
<GLCombiForm
ref=
"searchRef"
:
rowNumber=
"1"
:
formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleOk"
@
handleRest=
"handleRest"
></GLCombiForm>
<el-button
type=
"primary"
:size=
"size"
style=
"float:right;margin-bottom:10px;"
@
click=
"createCode"
>
生成核销码
</el-button>
<el-button
type=
"primary"
:size=
"size"
style=
"float:right;margin-bottom:10px;"
@
click=
"createCode"
>
生成核销码
</el-button>
<GLTable
:pageSizes=
"pageSizes"
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:getListApi=
"getListApi"
></GLTable>
<GLTable
:pageSizes=
"pageSizes"
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:getListApi=
"getListApi"
></GLTable>
<GLDialog
class=
"dialog_wrap"
title=
"生成核销码"
mode=
"mid"
:visible
.
sync=
"isVisible"
:show-close=
"showClose"
:before-close=
"handleClose"
@
onOk=
"onOk"
<GLDialog
class=
"dialog_wrap"
title=
"生成核销码"
mode=
"mid"
:visible
.
sync=
"isVisible"
:show-close=
"showClose"
:before-close=
"handleClose"
@
onOk=
"onOk"
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</el-radio-group>
</el-radio-group>
</div>
</div>
<div
class=
"manual"
v-if=
"addType == 1"
>
<div
class=
"manual"
v-if=
"addType == 1"
>
<el-input
type=
"textarea"
@
blur=
"formatContractNo"
class=
"contract_input"
v-model=
"contractNoStr"
placeholder=
"请输入合同号"
></el-input>
<el-input
type=
"textarea"
class=
"contract_input"
v-model=
"contractNoStr"
placeholder=
"请输入合同号"
></el-input>
<p
class=
"textarea_tip"
:style=
"
{color: contractNoList.length > 20 ? 'red': '#999999'}">
{{
contractNoList
.
length
>
20
?
'最多输入20个合同号'
:
'多个合同号换行输入,最多20个合同号'
}}
</p>
<p
class=
"textarea_tip"
:style=
"
{color: contractNoList.length > 20 ? 'red': '#999999'}">
{{
contractNoList
.
length
>
20
?
'最多输入20个合同号'
:
'多个合同号换行输入,最多20个合同号'
}}
</p>
<p
class=
"textarea_tip"
v-if=
"requestTip"
>
以下红色标记为合同号不存在,判断为无效合同
</p>
<p
class=
"textarea_tip"
v-if=
"requestTip"
>
以下红色标记为合同号不存在,判断为无效合同
</p>
<div
class=
"contract_area"
>
<div
class=
"contract_area"
>
...
@@ -250,6 +250,7 @@
...
@@ -250,6 +250,7 @@
},
},
onOk
(){
onOk
(){
if
(
this
.
addType
==
1
){
if
(
this
.
addType
==
1
){
this
.
formatContractNo
()
const
params
=
{
const
params
=
{
contractNoList
:
this
.
contractNoList
.
map
(
item
=>
item
.
val
)
contractNoList
:
this
.
contractNoList
.
map
(
item
=>
item
.
val
)
}
}
...
@@ -358,7 +359,7 @@
...
@@ -358,7 +359,7 @@
overflow-y
:
auto
;
overflow-y
:
auto
;
.contract_item{
.contract_item{
height
:
26px
;
height
:
26px
;
width
:
200px
;
min-
width
:
200px
;
display
:
inline-flex
;
display
:
inline-flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment