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
caf8ca7b
Commit
caf8ca7b
authored
Jun 12, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
ced42538
666c80fc
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
26 deletions
+40
-26
dataGrid.vue
components/page/dataGrid.vue
+8
-3
orderlist.vue
pages/produce/orderlist.vue
+27
-21
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 @
caf8ca7b
...
...
@@ -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/produce/orderlist.vue
View file @
caf8ca7b
...
...
@@ -37,7 +37,7 @@
<Col
:span=
"4"
>
<div
class=
"sanjiao"
:style=
"tdStyle(row.status)"
></div>
<div
class=
"box"
>
<div
class=
"text"
style=
"font-size:4px;font-weight:normal"
>
<div
class=
"text"
>
<state
code=
"taskList.status"
ref=
"state"
...
...
@@ -217,7 +217,15 @@ export default {
search
()
{
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
);
},
toExecute
(
id
,
orderId
,
executeId
,
headid
,
routingDetailId
,
quantity
,
status
)
{
toExecute
(
id
,
orderId
,
executeId
,
headid
,
routingDetailId
,
quantity
,
status
)
{
//跳转到对应操作页面 获取id:this.$route.query.id
this
.
$router
.
push
({
path
:
"/produce/execute"
,
...
...
@@ -315,11 +323,11 @@ export default {
height: calc(100vh - 110px);
.body {
background: white;
border-radius: 4px;
border-radius: 4px
0 4px 4px
;
border: #cacbd0 solid 1px;
margin-bottom: 30px;
.title-i {
padding: 0 8px;
padding: 0
0 0
8px;
height: 38px;
line-height: 38px;
color: #2680eb;
...
...
@@ -352,32 +360,30 @@ export default {
box-shadow: 0 0 10px #888888;
}
}
.sanjiao {
margin: 38px;
height: 0px;
width: 0px;
border-left: solid 60px transparent;
position: absolute;
right: -46px;
top: -38px;
width: 0;
border-left: solid 50px transparent;
float: right;
margin-right:-1px;
}
.box {
color: white;
width: 80px;
height: 30px;
overflow: hidden;
float: right;
margin-top: -42px;
/* Rotate div */
transform: rotate(3
3
deg);
-ms-transform: rotate(3
3
deg); /* Internet Explorer */
-moz-transform: rotate(3
3
deg); /* Firefox */
-webkit-transform: rotate(3
3
deg); /* Safari 和 Chrome */
-o-transform: rotate(3
3
deg); /* Opera */
transform: rotate(3
7
deg);
-ms-transform: rotate(3
7
deg); /* Internet Explorer */
-moz-transform: rotate(3
7
deg); /* Firefox */
-webkit-transform: rotate(3
7
deg); /* Safari 和 Chrome */
-o-transform: rotate(3
7
deg); /* Opera */
.text {
position: absolute;
left: 32px;
top: -13px;
font-size: 8px;
font-weight: normal;
}
}
.rowBottom .ivu-col-span-10 {
height: 24px;
padding-right: 10px;
...
...
pages/resource/material/placode/index.vue
View file @
caf8ca7b
<
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 @
caf8ca7b
...
...
@@ -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 @
caf8ca7b
...
...
@@ -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 @
caf8ca7b
<
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 @
caf8ca7b
...
...
@@ -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