Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_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
杨硕
template_vue
Commits
78a68c5f
Commit
78a68c5f
authored
Aug 01, 2023
by
CenXinYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化出入库记录导出功能和CRUD的部分语句
Signed-off-by:
CenXinYi
<
2810162984@qq.com
>
parent
92c712e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
14 deletions
+19
-14
InventoryRecord.js
src/api/processMangement/InventoryRecord.js
+1
-1
index.vue
src/views/processManagement/inventoryRecord/index.vue
+18
-13
No files found.
src/api/processMangement/InventoryRecord.js
View file @
78a68c5f
...
@@ -28,7 +28,7 @@ export function findSingleLogDetail(singleLogIdAndPn) {
...
@@ -28,7 +28,7 @@ export function findSingleLogDetail(singleLogIdAndPn) {
/* TODO: 用来导出表单信息 */
/* TODO: 用来导出表单信息 */
export
function
exportInventoryRecord
()
{
export
function
exportInventoryRecord
()
{
return
request
({
return
request
({
url
:
'/wbwarehouselog/export'
,
url
:
'/wbwarehouselog/export
LogWithDetails
'
,
method
:
'get'
,
method
:
'get'
,
responseType
:
'blob'
responseType
:
'blob'
})
})
...
...
src/views/processManagement/inventoryRecord/index.vue
View file @
78a68c5f
...
@@ -167,25 +167,25 @@
...
@@ -167,25 +167,25 @@
<transition
name=
"fade-transform"
mode=
"out-in"
>
<transition
name=
"fade-transform"
mode=
"out-in"
>
<el-row
v-if=
" activateAbandonedState "
style=
"height: 160px"
>
<el-row
v-if=
" activateAbandonedState "
style=
"height: 160px"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"fq
_ys:"
prop=
"fq_y
s"
>
<el-form-item
label=
"fq
Ys:"
prop=
"fqY
s"
>
{{
singleDetails
.
fq
_y
s
}}
{{
singleDetails
.
fq
Y
s
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"fq
_bz:"
prop=
"fq_b
z"
>
<el-form-item
label=
"fq
Bz:"
prop=
"fqB
z"
>
{{
singleDetails
.
fq
_b
z
}}
{{
singleDetails
.
fq
B
z
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"fq
_dbxi:"
prop=
"fq_d
bxi"
>
<el-form-item
label=
"fq
Dbxi:"
prop=
"fqD
bxi"
>
{{
singleDetails
.
fq
_d
bxi
}}
{{
singleDetails
.
fq
D
bxi
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"fq
_dd:"
prop=
"fq_d
d"
>
<el-form-item
label=
"fq
Dd:"
prop=
"fqD
d"
>
{{
singleDetails
.
fq
_d
d
}}
{{
singleDetails
.
fq
D
d
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"fq
_mcode:"
prop=
"fq_m
code"
>
<el-form-item
label=
"fq
Mcode:"
prop=
"fqM
code"
>
{{
singleDetails
.
fq
_m
code
}}
{{
singleDetails
.
fq
M
code
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"fq
_yy:"
prop=
"fq_y
y"
>
<el-form-item
label=
"fq
Yy:"
prop=
"fqY
y"
>
{{
singleDetails
.
fq
_y
y
}}
{{
singleDetails
.
fq
Y
y
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -524,7 +524,12 @@ export default {
...
@@ -524,7 +524,12 @@ export default {
/* 激活打开废弃信息栏 */
/* 激活打开废弃信息栏 */
this
.
activateAbandonedState
=
true
this
.
activateAbandonedState
=
true
this
.
title
=
'记录详情'
this
.
title
=
'记录详情'
this
.
singleDetails
=
Object
.
assign
({},
response
.
data
,
{
...
row
})
console
.
log
(
row
)
console
.
log
(
response
.
data
)
const
{
fqBz
,
fqDbxi
,
fqDd
,
fqMcode
,
fqYy
}
=
response
.
data
const
fq
=
{
fqBz
,
fqDbxi
,
fqDd
,
fqMcode
,
fqYy
}
this
.
singleDetails
=
Object
.
assign
({},
{
...
row
},
{
...
fq
})
console
.
log
(
this
.
singleDetails
)
}
}
)
)
}
}
...
...
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