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
d5e278d0
Commit
d5e278d0
authored
Mar 26, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了样品发放判断高级试验样品
parent
6a94d615
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
ViewDetail.vue
...e-sample-manage/soil-alone-sample-outstock/ViewDetail.vue
+5
-2
WaitScan.vue
...-manage/sample-receive/entrust-sample-manage/WaitScan.vue
+20
-1
No files found.
pages/soil-alone-sample-manage/soil-alone-sample-outstock/ViewDetail.vue
View file @
d5e278d0
...
@@ -58,7 +58,10 @@
...
@@ -58,7 +58,10 @@
<th>
出库接收人
</th>
<th>
出库接收人
</th>
<td>
{{
obj
.
outStockReceiver
}}
</td>
<td>
{{
obj
.
outStockReceiver
}}
</td>
</tr>
</tr>
<tr>
<th>
出库去向
</th>
<td>
{{
obj
.
outGo
}}
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
...
@@ -97,7 +100,7 @@ export default {
...
@@ -97,7 +100,7 @@ export default {
}
else
{
}
else
{
this
.
showMoney
=
false
this
.
showMoney
=
false
}
}
this
.
height
=
'
35
0px'
this
.
height
=
'
40
0px'
}
}
}
}
}
}
...
...
pages/soil-sample-manage/sample-receive/entrust-sample-manage/WaitScan.vue
View file @
d5e278d0
...
@@ -252,7 +252,7 @@ export default {
...
@@ -252,7 +252,7 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
switch
(
msg
)
{
switch
(
msg
)
{
case
'发放'
:
case
'发放'
:
this
.
_s
ubmitSend
()
this
.
_s
endDecide
()
break
break
case
'发放到高级试验'
:
case
'发放到高级试验'
:
this
.
_send
()
this
.
_send
()
...
@@ -437,6 +437,25 @@ export default {
...
@@ -437,6 +437,25 @@ export default {
}
}
}
}
},
},
_sendDecide
()
{
this
.
expert
=
false
if
(
this
.
selectData
.
length
===
0
)
{
this
.
$Message
.
warning
(
'请至少选择一条数据'
)
}
else
{
for
(
let
i
=
0
;
i
<
this
.
selectData
.
length
;
i
++
)
{
if
(
this
.
selectData
[
i
].
groupNames
===
'高级实验室'
)
{
this
.
expert
=
true
}
}
if
(
this
.
expert
)
{
this
.
$Message
.
warning
(
'只有高级试验样品请发放到高级试验'
)
// this._sendToAlone()
}
else
{
this
.
_submitSend
()
// this.$Message.warning('所选样品中没有其他试验样品')
}
}
},
// 发放
// 发放
_submitSend
()
{
_submitSend
()
{
if
(
this
.
selectIds
.
length
===
0
)
{
if
(
this
.
selectIds
.
length
===
0
)
{
...
...
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