Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
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
zhouqian
vue-gjjs
Commits
893f599b
Commit
893f599b
authored
Jul 18, 2022
by
Eivi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bftsnd交易bug修改临时提交
parent
e6d255a4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
40 deletions
+39
-40
index.js
src/model/Betdcr/index.js
+1
-1
Betdcrd.vue
src/views/Business/Betdcr/Betdcrd.vue
+37
-39
Rgfp.vue
src/views/Business/Bftsnd/Rgfp.vue
+1
-0
No files found.
src/model/Betdcr/index.js
View file @
893f599b
...
...
@@ -37,7 +37,7 @@ export default class Betdcr {
},
docgrdm
:
{
docdsclab
:
""
,
// Label of document description .betp.docgrdm.docdsclab
docgrd
:
""
,
//betp.docgrdm.docgrd
docgrd
:
[]
,
//betp.docgrdm.docgrd
},
},
ledgrp
:
{
...
...
src/views/Business/Betdcr/Betdcrd.vue
View file @
893f599b
...
...
@@ -140,7 +140,7 @@
<c-col
:span=
"24"
style=
"height: 0px"
>
<el-divider></el-divider>
</c-col>
<c-col
:span=
"24"
style=
"margin-bottom: 30px
;
"
>
<c-col
:span=
"24"
style=
"margin-bottom: 30px"
>
<c-table
height=
"200px"
style=
"text-align: center"
...
...
@@ -148,26 +148,15 @@
:paginationShow=
"false"
:border=
"true"
>
<el-table-column
label=
"1st"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.cmail1"
></c-input>
</
template
>
<el-table-column
label=
"1st"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.cmail1"
></c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"2nd"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.cmail2"
></c-input>
</
template
>
<el-table-column
label=
"2nd"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.cmail2"
></c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"Document"
prop=
"docnam"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -189,7 +178,7 @@
</el-table-column>
<el-table-column
label=
"操作"
width=
"170px"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<c-button
@
click=
"deleteTable(scope.
row
)"
type=
"primary"
<c-button
@
click=
"deleteTable(scope.
$index
)"
type=
"primary"
>
删除
</c-button
>
</
template
>
...
...
@@ -269,12 +258,18 @@ export default {
mixins
:
[
commonProcess
],
data
()
{
return
{
TableValue
:
[
TableValue
:
[
{
id
:
0
,
cmail1
:
"1"
,
cmail2
:
"2"
,
docnam
:
"1"
,
cmail1
:
""
,
cmail2
:
""
,
docnam
:
""
,
docnam
:
""
,
description
:
""
,
docnam
:
""
,
serialNum
:
""
,
tableName
:
""
,
tcddoc
:
""
,
},
],
newValue
:
{
...
...
@@ -282,6 +277,12 @@ export default {
cmail1
:
""
,
cmail2
:
""
,
docnam
:
""
,
docnam
:
""
,
description
:
""
,
docnam
:
""
,
serialNum
:
""
,
tableName
:
""
,
tcddoc
:
""
,
},
codeTable
:
[
{
label
:
"Airway Bills"
,
value
:
"1"
},
...
...
@@ -324,22 +325,19 @@ export default {
},
},
},
methods
:
{
...
Event
,
addTableValue
()
{
var
index
=
this
.
TableValue
.
length
;
var
newTableValue
=
this
.
newValue
;
if
(
index
>
0
)
{
newTableValue
.
id
=
this
.
TableValue
[
index
-
1
].
id
+
1
;
}
methods
:
{
...
Event
,
addTableValue
(
index
)
{
var
newTableValue
=
Object
.
assign
({},
this
.
newValue
);
const
serial
=
Utils
.
generateUUID
();
newTableValue
.
serialNum
=
serial
;
// this.model.bftp.docgrdm.docgrd.push(newTableValue);
this
.
model
.
betp
.
docgrdm
.
docgrd
.
splice
(
index
-
1
,
0
,
newTableValue
);
this
.
TableValue
.
push
(
newTableValue
);
},
deleteTable
(
row
)
{
for
(
let
i
=
0
;
i
<
this
.
TableValue
.
length
;
i
++
)
{
if
(
this
.
TableValue
[
i
].
id
==
row
.
id
)
{
this
.
TableValue
.
splice
(
i
,
1
);
break
;
}
}
deleteTable
(
index
)
{
this
.
model
.
betp
.
docgrdm
.
docgrd
.
splice
(
index
,
1
);
},
},
created
:
function
()
{},
...
...
src/views/Business/Bftsnd/Rgfp.vue
View file @
893f599b
...
...
@@ -327,6 +327,7 @@
:list=
"this.model.bftp.docgrdm.docgrd || []"
:paginationShow=
"false"
:border=
"true"
@
change=
"executeDefault('bfdgrp.blk.prsdoc')"
>
<el-table-column
label=
"1st"
width=
"auto"
>
<template
slot-scope=
"scope"
>
...
...
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