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
8b776d8c
Commit
8b776d8c
authored
Jul 26, 2022
by
wangyanjiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
恢复ditopn分录,加上docpre对增删的if判断,修复botdcr表格bug
parent
61c0f6b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
57 deletions
+15
-57
Botdcrp1.vue
src/views/Business/Botdcr/Botdcrp1.vue
+5
-54
index.vue
src/views/Business/Ditopn/index.vue
+8
-1
Docpre.vue
src/views/Public/Docpre.vue
+2
-2
No files found.
src/views/Business/Botdcr/Botdcrp1.vue
View file @
8b776d8c
...
...
@@ -219,8 +219,12 @@
grp: 'botp',
code: 'docpre',
}"
:disabledDocnam=
"model.rejtypsel != 'R'"
:disabledCmail2=
"model.rejtypsel != 'R'"
:disabledCmail1=
"model.rejtypsel != 'R'"
:ifShowAdd=
"model.rejtypsel == 'R'"
:ifShowDelete=
"model.rejtypsel == 'R'"
></c-docpre>
:ifShowDelete=
"model.rejtypsel == 'R'"
>
</c-docpre>
</c-col>
...
...
@@ -251,50 +255,6 @@ export default {
mixins
:
[
commonProcess
],
data
()
{
return
{
codeTable
:
[
{
label
:
"Airway Bills"
,
value
:
"Airway Bills"
},
{
label
:
"Beneficiary's Declaration"
,
value
:
"Beneficiary's Declaration"
},
{
label
:
"Bill of Lading Copies"
,
value
:
"Bill of Lading Copies"
},
{
label
:
"Bill of Lading Originals"
,
value
:
"Bill of Lading Originals"
},
{
label
:
"Certificate"
,
value
:
"Certificate"
},
{
label
:
"Certificate of Analysis"
,
value
:
"Certificate of Analysis"
},
{
label
:
"Certificate of Origin"
,
value
:
"Certificate of Origin"
},
{
label
:
"Certificate of Quality"
,
value
:
"Certificate of Quality"
},
{
label
:
"Certificate of Quantity"
,
value
:
"Certificate of Quantity"
},
{
label
:
"Commercial Invoice"
,
value
:
"Commercial Invoice"
},
{
label
:
"Courier Receipt"
,
value
:
"Courier Receipt"
},
{
label
:
"Draft"
,
value
:
"Draft"
},
{
label
:
"Export Licence"
,
value
:
"Export Licence"
},
{
label
:
"Fax Report"
,
value
:
"Fax Report"
},
{
label
:
"Inspection Cert"
,
value
:
"Inspection Cert"
},
{
label
:
"Insurance Policy"
,
value
:
"Insurance Policy"
},
{
label
:
"Packing List"
,
value
:
"Packing List"
},
{
label
:
"Shipment Advice"
,
value
:
"Shipment Advice"
},
{
label
:
"Weight List"
,
value
:
"Weight List"
},
],
TableValue
:
[
{
id
:
0
,
cmail1
:
""
,
cmail2
:
""
,
docnam
:
""
,
description
:
""
,
serialNum
:
""
,
tableName
:
""
,
tcddoc
:
""
,
},
],
newValue
:
{
id
:
0
,
cmail1
:
""
,
cmail2
:
""
,
docnam
:
""
,
description
:
""
,
serialNum
:
""
,
tableName
:
""
,
tcddoc
:
""
,
},
}
},
computed
:
{
...
...
@@ -309,15 +269,6 @@ export default {
},
methods
:
{
...
Event
,
addTableValue
(
index
)
{
var
newTableValue
=
Object
.
assign
({},
this
.
newValue
);
const
serial
=
Utils
.
generateUUID
();
newTableValue
.
serialNum
=
serial
;
this
.
model
.
botp
.
docgrdm
.
docgrd
.
splice
(
index
-
1
,
0
,
newTableValue
);
},
deleteTable
(
index
)
{
this
.
model
.
botp
.
docgrdm
.
docgrd
.
splice
(
index
,
1
);
},
},
created
:
function
()
{
...
...
src/views/Business/Ditopn/index.vue
View file @
8b776d8c
...
...
@@ -70,6 +70,11 @@
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"分录"
name=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
ref=
"glepan"
/>
</el-tab-pane>
<el-tab-pane
label=
"声明"
name=
"stamet"
>
<m-stamet
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
...
...
@@ -97,7 +102,7 @@
<m-docpan
:model=
"model"
:codes=
"codes"
ref=
"docpan"
/>
</el-tab-pane>
<el-tab-pane
label=
"MT799"
name=
"mt799"
>
<el-tab-pane
label=
"MT799"
name=
"mt799"
>
<!--PD000361 -->
<m-mt799
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
...
...
@@ -135,6 +140,7 @@ import Litapll1 from "./Litapll1";
import
Litrmbl1
from
"./Litrmbl1"
;
import
Addbcb
from
"./Addbcb"
;
import
Glepan
from
"~/views/Public/Glepan"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Stamet
from
"./Stamet"
;
import
Engp
from
"~/views/Public/Engp"
;
...
...
@@ -164,6 +170,7 @@ export default {
"m-limitbody"
:
Limitbody
,
"m-coninfp"
:
Coninfp
,
"m-ccvpan"
:
Ccvpan
,
"m-glepan"
:
Glepan
,
},
provide
()
{
return
{
...
...
src/views/Public/Docpre.vue
View file @
8b776d8c
...
...
@@ -36,8 +36,8 @@
</c-col>
<c-col
:span=
"12"
>
<div
style=
"float: right;"
>
<span
class=
"add_del_button add_button"
@
click=
"addTableValue"
>
+
</span>
<span
class=
"add_del_button"
@
click=
"deleteTable"
>
-
</span>
<span
class=
"add_del_button add_button"
@
click=
"addTableValue"
v-if=
"ifShowAdd"
>
+
</span>
<span
class=
"add_del_button"
@
click=
"deleteTable"
v-if=
"ifShowDelete"
>
-
</span>
</div>
</c-col>
</row>
...
...
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