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
44e64ada
Commit
44e64ada
authored
Jul 14, 2022
by
wangyanjiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bdtdck表格数据显示
parent
c3058312
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
19 deletions
+20
-19
index.js
src/model/Bdtdck/index.js
+1
-0
Docpre.vue
src/views/Business/Bdtdck/Docpre.vue
+19
-19
No files found.
src/model/Bdtdck/index.js
View file @
44e64ada
...
@@ -126,6 +126,7 @@ export default class Bdtdck{
...
@@ -126,6 +126,7 @@ export default class Bdtdck{
setnowflg
:
""
,
// Register to Send and Settle Document .bdtp.setnowflg
setnowflg
:
""
,
// Register to Send and Settle Document .bdtp.setnowflg
zcday
:
""
,
// 装船日\\服务提供日 .bdtp.zcday
zcday
:
""
,
// 装船日\\服务提供日 .bdtp.zcday
docgrdm
:{
docgrdm
:{
docgrd
:
""
,
docdsclab
:
""
,
// Label of document description .bdtp.docgrdm.docdsclab
docdsclab
:
""
,
// Label of document description .bdtp.docgrdm.docdsclab
},
},
cre752flg
:
""
,
// Create 752 .bdtp.cre752flg
cre752flg
:
""
,
// Create 752 .bdtp.cre752flg
...
...
src/views/Business/Bdtdck/Docpre.vue
View file @
44e64ada
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
width=
"170px"
fixed=
"right"
>
<el-table-column
label=
"操作"
width=
"170px"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<c-button
@
click=
"deleteTable(scope.
row
)"
type=
"primary"
>
删除
</c-button>
<c-button
@
click=
"deleteTable(scope.
$index
)"
type=
"primary"
>
删除
</c-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</c-table>
</c-table>
...
@@ -90,7 +90,8 @@
...
@@ -90,7 +90,8 @@
<c-row>
<c-row>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"收到的通知类"
prop=
"bddgrp.rec.advtyp"
>
<el-form-item
label=
"收到的通知类"
prop=
"bddgrp.rec.advtyp"
>
<c-select
v-model=
"model.bddgrp.rec.advtyp"
style=
"width:100%"
placeholder=
"请选择Type of Advice Received"
:disabled=
"true"
>
<c-select
v-model=
"model.bddgrp.rec.advtyp"
style=
"width:100%"
placeholder=
"请选择Type of Advice Received"
:disabled=
"true"
>
</c-select>
</c-select>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
...
@@ -104,7 +105,8 @@
...
@@ -104,7 +105,8 @@
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"不符点通知日期"
prop=
"bddgrp.rec.disdat"
>
<el-form-item
label=
"不符点通知日期"
prop=
"bddgrp.rec.disdat"
>
<c-date-picker
type=
"date"
v-model=
"model.bddgrp.rec.disdat"
style=
"width:100%"
placeholder=
"请选择不符点通知日期"
:disabled=
"true"
>
<c-date-picker
type=
"date"
v-model=
"model.bddgrp.rec.disdat"
style=
"width:100%"
placeholder=
"请选择不符点通知日期"
:disabled=
"true"
>
</c-date-picker>
</c-date-picker>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
...
@@ -125,7 +127,8 @@
...
@@ -125,7 +127,8 @@
</c-col>
</c-col>
<c-col
:span=
"24"
:offset=
"8"
>
<c-col
:span=
"24"
:offset=
"8"
>
<c-checkbox
v-model=
"model.bdtp.cre732flg"
:disabled=
"!model.bddgrp.rec.acpnowflg != ''"
>
Create MT 732
</c-checkbox>
<c-checkbox
v-model=
"model.bdtp.cre732flg"
:disabled=
"!model.bddgrp.rec.acpnowflg != ''"
>
Create MT 732
</c-checkbox>
</c-col>
</c-col>
</c-row>
</c-row>
</c-col>
</c-col>
...
@@ -210,7 +213,7 @@ import Api from "~/service/Api"
...
@@ -210,7 +213,7 @@ import Api from "~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Bdtdck/Event"
import
Event
from
"~/model/Bdtdck/Event"
import
Utils
from
"~/utils"
;
export
default
{
export
default
{
inject
:
[
'root'
],
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
],
...
@@ -230,6 +233,10 @@ export default {
...
@@ -230,6 +233,10 @@ export default {
cmail1
:
""
,
cmail1
:
""
,
cmail2
:
""
,
cmail2
:
""
,
docnam
:
""
,
docnam
:
""
,
description
:
""
,
serialNum
:
""
,
tableName
:
""
,
tcddoc
:
""
,
},
},
codeTable
:
[
codeTable
:
[
{
label
:
"增值税发票"
,
value
:
"1"
},
{
label
:
"增值税发票"
,
value
:
"1"
},
...
@@ -246,21 +253,14 @@ export default {
...
@@ -246,21 +253,14 @@ export default {
},
},
methods
:
{
methods
:
{
...
Event
,
...
Event
,
addTableValue
()
{
addTableValue
(
index
)
{
var
index
=
this
.
TableValue
.
length
;
var
newTableValue
=
Object
.
assign
({},
this
.
newValue
);
var
newTableValue
=
this
.
newValue
;
const
serial
=
Utils
.
generateUUID
();
if
(
index
>
0
)
{
newTableValue
.
serialNum
=
serial
;
newTableValue
.
id
=
this
.
TableValue
[
index
-
1
].
id
+
1
;
this
.
model
.
bdtp
.
docgrdm
.
docgrd
.
splice
(
index
-
1
,
0
,
newTableValue
);
}
this
.
TableValue
.
push
(
newTableValue
);
},
},
deleteTable
(
row
)
{
deleteTable
(
index
)
{
for
(
let
i
=
0
;
i
<
this
.
TableValue
.
length
;
i
++
)
{
this
.
model
.
bdtp
.
docgrdm
.
docgrd
.
splice
(
index
,
1
);
if
(
this
.
TableValue
[
i
].
id
==
row
.
id
)
{
this
.
TableValue
.
splice
(
i
,
1
);
break
;
}
}
},
},
},
},
...
...
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