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
33901a98
Commit
33901a98
authored
Feb 24, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单据详情
parent
b225dd03
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
32 deletions
+19
-32
Docpre.vue
src/views/Business/Ditdck/Docpre.vue
+17
-2
OcrInvoicesRecognition.vue
src/views/Business/Ditdck/OcrInvoicesRecognition.vue
+1
-0
Test.vue
src/views/Business/Ditdck/Test.vue
+0
-24
index.vue
src/views/Business/Ditdck/index.vue
+1
-6
No files found.
src/views/Business/Ditdck/Docpre.vue
View file @
33901a98
...
...
@@ -200,7 +200,7 @@
style=
"margin-left:0"
size=
"small"
type=
"primary"
@
click=
"
selectGridPDF
(scope.row.id, scoped.$index)"
@
click=
"
openPdfDialog
(scope.row.id, scoped.$index)"
>
选择
</el-button
>
</
template
>
...
...
@@ -227,6 +227,7 @@
</span>
</el-dialog>
</c-col>
<OcrInvoicesRecognition
ref=
"ocrInvoices"
v-on:confirm=
"selectGridPDF"
></OcrInvoicesRecognition>
</div>
</template>
<
script
>
...
...
@@ -235,10 +236,13 @@ import CommonProcess from "~/mixin/CommonProcess";
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Ditdck/Event"
;
import
OcrInvoicesRecognition
from
"./OcrInvoicesRecognition.vue"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
components
:
{
OcrInvoicesRecognition
},
data
()
{
return
{
addDialogVisible
:
false
,
...
...
@@ -339,6 +343,10 @@ export default {
],
gridPDFData
:[],
selectPDFData
:
""
,
selectedPdf
:
{
id
:
''
,
index
:
null
}
};
},
methods
:
{
...
...
@@ -354,7 +362,14 @@ export default {
addPDF
(
idx
){
this
.
selectPDFData
=
idx
;
},
selectGridPDF
(
id
,
idx
){
openPdfDialog
(
id
,
idx
)
{
this
.
$refs
.
ocrInvoices
.
show
=
true
this
.
selectedPdf
.
id
=
id
;
this
.
selectedPdf
.
index
=
idx
;
},
selectGridPDF
(){
const
id
=
this
.
selectedPdf
.
id
;
const
idx
=
this
.
selectedPdf
.
index
;
var
tempData
=
[];
var
list
=
[];
var
flag
=
false
;
...
...
src/views/Business/Ditdck/OcrInvoicesRecognition.vue
View file @
33901a98
...
...
@@ -84,6 +84,7 @@ export default {
},
methods
:
{
save
()
{
this
.
$emit
(
"confirm"
)
this
.
close
();
},
close
()
{
...
...
src/views/Business/Ditdck/Test.vue
deleted
100644 → 0
View file @
b225dd03
<
template
>
<div>
<c-button
@
click=
"click"
>
KO
</c-button>
<OcrInvoicesRecognition
ref=
"ocrInvoices"
></OcrInvoicesRecognition>
</div>
</
template
>
<
script
>
import
OcrInvoicesRecognition
from
"./OcrInvoicesRecognition.vue"
;
export
default
{
components
:
{
OcrInvoicesRecognition
},
methods
:
{
click
()
{
this
.
$refs
.
ocrInvoices
.
show
=
true
}
}
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/views/Business/Ditdck/index.vue
View file @
33901a98
...
...
@@ -79,10 +79,7 @@
<el-tab-pane
label=
"授信额度"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Test"
name=
"Test"
>
<Test/>
</el-tab-pane>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
...
...
@@ -109,7 +106,6 @@ import Ovwp from "./Ovwp";
import
Docpre
from
"./Docpre"
;
import
Shpdet
from
"./Shpdet"
;
// import Limitbody from "./Limitbody";
import
Test
from
"./Test.vue"
;
import
Glepan
from
"~/views/Public/Glepan"
;
import
Setpan
from
"~/views/Public/Setpan"
;
...
...
@@ -133,7 +129,6 @@ export default {
"m-limitbody"
:
Limitbody
,
"m-coninfp"
:
Coninfp
,
"m-ccvpan"
:
Ccvpan
,
Test
},
provide
()
{
return
{
...
...
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