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
8b03345b
Commit
8b03345b
authored
May 15, 2022
by
hulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
到单单据表格调整
parent
8cffbbee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
13 deletions
+18
-13
Docpre.vue
src/views/Business/Ditdck/Docpre.vue
+16
-13
index.vue
src/views/TaskList/index.vue
+2
-0
No files found.
src/views/Business/Ditdck/Docpre.vue
View file @
8b03345b
...
...
@@ -132,7 +132,7 @@
<!-- =================已交单据====================== -->
<c-col
:span=
"24"
>
<
el-button
style=
"margin-bottom:5px;float:right"
@
click=
"addDocgrdDataStore"
type=
"primary"
>
新增单据
</el
-button>
<
c-button
style=
"margin-bottom:5px;float:right"
@
click=
"addDocgrdDataStore"
type=
"primary"
>
新增单据
</c
-button>
</c-col>
<c-col
:span=
"24"
>
<!-- :list="model.bdtp.docgrdm.docgrd" -->
...
...
@@ -178,8 +178,8 @@
</el-table-column>
<el-table-column
prop=
"docnam"
label=
"Document"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"state"
label=
"状态"
width=
"auto"
>
</el-table-column>
<
!-- <
el-table-column prop="state" label="状态" width="auto">
</el-table-column>
-->
<el-table-column
label=
"操作"
prop=
"det"
width=
"170px"
fixed=
"right"
>
<!-- <template slot="header">
<span>操作</span>
...
...
@@ -205,7 +205,7 @@
style=
"margin-left:0"
size=
"small"
type=
"primary"
@
click=
"openPdfDialog(scope.row.id, scoped.$index)"
@
click=
"openPdfDialog(scope
d
.row.id, scoped.$index)"
>
选择
</el-button
>
</
template
>
...
...
@@ -214,8 +214,8 @@
<div
class=
"file-add"
title=
"导入文件"
@
click=
"importFile"
>
<i
class=
"el-icon-plus"
></i>
</div>
<
el-button
slot=
"reference"
@
click=
"addPDF(scope.row.id)"
type=
"primary"
>
添加
</el
-button>
<
el-button
v-if=
"scope.row.state != '缺失'"
slot=
"reference"
@
click=
"detailPDF(scope.row.id)"
>
详情
</el
-button>
<
c-button
slot=
"reference"
@
click=
"addPDF(scope.row.id)"
type=
"primary"
>
添加
</c
-button>
<
c-button
v-if=
"scope.row.state != '缺失'"
slot=
"reference"
@
click=
"detailPDF(scope.row.id)"
>
详情
</c
-button>
</el-popover>
</template>
</el-table-column>
...
...
@@ -287,23 +287,23 @@ export default {
docgrdDataStore
:[
{
id
:
"invoice"
,
cmail1
:
"
发票
"
,
cmail1
:
"
1
"
,
cmail2
:
""
,
docnam
:
""
,
docnam
:
"
发票
"
,
state
:
"缺失"
,
},
{
id
:
"receipt"
,
cmail1
:
"
货物收据
"
,
cmail1
:
"
1
"
,
cmail2
:
""
,
docnam
:
""
,
docnam
:
"
货物收据
"
,
state
:
"缺失"
,
},
{
id
:
"oceanShipping"
,
cmail1
:
"
海运提单
"
,
cmail1
:
"
1
"
,
cmail2
:
""
,
docnam
:
""
,
docnam
:
"
海运提单
"
,
state
:
"缺失"
,
},
],
...
...
@@ -408,6 +408,9 @@ export default {
this
.
$refs
.
ocrRecognition
.
formData
.
type
=
this
.
$refs
.
ocrRecognition
.
fileType
[
tempId
].
value
;
this
.
selectedPdf
.
id
=
id
;
this
.
selectedPdf
.
index
=
idx
;
this
.
$nextTick
(()
=>
{
this
.
$refs
.
ocrRecognition
.
fileUrl
=
require
(
`~/assets/demo-files/
${
this
.
$refs
.
ocrRecognition
.
formData
.
type
}
.jpg`
)
})
},
selectGridPDF
(){
const
id
=
this
.
selectedPdf
.
id
;
...
...
@@ -516,7 +519,7 @@ export default {
// if(this.gridData[i].id == this.selectPDFData){
// arr.push({"id" : this.gridData[i].id});
for
(
let
j
=
0
;
j
<
this
.
gridData
[
i
].
data
.
length
;
j
++
){
arr
.
push
({
"name"
:
this
.
gridData
[
i
].
data
[
j
].
name
});
arr
.
push
({
"name"
:
this
.
gridData
[
i
].
data
[
j
].
name
,
"id"
:
this
.
gridData
[
i
].
id
});
}
// break;
// }
...
...
src/views/TaskList/index.vue
View file @
8b03345b
...
...
@@ -62,6 +62,7 @@
<t-diasel
/>
</c-content>
</el-tab-pane>
<!--
<el-tab-pane
label=
"数据对比"
name=
"compare"
>
<span
slot=
"label"
>
数据对比
...
...
@@ -70,6 +71,7 @@
<t-compare
/>
</c-content>
</el-tab-pane>
-->
</c-tabs>
</div>
</
template
>
...
...
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