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
afb3ddcf
Commit
afb3ddcf
authored
Apr 15, 2024
by
Hagsn3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
957d00f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
ConfirmationMaterials.vue
src/views/template/ConfirmationMaterials.vue
+10
-5
outcomeWmsJbapplyTemp.vue
src/views/template/outcomeWmsJbapplyTemp.vue
+2
-1
No files found.
src/views/template/ConfirmationMaterials.vue
View file @
afb3ddcf
...
...
@@ -93,11 +93,12 @@
</el-table-column>
<el-table-column
label=
"ptype"
prop=
"ptype"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.ptype === '1'"
>
jb
</span>
<span
v-else-if=
"scope.row.ptype === '2'"
>
label
</span>
<span
v-else-if=
"scope.row.ptype === '3'"
>
wd
</span>
<span
v-else-if=
"scope.row.ptype === '4'"
>
sl
</span>
<span
v-else-if=
"scope.row.ptype === '5'"
>
zd
</span>
<span
v-if=
"scope.row.ptype.trim() === '1'"
>
jb
</span>
<span
v-else-if=
"scope.row.ptype.trim() === '2'"
>
label
</span>
<span
v-else-if=
"scope.row.ptype.trim() === '3'"
>
wd
</span>
<span
v-else-if=
"scope.row.ptype.trim() === '4'"
>
sl
</span>
<span
v-else-if=
"scope.row.ptype.trim() === '5'"
>
zd
</span>
<span
v-else-if=
"scope.row.ptype.trim() === '20'"
>
jl
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
...
...
@@ -313,6 +314,10 @@ export default {
{
dictLabel
:
'zd'
,
dictValue
:
'5'
},
{
dictLabel
:
'jl'
,
dictValue
:
'20'
}
],
addTypeOption
:
[
...
...
src/views/template/outcomeWmsJbapplyTemp.vue
View file @
afb3ddcf
...
...
@@ -679,6 +679,7 @@ export default {
},
// 文件上传成功处理
handleFileSuccess
(
response
)
{
console
.
log
(
'文件上传'
,
response
)
this
.
upload
.
open
=
false
this
.
upload
.
isUploading
=
false
this
.
$refs
.
upload
.
clearFiles
()
...
...
@@ -723,7 +724,7 @@ export default {
formData
.
append
(
'file'
,
this
.
files
)
importJbapplyExcel
(
formData
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
`成功导入`
+
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