Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shhjwpgl-vue
Project
Project
Details
Activity
Releases
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
李苏
shhjwpgl-vue
Commits
6919d17e
Commit
6919d17e
authored
Oct 11, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
a85ae764
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
82 additions
and
50 deletions
+82
-50
main.js
src/main.js
+2
-0
dialog.vue
src/views/analysis/query/dialog.vue
+79
-50
index.vue
src/views/analysis/query/index.vue
+1
-0
No files found.
src/main.js
View file @
6919d17e
...
...
@@ -170,3 +170,5 @@ new Vue({
return
h
(
App
)
}
})
src/views/analysis/query/dialog.vue
View file @
6919d17e
...
...
@@ -3,112 +3,122 @@
<div
style=
slot="form"
style=
"display: flex;height: 70vh;width: 100%;"
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
:app=
"this"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"单号"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.dh"
></el-input>
<el-col
v-if=
"form.ckdh"
:span=
"12"
>
<el-form-item
label=
"单号"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
ck
dh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"
入/出库日期"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.dh"
></el-input>
<el-col
v-if=
"form.rkdh"
:span=
"12"
>
<el-form-item
label=
"
单号"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
rk
dh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"
部门"
ref=
"content"
prop=
"content"
>
<el-
input
:readonly=
"readonly"
type=
"input"
v-model=
"form.dh"
></el-input
>
<el-col
v-if=
"form.rkrq"
:span=
"12"
>
<el-form-item
label=
"
入库日期"
>
<el-
date-picker
style=
"width: 100%;"
type=
"date"
:readonly=
"readonly"
v-model=
"form.rkrq"
></el-date-picker
>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"仓库"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.dh"
></el-input>
<el-col
v-if=
"form.ckrq"
:span=
"12"
>
<el-form-item
label=
"出库日期"
>
<el-date-picker
style=
"width: 100%;"
type=
"date"
:readonly=
"readonly"
v-model=
"form.ckrq"
></el-date-picker
>
</el-form-item>
</el-col>
<el-col
v-if=
"form.bm"
:span=
"12"
>
<el-form-item
label=
"部门"
>
<RelSelect
style=
"width: 100%;"
clearable
:readonly=
"readonly"
src=
'hjbm/query'
:match=
"
{value:'bmid',label:'bmmc'}" v-model='form.bm' >
</RelSelect>
</el-form-item>
</el-col>
<el-col
v-if=
"form.ckid"
:span=
"12"
>
<el-form-item
label=
"仓库"
>
<RelSelect
style=
"width: 100%;"
clearable
:readonly=
"readonly"
src=
'jcsj/u_ckwh/query'
:match=
"
{value:'id',label:'ckmc'}" v-model='form.ckid' >
</RelSelect>
</el-form-item>
</el-col>
<!-- 扣押-->
<el-col
:span=
"12"
>
<el-form-item
label=
"扣押方式"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
dh
"
></el-input>
<el-col
v-if=
'form.rklxmc'
:span=
"12"
>
<el-form-item
label=
"扣押方式"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
rklxmc
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
v-if=
"form.dsfmc"
:span=
"12"
>
<el-form-item
label=
"三方仓库名"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.d
h
"
></el-input>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.d
sfmc
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"三方仓库地址"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.d
h
"
></el-input>
<el-col
v-if=
"form.dsfkdd"
:span=
"12"
>
<el-form-item
label=
"三方仓库地址"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.d
sfkdd
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
v-if=
"form.rkjzrq"
:span=
"12"
>
<el-form-item
label=
"扣押日期"
ref=
"content"
prop=
"content"
>
<el-
input
:readonly=
"readonly"
type=
"input"
v-model=
"form.dh"
></el-input
>
<el-
date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.rkjzrq"
></el-date-picker
>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
v-if=
"form.jsr"
:span=
"12"
>
<el-form-item
label=
"经手人"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
dh
"
></el-input>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
jsr
"
></el-input>
</el-form-item>
</el-col>
<!-- 调用-->
<el-col
:span=
"12"
>
<el-col
v-if=
"form.yjghrq"
:span=
"12"
>
<el-form-item
label=
"归还日期"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.dh"
></el-input
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.yjghrq"
></el-date-picker
>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
v-if=
"form.dyr"
:span=
"12"
>
<el-form-item
label=
"调用人"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.d
h
"
></el-input>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.d
yr
"
></el-input>
</el-form-item>
</el-col>
<!-- 归还人-->
<el-col
:span=
"12"
>
<el-col
v-if=
"form.swlxr"
:span=
"12"
>
<el-form-item
label=
"归还人"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
dh
"
></el-input>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
swlxr
"
></el-input>
</el-form-item>
</el-col>
<!-- 发还-->
<el-col
:span=
"12"
>
<el-col
v-if=
"form.fhdx"
:span=
"12"
>
<el-form-item
label=
"发还人"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
dh
"
></el-input>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
fhdx
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
v-if=
"form.lqr"
:span=
"12"
>
<el-form-item
label=
"领取人"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
dh
"
></el-input>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
lqr
"
></el-input>
</el-form-item>
</el-col>
<!-- 没收-->
<el-col
:span=
"12"
>
<el-col
v-if=
"form.msdrckmc"
:span=
"12"
>
<el-form-item
label=
"调入仓库"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
dh
"
></el-input>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
msdrckmc
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"调出仓库"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.dh"
></el-input>
</el-form-item>
</el-col>
</el-col>
-->
<!-- 移送-->
<el-col
:span=
"12"
>
<el-col
v-if=
"form.ysdw"
:span=
"12"
>
<el-form-item
label=
"移送单位"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
dh
"
></el-input>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
ysdw
"
></el-input>
</el-form-item>
</el-col>
<!-- 拍卖-->
<el-col
:span=
"12"
>
<el-col
v-if=
"form.pddw"
:span=
"12"
>
<el-form-item
label=
"拍得单位"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
dh
"
></el-input>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
pddw
"
></el-input>
</el-form-item>
</el-col>
<!-- 销毁-->
<el-col
:span=
"12"
>
<el-col
v-if=
"form.xhdw"
:span=
"12"
>
<el-form-item
label=
"销毁单位"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
dh
"
></el-input>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
xhdw
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
v-if=
"form.xhfs"
:span=
"12"
>
<el-form-item
label=
"销毁方式"
ref=
"content"
prop=
"content"
>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
dh
"
></el-input>
<el-input
:readonly=
"readonly"
type=
"input"
v-model=
"form.
xhfs
"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -117,8 +127,8 @@
</div>
<div
slot=
"reFooter"
class=
"refooter"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"app.showDialog=false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"save()"
>
保 存
</el-button>
<el-button
@
click=
"app.showDialog=false"
>
关 闭
</el-button>
</span>
</div>
</DefaultDialog>
...
...
@@ -137,15 +147,34 @@
}
}
},
async
mounted
()
{
mounted
()
{
/* 双击之前传递 row*/
const
{
type
,
swlx
,
dh
}
=
this
.
app
.
row
const
query
=
{
/* 0入*/
0
:
(
dh
)
=>
this
.
$post
(
'/jcsj/u_rkgl/query'
,
{
rkdh
:
dh
}),
/* 1出*/
1
:
(
dh
)
=>
this
.
$post
(
'/jcsj/u_ckgl/query'
,
{
ckdh
:
dh
})
}
query
[
type
](
dh
).
then
(
res
=>
{
this
.
form
=
res
.
data
.
records
[
0
]
})
},
data
()
{
return
{
readonly
:
true
,
form
:
{
dh
:
'等待接口'
}
}
...
...
src/views/analysis/query/index.vue
View file @
6919d17e
...
...
@@ -208,6 +208,7 @@
},
methods
:
{
tpDbClick
(
row
){
this
.
$refs
.
basePage
.
row
=
row
this
.
$refs
.
basePage
.
DialogWidth
=
'60vw'
this
.
$refs
.
basePage
.
DialogTitle
=
'单号信息'
this
.
$refs
.
basePage
.
showDialog
=
true
...
...
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