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
1ff2b1de
Commit
1ff2b1de
authored
Mar 11, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了出库历史记录出库回撤按钮
parent
05790c15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
6 deletions
+21
-6
EntrustRegisterHis.vue
...-manage/soil-alone-sample-outstock/EntrustRegisterHis.vue
+21
-6
No files found.
pages/soil-alone-sample-manage/soil-alone-sample-outstock/EntrustRegisterHis.vue
View file @
1ff2b1de
...
@@ -6,21 +6,21 @@
...
@@ -6,21 +6,21 @@
<Row>
<Row>
<!--查询-->
<!--查询-->
<Col
span=
"24"
style=
"margin-top: 10px"
>
<Col
span=
"24"
style=
"margin-top: 10px"
>
<Form
v-show=
"searchOpen"
id=
"formId
"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<Form
id=
"formId"
v-show=
"searchOpen
"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"项目名称:"
>
<Form-item
class=
"search-item"
label=
"项目名称:"
>
<Input
v-model=
"formObj.projectName"
name=
"projectName"
placeholder=
"请输入项目名称"
clearable
@
on-enter=
"_formSearch"
/>
<Input
v-model=
"formObj.projectName"
@
on-enter=
"_formSearch"
name=
"projectName"
placeholder=
"请输入项目名称"
clearable
/>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
type=
"primary"
@
click=
"_formSearch
"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary
"
>
搜索
</Button>
</Form-item>
</Form-item>
</Form>
</Form>
</Col>
</Col>
<!--操作-->
<!--操作-->
<Col
span=
"24"
>
<Col
span=
"24"
>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:show-search-btn=
"true"
class=
"contHide
"
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:show-search-btn=
"true"
@
on-result-change=
"_btnClick
"
@
on-result-change=
"_btnClick
"
></btn-list>
class=
"contHide
"
></btn-list>
</Col>
</Col>
<!--表格-->
<!--表格-->
<Col
span=
"24"
>
<Col
span=
"24"
>
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
</div>
</div>
<keep-alive>
<keep-alive>
<!-- eslint-disable-next-line vue/require-component-is -->
<!-- eslint-disable-next-line vue/require-component-is -->
<component
:is=
"currentComponent"
ref=
"refModal
"
@
on-result-change=
"_componentResult"
></component>
<component
ref=
"refModal"
:is=
"currentComponent
"
@
on-result-change=
"_componentResult"
></component>
</keep-alive>
</keep-alive>
</div>
</div>
</template>
</template>
...
@@ -72,6 +72,11 @@ export default {
...
@@ -72,6 +72,11 @@ export default {
],
],
iconMsg
:
[
iconMsg
:
[
{
{
type
:
'ios-redo'
,
id
:
''
,
name
:
'出库撤销'
},
{
type
:
'ios-list'
,
type
:
'ios-list'
,
id
:
''
,
id
:
''
,
name
:
'查看'
name
:
'查看'
...
@@ -145,6 +150,9 @@ export default {
...
@@ -145,6 +150,9 @@ export default {
case
'编辑'
:
case
'编辑'
:
this
.
_editModal
(
true
,
data
.
id
)
this
.
_editModal
(
true
,
data
.
id
)
break
break
case
'出库撤销'
:
this
.
_outBack
(
data
.
id
)
break
case
'查看'
:
case
'查看'
:
this
.
_viewModal
(
true
,
data
.
id
)
this
.
_viewModal
(
true
,
data
.
id
)
break
break
...
@@ -172,6 +180,13 @@ export default {
...
@@ -172,6 +180,13 @@ export default {
}
}
})
})
},
},
_outBack
:
async
function
(
id
)
{
const
result
=
await
soilSample
.
outStorageBack
({
ids
:
id
})
if
(
result
)
{
this
.
$Message
.
success
(
'退回成功'
)
this
.
_page
()
}
},
_viewModal
(
edit
,
id
)
{
_viewModal
(
edit
,
id
)
{
this
.
currentComponent
=
'ViewDetail'
this
.
currentComponent
=
'ViewDetail'
if
(
edit
)
{
if
(
edit
)
{
...
...
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