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
79af4651
Commit
79af4651
authored
May 21, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/project9-8' into project9-8
parents
01d2b2ee
732b999a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
6 deletions
+54
-6
enterboundTwo.vue
src/views/template/enterboundTwo.vue
+38
-5
outcomeWmsJbapplyTemp.vue
src/views/template/outcomeWmsJbapplyTemp.vue
+16
-1
No files found.
src/views/template/enterboundTwo.vue
View file @
79af4651
...
...
@@ -43,6 +43,15 @@
/>
</el-select>
</el-form-item>
<el-form-item
label=
"lot"
prop=
"lot"
>
<el-input
v-model=
"queryParams.lot"
placeholder=
"请输入lot"
clearable
size=
"small"
style=
"width: 150px"
/>
</el-form-item>
<el-form-item>
<el-button
:class=
"commonField.queryClass"
...
...
@@ -117,23 +126,33 @@
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"出入情况"
prop=
"ioType"
:show-overflow-tooltip=
"true"
min-width=
"1
2
0"
>
<el-table-column
label=
"出入情况"
prop=
"ioType"
:show-overflow-tooltip=
"true"
min-width=
"1
0
0"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.ioType === '1'"
>
入
</span>
<span
v-else-if=
"scope.row.ioType === '2'"
>
出
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"qty"
prop=
"qty"
:show-overflow-tooltip=
"true"
min-width=
"1
2
0"
>
<el-table-column
label=
"qty"
prop=
"qty"
:show-overflow-tooltip=
"true"
min-width=
"1
0
0"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
qty
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"rank"
prop=
"rank"
:show-overflow-tooltip=
"true"
min-width=
"1
2
0"
>
<el-table-column
label=
"rank"
prop=
"rank"
:show-overflow-tooltip=
"true"
min-width=
"1
0
0"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
rank
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"lot"
prop=
"lot"
:show-overflow-tooltip=
"true"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
lot
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"location"
prop=
"location"
:show-overflow-tooltip=
"true"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
location
||
'-'
}}
</
template
>
</el-table-column>
<!-- <el-table-column label="申请人" prop="createBy" :show-overflow-tooltip="true">-->
<!-- <template slot-scope="scope">-->
<!-- <span v-if="scope.row.ioType !=='1'">{{ scope.row.createName }}</span>-->
...
...
@@ -147,7 +166,7 @@
<!-- <span v-else>-</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
label=
"创建人"
prop=
"updateBy"
:show-overflow-tooltip=
"true"
min-width=
"1
4
0"
>
<el-table-column
label=
"创建人"
prop=
"updateBy"
:show-overflow-tooltip=
"true"
min-width=
"1
0
0"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
createName
||
'-'
}}
</
template
>
...
...
@@ -238,7 +257,21 @@
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"cj:"
prop=
"cj"
>
<span>
{{ getManufacturerLabel(singleDetails.cj) || '-' }}
</span>
<span>
{{getManufacturerLabel(singleDetails.cj) || '-' }}
</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"lot:"
prop=
"lot"
>
<span>
{{ singleDetails.lot || '-' }}
</span>
<!-- <el-input v-model.trim="singleDetails.ioType" :readonly="true" />-->
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"location:"
prop=
"location"
>
<span>
{{ singleDetails.location || '-' }}
</span>
<!-- <el-input v-model.trim="singleDetails.ioType" :readonly="true" />-->
</el-form-item>
</el-col>
</el-row>
...
...
src/views/template/outcomeWmsJbapplyTemp.vue
View file @
79af4651
...
...
@@ -660,6 +660,16 @@ export default {
}
}
},
/** 路由离开前存储筛选条件*/
beforeRouteLeave
(
to
,
from
,
next
)
{
this
.
$store
.
dispatch
(
'searchSave/searchParamsSet'
,
{
path
:
this
.
$route
.
path
,
param
:
{
...
this
.
queryParams
}
})
next
()
},
computed
:
{
// 判断是否禁用输入框并清空值
isDisabled
()
{
...
...
@@ -675,6 +685,11 @@ export default {
},
created
()
{
if
(
this
.
$store
.
getters
.
searchParams
[
this
.
$route
.
path
])
{
const
{
searchParams
}
=
this
.
$store
.
getters
;
const
{
path
}
=
this
.
$route
const
param
=
JSON
.
parse
(
searchParams
[
path
])
// 保留着的查询条件
this
.
queryParams
=
{
...
param
}
}
this
.
manufacturer
=
manufacturer
this
.
getList
()
// 列表查询
this
.
getwareHouse
()
// 查询数据字典
...
...
@@ -785,7 +800,7 @@ export default {
formData
.
append
(
'file'
,
this
.
files
)
importJbapplyExcel
(
formData
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'共
导入
'
+
res
.
data
.
total
+
'条'
+
`成功导入`
+
res
.
data
.
rows
+
`条`
)
this
.
$message
.
success
(
'共'
+
res
.
data
.
total
+
'条'
+
`成功导入`
+
res
.
data
.
rows
+
`条`
)
this
.
importLoading
=
false
this
.
importControls
.
open
=
false
this
.
files
=
[]
...
...
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