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
41f52d4e
Commit
41f52d4e
authored
Feb 04, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了样品拆分判断选中样品数量
parent
07f2e653
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
SoilSampleManageTab.vue
pages/soil-sample-manage/SoilSampleManageTab.vue
+5
-1
SoilSampleSplit.vue
pages/soil-sample-manage/SoilSampleSplit.vue
+1
-5
No files found.
pages/soil-sample-manage/SoilSampleManageTab.vue
View file @
41f52d4e
...
...
@@ -267,7 +267,11 @@ export default {
})
},
_sampleSplit
()
{
this
.
$refs
.
splitModal
.
_open
(
this
.
selectData
[
0
],
this
.
contractId
)
if
(
this
.
selectData
.
length
===
1
)
{
this
.
$refs
.
splitModal
.
_open
(
this
.
selectData
[
0
])
}
else
{
this
.
$Message
.
warning
(
'请选择一条数据'
)
}
},
_samplePre
()
{
if
(
this
.
selectIds
.
length
===
0
)
{
...
...
pages/soil-sample-manage/SoilSampleSplit.vue
View file @
41f52d4e
...
...
@@ -280,8 +280,7 @@ export default {
break
}
},
_open
(
data
,
id
)
{
console
.
log
(
id
)
_open
(
data
)
{
this
.
sampleId
=
''
this
.
formObj
=
{}
this
.
sampleId
=
data
.
id
...
...
@@ -303,9 +302,6 @@ export default {
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_clearSelection
()
// this._page()
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
data
[
i
].
_XID
=
undefined
}
this
.
getPage
.
records
.
push
(
this
.
formObj
)
console
.
log
(
'123456'
,
this
.
getPage
.
records
)
},
...
...
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