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
0482dd8c
Commit
0482dd8c
authored
Jul 30, 2023
by
岑歆奕
Committed by
AiNoeLiYa
Jul 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改因user字段变更导致的显示问题
Signed-off-by:
AiNoeLiYa
<
jzbcxy@gmail.com
>
parent
b7553eed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
9 deletions
+17
-9
InventoryRecord.js
src/api/processMangement/InventoryRecord.js
+7
-1
index.vue
src/views/processManagement/inventoryRecord/index.vue
+10
-8
No files found.
src/api/process
Library
/InventoryRecord.js
→
src/api/process
Mangement
/InventoryRecord.js
View file @
0482dd8c
import
request
from
'@/utils/request'
// TODO: 用来进行工序库的出入库记录的 分页+时间+普通字段的查询
export
function
listLog
(
queryParams
)
{
console
.
log
(
'this is date:'
,
queryParams
.
dateRange
)
return
request
({
url
:
'/wbwarehouselog/queryWbWarehouseLogByPagination'
,
method
:
'get'
,
params
:
queryParams
})
}
export
function
singleLogDetail
(
singleLogFqYs
)
{
return
request
({
url
:
''
})
}
src/views/processManagement/inventoryRecord/index.vue
View file @
0482dd8c
...
...
@@ -142,8 +142,8 @@
<el-form-item
label=
"plocation:"
prop=
"plocation"
>
<el-input
v-model
.
trim=
"singleDetails.plocation"
:readonly=
"isReadOnly"
/>
</el-form-item>
<el-form-item
label=
"操作员:"
prop=
"user"
>
<el-input
v-model
.
trim=
"singleDetails.user"
:readonly=
"isReadOnly"
/>
<el-form-item
label=
"操作员:"
prop=
"user
Name
"
>
<el-input
v-model
.
trim=
"singleDetails.user
Name
"
:readonly=
"isReadOnly"
/>
</el-form-item>
</el-col>
...
...
@@ -183,7 +183,7 @@
</
template
>
<
script
>
import
{
listLog
}
from
'@/api/process
Library
/InventoryRecord'
import
{
listLog
}
from
'@/api/process
Mangement
/InventoryRecord'
import
BaseTable
from
'@/components/Table/BaseTable/index.vue'
export
default
{
...
...
@@ -273,8 +273,8 @@ export default {
return
true
}
},
// column列,columType(列类型,可选text(默认为普通文字模式),input(input可编辑框),switch(switch开关),image(图片),operation(操作按钮))
// prop(参数),label(列名),width(宽度),align(对齐方式),sortable(是否支持排序)
//
TODO:
column列,columType(列类型,可选text(默认为普通文字模式),input(input可编辑框),switch(switch开关),image(图片),operation(操作按钮))
//
TODO: :
prop(参数),label(列名),width(宽度),align(对齐方式),sortable(是否支持排序)
columnData
:
[
{
text
:
true
,
...
...
@@ -312,7 +312,7 @@ export default {
},
{
text
:
true
,
prop
:
'user'
,
prop
:
'user
Name
'
,
label
:
'操作员'
,
sortable
:
false
,
width
:
'150px'
...
...
@@ -352,9 +352,8 @@ export default {
ptype
:
''
,
poperate
:
''
,
plocation
:
''
,
remarks
:
''
,
fqYs
:
''
,
user
:
''
,
user
Name
:
''
,
createBy
:
''
,
updateBy
:
''
,
createDate
:
''
,
...
...
@@ -458,6 +457,9 @@ export default {
handleDetail
:
function
(
row
)
{
console
.
log
(
'success!'
)
if
(
row
.
poperate
===
'4'
)
{
}
this
.
title
=
'记录详情'
this
.
singleDetails
=
{
...
row
}
this
.
openDetails
=
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