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
78ed0168
Commit
78ed0168
authored
Mar 05, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了独立预检编辑选择样品位置
parent
c4f0b97d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
SeniorSampleEdit.vue
...ple-alone-keep/entrust-sample-manage/SeniorSampleEdit.vue
+13
-4
No files found.
pages/soil-sample-manage/sample-alone-keep/entrust-sample-manage/SeniorSampleEdit.vue
View file @
78ed0168
...
...
@@ -3,9 +3,9 @@
<Modal
v-model=
"showModal"
:mask-closable=
"false"
width=
"900"
@
on-visible-change=
"_visibleChange"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<div>
<Form
:id=
"formId"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"
9
0"
inline
>
<Form
:id=
"formId"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"
10
0"
inline
>
<div>
<Form-item
label=
"高级样品位置"
prop=
"receiveLocation"
style=
"width: 80%"
>
<Form-item
label=
"高级样品位置
:"
@
click
.
native=
"_storageModel()
"
prop=
"receiveLocation"
style=
"width: 80%"
>
<Input
v-model=
"formObj.receiveLocation"
name=
"receiveLocation"
placeholder=
"请输入高级样品位置"
/>
</Form-item>
<Form-item
label=
"高级样品分类:"
prop=
"seniorType"
style=
"width: 80%"
>
...
...
@@ -22,7 +22,7 @@
<Date-picker
v-model=
"formObj.receiveTime"
name=
"receiveTime"
type=
"date"
split-panels
style=
"width:100%;"
placeholder=
"请选择委托日期"
@
on-change=
"_tabulateChange"
></Date-picker>
</Form-item>
<Form-item
label=
"接收人"
prop=
"receiver"
class=
"width-48"
@
click
.
native=
"_selectPerson"
>
<Form-item
label=
"接收人
:
"
prop=
"receiver"
class=
"width-48"
@
click
.
native=
"_selectPerson"
>
<Input
v-model=
"formObj.receiver"
name=
"receiver"
placeholder=
"请输入名称"
/>
</Form-item>
</div>
...
...
@@ -33,6 +33,7 @@
</div>
</Modal>
<assignPerson
ref=
"userModal"
@
on-result-change=
"_userResult"
></assignPerson>
<storageSelect
ref=
"storageModal"
@
on-result-change=
"_storageData"
></storageSelect>
</div>
</
template
>
<
script
>
...
...
@@ -42,8 +43,9 @@
import
{
soilAptitude
,
soilEntrust
}
from
'../../../../api'
import
assignPerson
from
'../../../../components/user-info-single/assignPerson'
import
storageSelect
from
'../../../soil-alone-sample-manage/storehouse-sample-manage/storageSelect'
export
default
{
components
:
{
assignPerson
},
components
:
{
assignPerson
,
storageSelect
},
data
()
{
return
{
activeName
:
''
,
...
...
@@ -83,10 +85,17 @@ export default {
// this._getType()
},
methods
:
{
_storageData
(
data
)
{
this
.
$forceUpdate
()
this
.
formObj
.
receiveLocation
=
data
.
warehouse
+
','
+
data
.
name
},
groupSelect
(
data
)
{
console
.
log
(
data
)
// this.formObj.groupId = da
},
_storageModel
()
{
this
.
$refs
.
storageModal
.
_open
()
},
_selGroup
(
data
)
{
console
.
log
(
data
)
this
.
formObj
.
groupId
=
data
...
...
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