Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
Overview
Overview
Details
Activity
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
wangweidong
patzn-cloud-web-back-soil
Commits
3693f899
Commit
3693f899
authored
Nov 06, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了备样管理和余样管理
parent
d6b213d8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
5 deletions
+27
-5
SampleBackupsManage.vue
...-sample-manage/backups-manage/tab/SampleBackupsManage.vue
+19
-3
SampleSurplusManage.vue
...-sample-manage/surplus-manage/tab/SampleSurplusManage.vue
+7
-1
common.js
plugins/common.js
+1
-1
No files found.
pages/soil-sample-manage/backups-manage/tab/SampleBackupsManage.vue
View file @
3693f899
...
...
@@ -459,7 +459,7 @@ export default {
const
errorIds
=
[]
for
(
let
i
=
0
;
i
<
this
.
selectIds
.
length
;
i
++
)
{
if
(
this
.
selectData
[
i
].
status
.
display
!==
'处理审批通过'
)
{
errorIds
.
push
(
this
.
selectData
[
i
].
sampleCode
)
errorIds
.
push
(
this
.
selectData
[
i
].
index
+
1
)
}
}
if
(
errorIds
.
length
===
0
)
{
...
...
@@ -471,7 +471,18 @@ export default {
}
})
}
else
{
this
.
$Message
.
warning
(
'试样编号为 '
+
errorIds
+
' 的审批未通过'
)
// this.$Notice.error({
// title: '文件格式不正确',
// duration: 10,
// desc: '试样编号为 ' + errorIds + ' 的审批未通过'
// })
// this.$Message.warning('试样编号为 ' + errorIds + ' 的审批未通过')
this
.
$notify
({
title
:
'提示'
,
message
:
'第 '
+
errorIds
+
' 行数据的审批未通过'
,
duration
:
0
,
type
:
'error'
})
// this.$Modal.confirm({
// title: '提示',
// content: '试样编号为 ' + errorIds + ' 的审批未通过'
...
...
@@ -660,7 +671,12 @@ export default {
}
}
</
script
>
<
style
scoped
>
<
style
>
.el-notification__content
p
{
white-space
:
pre-wrap
!important
;
word-wrap
:
break-word
;
word-break
:
break-all
;
}
/******副样、备样卡片********/
.reimbursement-item
{
flex
:
1
;
...
...
pages/soil-sample-manage/surplus-manage/tab/SampleSurplusManage.vue
View file @
3693f899
...
...
@@ -379,7 +379,13 @@ export default {
}
})
}
else
{
this
.
$Message
.
warning
(
'第 '
+
errorIds
+
' 条数据的审批未通过'
)
// this.$Message.warning('第 ' + errorIds + ' 条数据的审批未通过')
this
.
$notify
({
title
:
'提示'
,
message
:
'第 '
+
errorIds
+
' 行数据的审批未通过'
,
duration
:
4000
,
type
:
'error'
})
}
}
},
...
...
plugins/common.js
View file @
3693f899
...
...
@@ -974,7 +974,7 @@ Vue.prototype.$optColWidth = function(list) {
}
return
arrayList
.
length
>
0
?
85
+
width
*
(
arrayList
.
length
-
1
)
:
0
}
Vue
.
prototype
.
$defRow
=
50
Vue
.
prototype
.
$defRow
=
50
0
Vue
.
prototype
.
$setOptimization
=
function
(
msg
)
{
// 默认 数据超过200条,启用虚拟加载,每次加载50条
let
result
=
{
gt
:
200
,
oSize
:
20
,
rSize
:
50
}
...
...
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