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
fukai
vue-gjjs
Commits
f94a57c7
Commit
f94a57c7
authored
Jul 21, 2022
by
wangyanjiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bdtdcr&bdtdck 数据持久化&新增字段
parent
3d06ebc6
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
59 additions
and
10 deletions
+59
-10
index.js
src/config/CodeTable/index.js
+11
-0
index.js
src/model/Bdtdck/index.js
+1
-0
index.js
src/model/Bdtdcr/index.js
+1
-0
Docpre.vue
src/views/Business/Bdtdck/Docpre.vue
+15
-2
Brtdcrd.vue
src/views/Business/Bdtdcr/Brtdcrd.vue
+16
-3
Botdcrp1.vue
src/views/Business/Botdcr/Botdcrp1.vue
+1
-0
Botrad.vue
src/views/Business/Botrad/Botrad.vue
+13
-5
Docpre.vue
src/views/Public/Docpre.vue
+1
-0
No files found.
src/config/CodeTable/index.js
View file @
f94a57c7
...
...
@@ -33464,5 +33464,15 @@ const CodeTable = {
{
label
:
"Shipment Advice"
,
value
:
"Shipment Advice"
},
{
label
:
"Weight List"
,
value
:
"Weight List"
},
],
bdtdck
:
[
{
label
:
"增值税发票"
,
value
:
"1"
},
{
label
:
"发票"
,
value
:
"2"
},
{
label
:
"装箱单"
,
value
:
"3"
},
{
label
:
"空运单"
,
value
:
"4"
},
{
label
:
"海运提单"
,
value
:
"5"
},
{
label
:
"铁路运单"
,
value
:
"6"
},
{
label
:
"货物收据"
,
value
:
"7"
},
{
label
:
"邮政收据"
,
value
:
"8"
},
],
}
export
default
CodeTable
;
\ No newline at end of file
src/model/Bdtdck/index.js
View file @
f94a57c7
...
...
@@ -63,6 +63,7 @@ export default class Bdtdck{
pts
:
new
Pts
().
data
,
},
blk
:{
prsdoc
:
""
,
comcon
:
""
,
// Comments and Conclusions .bddgrp.blk.comcon
docdis
:
""
,
// Discrepancies .bddgrp.blk.docdis
docdisflg
:
""
,
// discrepancies modified .bddgrp.blk.docdisflg
...
...
src/model/Bdtdcr/index.js
View file @
f94a57c7
...
...
@@ -64,6 +64,7 @@ export default class Bdtdcr {
pts
:
new
Pts
().
data
,
},
blk
:
{
prsdoc
:
""
,
comcon
:
""
,
// Comments and Conclusions .bddgrp.blk.comcon
docdis
:
""
,
// Discrepancies .bddgrp.blk.docdis
docdisflg
:
""
,
// discrepancies modified .bddgrp.blk.docdisflg
...
...
src/views/Business/Bdtdck/Docpre.vue
View file @
f94a57c7
...
...
@@ -35,7 +35,7 @@
<span
v-text=
"model.bdtp.docgrdm.docdsclab"
data-path=
".bdtp.docgrdm.docdsclab"
>
</span>
</c-col>
-->
<c-col
:span=
"24"
style=
"height: 24px; margin-top: -10px"
>
<
!--
<
c-col
:span=
"24"
style=
"height: 24px; margin-top: -10px"
>
<el-form-item
:label=
"model.bdtp.docgrdm.docdsclab"
class=
"messageLabel"
>
<c-button
style=
"float: right"
@
click=
"addTableValue"
type=
"primary"
>
新增单据
</c-button>
</el-form-item>
...
...
@@ -56,7 +56,6 @@
</el-table-column>
<el-table-column
label=
"Document"
prop=
"docnam"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<!--
{{
scope
.
row
.
docnam
}}
-->
<c-select
style=
"width: 100%"
placeholder=
"请选择"
v-model=
"scope.row.docnam"
>
<el-option
v-for=
"item in codeTable"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
...
...
@@ -69,6 +68,16 @@
</
template
>
</el-table-column>
</c-table>
</c-col>
-->
<c-col>
<c-docpre
:model=
"model"
:argadr=
"{
path: 'bddgrp.blk.prsdoc',
grp: 'bdtp',
code: 'bdtdck',
}"
></c-docpre>
</c-col>
</c-col>
...
...
@@ -213,8 +222,12 @@ import Api from "~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Bdtdck/Event"
import
Docpre
from
"~/views/Public/Docpre"
;
import
Utils
from
"~/utils"
;
export
default
{
components
:
{
"c-docpre"
:
Docpre
,
},
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
...
...
src/views/Business/Bdtdcr/Brtdcrd.vue
View file @
f94a57c7
...
...
@@ -25,7 +25,7 @@
</c-col>
</c-form-item>
</c-row>
-->
<c-col
:span=
"24"
style=
"height: 24px; margin-top: -10px"
>
<
!--
<
c-col
:span=
"24"
style=
"height: 24px; margin-top: -10px"
>
<el-form-item
:label=
"model.bdtp.docgrdm.docdsclab"
class=
"messageLabel"
>
<c-button
style=
"float: right"
@
click=
"addTableValue"
type=
"primary"
>
新增单据
</c-button>
</el-form-item>
...
...
@@ -46,7 +46,6 @@
</el-table-column>
<el-table-column
label=
"Document"
prop=
"docnam"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<!--
{{
scope
.
row
.
docnam
}}
-->
<c-select
style=
"width: 100%"
placeholder=
"请选择"
v-model=
"scope.row.docnam"
>
<el-option
v-for=
"item in codeTable"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
...
...
@@ -59,7 +58,17 @@
</
template
>
</el-table-column>
</c-table>
</c-col>
</c-col>
-->
<c-docpre
:model=
"model"
:argadr=
"{
path: 'bddgrp.blk.prsdoc',
grp: 'bdtp',
code: 'bdtdck',
}"
></c-docpre>
</c-col>
<c-col
:span=
"12"
>
...
...
@@ -80,8 +89,12 @@ import commonProcess from "~/mixin/commonProcess";
import
CodeTable
from
"~/config/CodeTable"
;
import
Utils
from
"~/utils"
;
import
Event
from
"~/model/Bdtdcr/Event"
;
import
Docpre
from
"~/views/Public/Docpre"
;
export
default
{
components
:
{
"c-docpre"
:
Docpre
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
...
...
src/views/Business/Botdcr/Botdcrp1.vue
View file @
f94a57c7
...
...
@@ -217,6 +217,7 @@
:argadr=
"{
path: 'bodgrp.blk.docpre',
grp: 'botp',
code: 'docpre',
}"
:ifShowAdd=
"model.rejtypsel == 'R'"
:ifShowDelete=
"model.rejtypsel == 'R'"
></c-docpre>
...
...
src/views/Business/Botrad/Botrad.vue
View file @
f94a57c7
...
...
@@ -11,7 +11,6 @@
</c-col>
<c-col
:span=
"4"
>
<c-button
style=
"margin:0 10px 0 0;padding: 0 10px;"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
></c-button>
</c-button>
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
...
...
@@ -146,7 +145,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
style=
"height: 24px; margin-top: -10px"
>
<
!--
<
c-col
:span=
"24"
style=
"height: 24px; margin-top: -10px"
>
<el-form-item
:label=
"model.botp.docgrdm.docdsclab"
class=
"messageLabel"
>
<c-button
style=
"float: right"
@
click=
"addTableValue"
type=
"primary"
>
新增单据
</c-button>
</el-form-item>
...
...
@@ -167,7 +166,6 @@
</el-table-column>
<el-table-column
label=
"Document"
prop=
"docnam"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<!--
{{
scope
.
row
.
docnam
}}
-->
<c-select
style=
"width: 100%"
placeholder=
"请选择"
v-model=
"scope.row.docnam"
>
<el-option
v-for=
"item in codeTable"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
...
...
@@ -180,7 +178,15 @@
</
template
>
</el-table-column>
</c-table>
</c-col>
</c-col>
-->
<c-docpre
:model=
"model"
:argadr=
"{
path:'bodgrp.blk.docpre',
grp: 'botp',
code:'docpre'
}"
></c-docpre>
</c-col>
...
...
@@ -196,9 +202,11 @@ import CodeTable from "~/config/CodeTable"
import
Event
from
"~/model/Botdcr/Event"
import
Utils
from
"~/utils"
;
import
Ptap
from
"~/views/Public/Ptap"
;
import
Docpre
from
"~/views/Public/Docpre"
;
export
default
{
components
:
{
"c-ptap"
:
Ptap
},
components
:
{
"c-ptap"
:
Ptap
,
"c-docpre"
:
Docpre
,},
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
...
...
src/views/Public/Docpre.vue
View file @
f94a57c7
<!-- 前后端字段path及前后端字段docgrdm.docgrd 后端docgrd为List<Docgrd>类型 -->
<
template
>
<div>
<c-col
:span=
"24"
style=
"height: 24px; margin-top: -10px"
>
...
...
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