Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-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
李苏
lxyl-vue
Commits
dde6c3a9
Commit
dde6c3a9
authored
Apr 19, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重写auxput改为动态传递的库存组件
parent
d6a1ad70
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
6 deletions
+116
-6
edit.vue
src/views/ccgl/kngl/phsd/top/edit.vue
+10
-6
index.vue
src/views/ccgl/kngl/phsd/top/ph/index.vue
+106
-0
No files found.
src/views/ccgl/kngl/phsd/top/edit.vue
View file @
dde6c3a9
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
</RelDialog>
</RelDialog>
</template>
</template>
<
script
>
<
script
>
import
ph
from
'./ph'
import
{
import
{
toFixed
,
toFixed
,
doRkdChange
doRkdChange
...
@@ -39,9 +40,9 @@
...
@@ -39,9 +40,9 @@
mixins
:
[
editMixin
,
editMixin_expand
],
mixins
:
[
editMixin
,
editMixin_expand
],
methods
:
{
methods
:
{
add
()
{
add
()
{
if
(
!
this
.
form
.
wlph
)
{
if
(
!
this
.
form
.
wlph
)
{
this
.
$warning
(
'请先选择物料批号'
)
this
.
$warning
(
'请先选择物料批号'
)
}
else
{
}
else
{
this
.
showDialog
=
true
this
.
showDialog
=
true
}
}
...
@@ -93,7 +94,10 @@
...
@@ -93,7 +94,10 @@
span
:
12
,
span
:
12
,
type
:
'AuxInput'
,
type
:
'AuxInput'
,
typeConfig
:
{
typeConfig
:
{
code
:
'LXYLKCPH'
,
isRequest
:
false
,
code
:
true
,
dynamic
:
true
,
component
:
ph
,
label
:
'wlph'
,
label
:
'wlph'
,
transform
:
{
transform
:
{
value
:
'wlph'
,
value
:
'wlph'
,
...
...
src/views/ccgl/kngl/phsd/top/ph/index.vue
0 → 100644
View file @
dde6c3a9
<
template
>
<BasePage
:power=
'
{
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
}' ref="basePage" class="min_full" :config="config">
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
</
template
>
</BasePage>
</template>
<
script
>
export
default
{
data
()
{
return
{
config
:
{
/* 基本配置*/
url
:
'lxyl/zlgl/uLothold/queryWlphForHold'
,
queryUrl
:
'lxyl/zlgl/uLothold/queryWlphForHold'
,
// queryUrl:'kc/wlph',
tableTitle
:
[
{
title
:
"物料编码"
,
field
:
"wlxxCode"
,
width
:
140
},
{
title
:
"物料批号"
,
field
:
"wlph"
,
width
:
140
},
{
title
:
"物料名称"
,
field
:
"wlxxName"
,
width
:
140
},
{
title
:
"物料规格"
,
field
:
"wlxxGg"
,
width
:
140
},
{
title
:
"数量"
,
field
:
"kcsl"
,
width
:
140
}
],
queryParams
:
[
[{
label
:
'物料信息'
,
prop
:
'wlxxInfo'
,
span
:
8
,
type
:
'input'
,
},
{
label
:
'物料批号'
,
prop
:
'wlph'
,
span
:
8
,
type
:
'input'
,
}
]
],
/* 默认启停用 */
showqt
:
false
,
}
}
},
methods
:
{
},
components
:
{
}
}
</
script
>
<
style
>
.font-success
{
color
:
green
;
}
.font-fail
{
color
:
red
;
}
</
style
>
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