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
b782cfdd
Commit
b782cfdd
authored
Oct 27, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:brtdcr修复
parent
ead83c5c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
48 deletions
+81
-48
index.js
src/business/brtdcr/event/index.js
+18
-0
Brtdcrd.vue
src/business/brtdcr/views/Brtdcrd.vue
+62
-47
Brtdcrd.vue
src/views/Business/Brtdcr/Brtdcrd.vue
+1
-1
No files found.
src/business/brtdcr/event/index.js
View file @
b782cfdd
...
...
@@ -220,6 +220,24 @@ export default {
default
:
return
}
},
async
getDiscrepancyInformation
()
{
this
.
dialogTableVisible
=
true
let
res
=
await
Api
.
post
(
'/service/brtdcr/getDiscrepancyInformation'
);
this
.
txtModuleData
=
res
console
.
log
(
res
)
},
insertTxtModuleToDocdis
(
row
){
this
.
dialogTableVisible
=
false
if
(
this
.
model
.
brdgrp
.
blk
.
docdis
!=
''
){
this
.
model
.
brdgrp
.
blk
.
docdis
=
this
.
model
.
brdgrp
.
blk
.
docdis
+
row
.
txt
}
else
{
this
.
model
.
brdgrp
.
blk
.
docdis
=
row
.
txt
+
'
\
n'
}
}
},
};
src/business/brtdcr/views/Brtdcrd.vue
View file @
b782cfdd
<
template
>
<div
class=
"eibs"
>
<c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"不符点信息"
prop=
"brdgrp.blk.docdis"
>
<c-fullbox>
<c-input
:disabled=
"model.advrefflg=='' && model.advdisflg==''"
type=
"textarea"
v-model=
"model.brdgrp.blk.docdis"
maxlength=
"3500"
:rows=
"8"
show-word-limit
placeholder=
"请输入不符点信息"
></c-input>
<template
slot=
"footer"
>
<c-button
:disabled=
"model.advrefflg=='' && model.advdisflg==''"
size=
"small"
type=
"primary"
>
...
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<div
class=
"eibs"
>
<c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"不符点信息"
prop=
"brdgrp.blk.docdis"
>
<c-fullbox>
<c-input
:disabled=
"model.advrefflg=='' && model.advdisflg==''"
type=
"textarea"
v-model=
"model.brdgrp.blk.docdis"
maxlength=
"3500"
:rows=
"8"
show-word-limit
placeholder=
"请输入不符点信息"
></c-input>
<template
slot=
"footer"
>
<c-button
:disabled=
"model.advrefflg=='' && model.advdisflg==''"
size=
"small"
type=
"primary"
@
click=
"getDiscrepancyInformation"
>
...
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item>
<c-checkbox
class=
"checkbox-left"
disabled
v-model=
"model.brdgrp.blk.docdisflg"
>
不符点修改
</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item>
<c-checkbox
class=
"checkbox-left"
disabled
v-model=
"model.brdgrp.blk.docdisflg"
>
不符点修改
</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-docpre
:model=
"model"
:argadr=
"{
<c-col
:span=
"12"
>
<c-docpre
:model=
"model"
:argadr=
"{
path: 'brdgrp.blk.docpre',
grp: 'brtp',
code: 'docpre',
}"
></c-docpre>
</c-col>
</div>
</c-col>
<el-dialog
title=
"Select a text module"
:visible
.
sync=
"dialogTableVisible"
>
<el-table
:data=
"txtModuleData"
height=
"400px"
@
row-dblclick=
"insertTxtModuleToDocdis"
>
<el-table-column
property=
"nam"
label=
"NAME"
width=
"150"
></el-table-column>
<el-table-column
property=
"extkey"
label=
"MODULE"
width=
"200"
></el-table-column>
<el-table-column
property=
"language"
label=
"LANGUAGE"
>
ENGLISH
</el-table-column>
</el-table>
</el-dialog>
</div>
</template>
<
script
>
import
event
from
"../event"
;
import
Docpre
from
"~/views/Public/Docpre"
;
export
default
{
components
:
{
components
:
{
"c-docpre"
:
Docpre
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
event
],
data
()
{
return
{
};
},
methods
:
{},
created
:
function
()
{},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
event
],
data
()
{
return
{
txtModuleData
:
[],
dialogTableVisible
:
false
,
};
},
methods
:
{},
created
:
function
()
{
},
};
</
script
>
<
style
>
...
...
src/views/Business/Brtdcr/Brtdcrd.vue
View file @
b782cfdd
...
...
@@ -14,7 +14,7 @@
placeholder=
"请输入不符点信息"
></c-input>
<template
slot=
"footer"
>
<c-button
:disabled=
"model.advrefflg=='' && model.advdisflg==''"
size=
"small"
type=
"primary"
<c-button
:disabled=
"model.advrefflg=='' && model.advdisflg==''"
size=
"small"
type=
"primary"
@
click=
"showGridPromptDialog('brtp.docdis.buttxmsel', null, null,
{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')"
>
...
...
...
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