Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
648bd947
Commit
648bd947
authored
Jun 12, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
StoreHouse/type
parent
ebc06c43
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
5 deletions
+13
-5
dataGrid.vue
components/page/dataGrid.vue
+8
-3
index.vue
pages/resource/material/placode/index.vue
+1
-1
inventory.vue
pages/resource/material/placode/inventory.vue
+1
-0
inventory.vue
pages/resource/material/powder/inventory.vue
+1
-0
index.vue
pages/resource/material/scraper/index.vue
+1
-1
inventory.vue
pages/resource/material/scraper/inventory.vue
+1
-0
No files found.
components/page/dataGrid.vue
View file @
648bd947
...
...
@@ -104,7 +104,7 @@
<FooterToolbar
v-if=
"batch"
v-show=
"footerToolbar"
>
<div
class=
"tip"
>
已选
{{
selectItems
.
length
}}
项
</div>
<slot
name=
"batch"
></slot>
<Button
@
click=
"
footerToolbar=false
"
>
取消
</Button>
<Button
@
click=
"
cancelBatch
"
>
取消
</Button>
</FooterToolbar>
</div>
</
template
>
...
...
@@ -296,8 +296,8 @@ export default {
}
if
(
this
.
action
)
{
//条件初始化处理。
if
(
this
.
initsearch
)
{
this
.
initsearch
(
this
.
search
)
if
(
this
.
initsearch
)
{
this
.
initsearch
(
this
.
search
)
;
}
this
.
$api
.
post
(
this
.
action
,
this
.
search
).
then
(
r
=>
{
if
(
this
.
format
)
{
...
...
@@ -484,6 +484,11 @@ export default {
},
selectAll
(
status
)
{
this
.
$refs
.
table
.
selectAll
(
status
);
},
//批量取消
cancelBatch
()
{
this
.
footerToolbar
=
false
;
this
.
$refs
.
table
.
selectAll
(
false
);
}
},
computed
:
{
...
...
pages/resource/material/placode/index.vue
View file @
648bd947
<
template
>
<Layout
class=
"full"
>
<Sider
hide-trigger
:style=
"
{background: '#fff'}" class="menu" width="240" style=" flex:0;">
<StoreHouseLeft
@
storeIds=
"storeIds"
:type=
'
1
'
></StoreHouseLeft>
<StoreHouseLeft
@
storeIds=
"storeIds"
:type=
'
2
'
></StoreHouseLeft>
</Sider>
<Content
class=
"content"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:conditions=
"easySearch"
:height=
"tdHeight"
>
...
...
pages/resource/material/placode/inventory.vue
View file @
648bd947
...
...
@@ -51,6 +51,7 @@
:show
.
sync=
"showStoreHouseTree"
:value
.
sync=
"conditions.storeId.value"
:text
.
sync=
"conditions.storeTitle.value"
:type=
'2'
/>
</div>
</template>
...
...
pages/resource/material/powder/inventory.vue
View file @
648bd947
...
...
@@ -51,6 +51,7 @@
:show
.
sync=
"showStoreHouseTree"
:value
.
sync=
"conditions.storeId.value"
:text
.
sync=
"conditions.storeTitle.value"
:type=
'1'
/>
</div>
</template>
...
...
pages/resource/material/scraper/index.vue
View file @
648bd947
<
template
>
<Layout
class=
"full"
>
<Sider
hide-trigger
:style=
"
{background: '#fff'}" class="menu" width="240" style=" flex:0;">
<StoreHouseLeft
@
storeIds=
"storeIds"
c
></StoreHouseLeft>
<StoreHouseLeft
@
storeIds=
"storeIds"
:type=
'3'
></StoreHouseLeft>
</Sider>
<Content
class=
"content"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:conditions=
"easySearch"
:height=
"tdHeight"
>
...
...
pages/resource/material/scraper/inventory.vue
View file @
648bd947
...
...
@@ -51,6 +51,7 @@
:show
.
sync=
"showStoreHouseTree"
:value
.
sync=
"conditions.storeId.value"
:text
.
sync=
"conditions.storeTitle.value"
:type=
'3'
/>
</div>
</template>
...
...
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