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
378cbb1b
Commit
378cbb1b
authored
Nov 09, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了余样管理
parent
1f4d8d1e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
SampleSurplusBatchEdit.vue
...l-sample-manage/surplus-manage/SampleSurplusBatchEdit.vue
+12
-4
SampleSurplusManage.vue
...-sample-manage/surplus-manage/tab/SampleSurplusManage.vue
+0
-6
No files found.
pages/soil-sample-manage/surplus-manage/SampleSurplusBatchEdit.vue
View file @
378cbb1b
...
...
@@ -5,7 +5,10 @@
<div>
<Form
id=
"storage-location-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
>
<Form-item
label=
"保存容器:"
prop=
"keepContainer"
>
<Input
v-model=
"formObj.keepContainer"
clearable
placeholder=
"请输入保存容器"
></Input>
<el-select
v-model=
"scope.row.keepContainer"
clearable
style=
"width:100%"
size=
"small"
>
<el-option
v-for=
"item in containerList"
:value=
"item.name"
:key=
"item.name"
>
{{
item
.
name
}}
</el-option>
</el-select>
</Form-item>
<Form-item
label=
"制备数量"
>
<Input
v-model=
"formObj.quantity"
clearable
placeholder=
"请输入备样数量"
></Input>
...
...
@@ -40,17 +43,22 @@ export default {
{
id
:
''
,
name
:
'取消'
,
type
:
''
},
{
id
:
''
,
name
:
'保存'
,
type
:
'primary'
}
],
con
dition
List
:
[],
con
tainer
List
:
[],
locList
:
[],
backupUserList
:
[],
sampleUnit
:
''
}
},
mounted
()
{
this
.
_getConditionList
()
this
.
_getUserList
()
this
.
_getContainerList
()
},
methods
:
{
_getContainerList
:
async
function
()
{
const
result
=
await
soilSample
.
getDictList
(
'保存容器'
)
if
(
result
)
{
this
.
containerList
=
result
}
},
_locChange
(
msg
,
data
)
{
switch
(
msg
)
{
case
'select'
:
...
...
pages/soil-sample-manage/surplus-manage/tab/SampleSurplusManage.vue
View file @
378cbb1b
...
...
@@ -54,12 +54,6 @@
<el-input
v-model=
"scope.row.quantity"
placeholder=
"制备数量"
></el-input>
</div>
</div>
<div
v-else-if=
"item.key==='quantity'"
>
<div
v-if=
"editIndex!==scope.rowIndex"
>
{{
scope
.
row
[
item
.
key
]
}}
</div>
<div
v-else
>
<el-input
v-model=
"scope.row.quantity"
placeholder=
"制备数量"
></el-input>
</div>
</div>
<div
v-else-if=
"item.key==='keepLocation'"
>
<div
v-if=
"editIndex!==scope.rowIndex"
>
{{
scope
.
row
[
item
.
key
]
}}
</div>
<div
v-else
>
...
...
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