Commit 7229afef authored by renjintao's avatar renjintao

orderlist

parent e67943ac
...@@ -9,15 +9,17 @@ ...@@ -9,15 +9,17 @@
:batch="false" :batch="false"
type="card" type="card"
:high="false" :high="false"
:span="4" :span="6"
:lazy="true" :lazy="true"
> >
<template slot="card" slot-scope="{row}"> <template slot="card" slot-scope="{row}">
<div class="body" @click="toExecute"> <div class="body" @click="toExecute">
<Row class="title-i"> <Row class="title-i">
<Col :span="18" class="order-code">工艺编号:{{row.processcode}}</Col> <Col :span="10" class="order-code">{{row.productName}}</Col>
<Col :span="6" class="btn-click"> <Col :span="10" class="order-code">{{row.processcode}}</Col>
<State code="plan.order.status" :value="row.routing_type" /> <Col :span="4">
<div class="sanjiao"></div>
<div class="box"><div class="text" style="font-size:6px;font-weight:normal">新建</div></div>
</Col> </Col>
</Row> </Row>
<div class="panel-text"> <div class="panel-text">
...@@ -187,17 +189,19 @@ export default { ...@@ -187,17 +189,19 @@ export default {
overflow: auto; overflow: auto;
padding: 15px 0 15px 15px; padding: 15px 0 15px 15px;
.body { .body {
border: 1px solid #e4e6ed; background: white;
border-radius: 4px; border-radius: 4px;
border: #cacbd0 solid 1px;
margin-right: 8px; margin-right: 8px;
margin-bottom: 8px; margin-bottom: 8px;
.title-i { .title-i {
padding: 0 8px; padding: 0 8px;
height: 35px; height: 38px;
line-height: 35px; line-height: 38px;
color: #fff; color: #2680eb;
background: #a7b8cc; font-size: 14px;
font-size: 15px; font-weight: bold;
border-bottom: #cacbd0 dotted 1px;
.btn-click { .btn-click {
text-align: right; text-align: right;
a { a {
...@@ -209,7 +213,6 @@ export default { ...@@ -209,7 +213,6 @@ export default {
} }
} }
.panel-text { .panel-text {
background: rgba(167, 184, 204, 0.2);
padding: 5px 8px; padding: 5px 8px;
.row { .row {
height: 30px; height: 30px;
...@@ -221,4 +224,42 @@ export default { ...@@ -221,4 +224,42 @@ export default {
} }
} }
} }
.sanjiao {
width: 0;
height: 0;
border-width: 27px 27px 27px;
border-style: solid;
border-color: transparent transparent green;
transform: rotate(45deg);
-ms-transform: rotate(45deg); /* Internet Explorer */
-moz-transform: rotate(45deg); /* Firefox */
-webkit-transform: rotate(45deg); /* Safari 和 Chrome */
-o-transform: rotate(45deg); /* Opera */
position: absolute;
right: -35px;
top: -27px;
}
.box{
width:38px;
height:38px;
color: #fff;
/* Rotate div */
transform:rotate(45deg);
-ms-transform:rotate(45deg); /* Internet Explorer */
-moz-transform:rotate(45deg); /* Firefox */
-webkit-transform:rotate(45deg); /* Safari 和 Chrome */
-o-transform:rotate(45deg); /* Opera */
position: absolute;
right: -19px;
top: 0px;
.text {
position: absolute;
bottom: 0;
}
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment