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
1452fe8e
Commit
1452fe8e
authored
Apr 14, 2024
by
Hagsn3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
6915008a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
15 deletions
+60
-15
outcomeWmsJbapplyTemp.vue
src/views/template/outcomeWmsJbapplyTemp.vue
+60
-15
No files found.
src/views/template/outcomeWmsJbapplyTemp.vue
View file @
1452fe8e
...
...
@@ -127,14 +127,14 @@
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"
pn"
prop=
"pn
"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"
code"
prop=
"orderCode
"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
{{
scope
.
row
.
orderCode
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"
qty"
prop=
"qty
"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"
pn"
prop=
"pn
"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
qty
||
'-'
}}
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"LOT"
prop=
"lot"
:show-overflow-tooltip=
"true"
>
...
...
@@ -142,16 +142,22 @@
{{
scope
.
row
.
lot
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"
rank"
prop=
"rank
"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"
qty"
prop=
"qty
"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
rank
||
'-'
}}
{{
scope
.
row
.
qty
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"
创建时间"
prop=
"createDate
"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"
rank"
prop=
"rank
"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
createDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
{{
scope
.
row
.
rank
||
'-'
}}
</
template
>
</el-table-column>
<!-- <el-table-column label="创建时间" prop="createDate" :show-overflow-tooltip="true">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ scope.row.createDate | transformDateByFormat('YYYY-MM-DD HH:mm') }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
label=
"出库状态"
prop=
"dealStatus"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.dealStatus === '1'"
>
已出库
</span>
...
...
@@ -162,12 +168,14 @@
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"130px"
>
<
template
slot-scope=
"scope"
>
<el-button
v-show=
"scope.row.dealStatus !=='1'"
:class=
"commonField.updateClass"
:type=
"commonField.typeParent"
:size=
"commonField.size"
@
click=
"handleUpdate(scope.row)"
>
修改
</el-button>
<el-button
v-show=
"scope.row.dealStatus !=='1'"
:class=
"commonField.delClass"
:type=
"commonField.typeParent"
:size=
"commonField.size"
...
...
@@ -189,8 +197,16 @@
@
pagination=
"getList"
/>
<!-- 添加或修改检查申请配置对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"90px"
>
<!-- class="my-custom-dialog"-->
<el-dialog
class=
"my-custom-dialog"
:title=
"title"
:visible
.
sync=
"open"
width=
"600px"
:close-on-click-modal=
"false"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"90px"
class=
"my-custom-form"
>
<el-form-item
label=
"wh_id"
prop=
"whId"
>
<el-select
v-model=
"form.whId"
...
...
@@ -212,7 +228,7 @@
v-model=
"form.ptype"
placeholder=
"请选择ptype值"
clearable
:maxlength=
"
1
"
:maxlength=
"
2
"
size=
"small"
style=
"width: 100%"
@
change=
"handleInputChange"
...
...
@@ -225,6 +241,14 @@
/>
</el-select>
</el-form-item>
<el-form-item
label=
"code"
prop=
"orderCode"
>
<el-input
v-model
.
trim=
"form.orderCode"
show-word-limit
:maxlength=
"100"
placeholder=
"请输入code"
/>
</el-form-item>
<el-form-item
label=
"pn"
prop=
"pn"
>
<el-input
v-model
.
trim=
"form.pn"
...
...
@@ -257,7 +281,7 @@
v-model
.
trim=
"form.remarks"
type=
"textarea"
:rows=
"5"
maxlength=
"
5
00"
maxlength=
"
2
00"
show-word-limit
placeholder=
"请输入内容"
/>
...
...
@@ -520,6 +544,7 @@ export default {
createByName
:
undefined
,
rank
:
undefined
,
lot
:
undefined
,
orderCode
:
undefined
,
flag
:
''
},
// 表单参数
...
...
@@ -538,6 +563,9 @@ export default {
lot
:
[
{
required
:
true
,
message
:
'请输入lot的值'
,
trigger
:
'blur'
}
],
orderCode
:
[
{
required
:
true
,
message
:
'请输入code的值'
,
trigger
:
'blur'
}
],
qty
:
[
{
required
:
true
,
message
:
'请输入qty的值'
,
trigger
:
'blur'
},
{
pattern
:
/^
(
0|
[
1-9
]\d
*
)
$/
,
message
:
'输入值不符合格式要求,请重新输入'
,
trigger
:
'blur'
}
...
...
@@ -721,11 +749,11 @@ export default {
qty
:
undefined
,
whId
:
this
.
warehouseList
[
0
].
dictValue
,
ptype
:
'20'
,
dealStatus
:
undefined
,
orderCode
:
undefined
,
dealStatus
:
'0'
,
createByName
:
undefined
,
rank
:
undefined
,
lot
:
undefined
,
flag
:
'1'
lot
:
undefined
}
this
.
resetForm
(
'form'
)
},
...
...
@@ -892,5 +920,22 @@ export default {
background-color
:
#F4F4F4
;
margin-bottom
:
10px
}
}
.my-custom-dialog
{
::v-deep
.el-dialog
{
height
:
650px
;
}
::v-deep
.el-dialog__body
{
overflow-y
:
visible
;
}
::v-deep
.dialog-footer
{
margin-top
:
5%
;
}
}
//.my-custom-form {
// height: 600px; /* 设置表单的高度 */
// overflow-y: auto; /* 当内容溢出时显示垂直滚动条 */
//}
</
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