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
dd59d706
Commit
dd59d706
authored
Jan 04, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了样品管理
parent
92e66bbe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
Outstock.vue
...one-sample-manage/soil-alone-sample-outstock/Outstock.vue
+0
-7
AddressManage.vue
...-sample-manage/storehouse-sample-manage/AddressManage.vue
+14
-1
No files found.
pages/soil-alone-sample-manage/soil-alone-sample-outstock/Outstock.vue
View file @
dd59d706
...
...
@@ -4,13 +4,6 @@
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<div>
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
<Form-item
label=
"库房号"
prop=
"storehouse"
style=
"width: 100%"
>
<Input
v-model=
"formObj.storehouse"
name=
"storehouse"
style=
"width: 95%;"
placeholder=
"请输入库房号"
/>
<span
@
click=
"_storageModel()"
style=
"font-size: 20px;color: #00b5ec"
>
+
</span>
</Form-item>
<Form-item
label=
"架位号"
prop=
"shelfCode"
style=
"width: 100%"
>
<Input
v-model=
"formObj.shelfCode"
name=
"shelfCode"
placeholder=
"请输入架位号"
/>
</Form-item>
<Form-item
label=
"出库人"
prop=
"outStocker"
style=
"width: 100%"
>
<Input
v-model=
"formObj.outStocker"
@
click
.
native=
"_selectStaff"
name=
"outStocker"
readonly
/>
</Form-item>
...
...
pages/soil-alone-sample-manage/storehouse-sample-manage/AddressManage.vue
View file @
dd59d706
...
...
@@ -64,6 +64,7 @@
<!--组件加载-->
<ViewSample
ref=
"viewSample"
></ViewSample>
<ViewDetail
ref=
"viewDetail"
></ViewDetail>
<Outstock
ref=
"outStockModal"
@
on-result-change=
"_page"
></Outstock>
<FileManage
ref=
"FileManage"
@
on-result-change=
"_page"
></FileManage>
<BatchModal
ref=
"batchModal"
@
on-result-change=
"_page"
></BatchModal>
<stockSampleEdit
ref=
"editModal"
@
on-result-change=
"_page"
></stockSampleEdit>
...
...
@@ -73,6 +74,7 @@
<
script
>
import
{
soilEntrust
,
soilSample
}
from
'../../../api'
import
ViewDetail
from
'../../soil-alone-sample/ViewDetail'
import
Outstock
from
'../soil-alone-sample-outstock/Outstock'
import
ViewSample
from
'./ViewLocationEntrust'
import
stockSampleEdit
from
'./stockSampleEdit'
import
BatchModal
from
'./BatchModal'
...
...
@@ -81,7 +83,8 @@ export default {
stockSampleEdit
,
ViewSample
,
ViewDetail
,
BatchModal
BatchModal
,
Outstock
},
data
()
{
return
{
...
...
@@ -156,6 +159,9 @@ export default {
this
.
_editModal
(
false
)
})
break
case
'出库'
:
this
.
_outstock
()
break
case
'批量填写'
:
this
.
_bathChange
()
break
...
...
@@ -176,6 +182,13 @@ export default {
break
}
},
_outstock
()
{
if
(
this
.
selectIds
.
length
===
0
)
{
this
.
$Message
.
warning
(
'请至少选择一条数据'
)
}
else
{
this
.
$refs
.
outStockModal
.
_open
(
this
.
selectIds
)
}
},
_bathChange
()
{
if
(
this
.
selectIds
.
length
===
0
)
{
this
.
$Message
.
warning
(
'请至少选择一条数据'
)
...
...
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