生箔工序样式优化,返回顶部
This commit is contained in:
@@ -282,7 +282,6 @@ uni-button:after {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
box-shadow: 3px 0px 3px 0px rgba(160,160,160,0.20);
|
box-shadow: 3px 0px 3px 0px rgba(160,160,160,0.20);
|
||||||
}
|
}
|
||||||
|
|
||||||
.slide_new table td.td_2 {
|
.slide_new table td.td_2 {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
left: 86rpx;
|
left: 86rpx;
|
||||||
@@ -297,12 +296,23 @@ uni-button:after {
|
|||||||
color: #d7592f;
|
color: #d7592f;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
.slide_new table tr.checked {
|
||||||
|
background-image: linear-gradient(to top,#c2cde3,#f6f7fb);
|
||||||
|
}
|
||||||
.slide_new table tr.checked td {
|
.slide_new table tr.checked td {
|
||||||
background-color: #f0c560;
|
background: transparent;
|
||||||
color: #fff;
|
|
||||||
}
|
}
|
||||||
.slide_new table tr.checked td:first-child {
|
.slide_new table tr.checked td:first-child {
|
||||||
border-left: 6rpx solid #ff8227;
|
background-image: linear-gradient(to top,#c2cde3,#f6f7fb);
|
||||||
|
}
|
||||||
|
.slide_new table tr.checked td:nth-child(2) {
|
||||||
|
background-image: linear-gradient(to top,#c2cde3,#f6f7fb);
|
||||||
|
}
|
||||||
|
.slide_new table tr.checked td:first-child {
|
||||||
|
border-left: 1rpx solid #6798ef;
|
||||||
|
}
|
||||||
|
.slide_new table tr.checked td:last-child {
|
||||||
|
border-right: 1rpx solid #6798ef;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 提交栏 **/
|
/** 提交栏 **/
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>状态</th>
|
<th>状态</th>
|
||||||
<th>母卷号</th>
|
<th class="th_2">母卷号</th>
|
||||||
<th>工单号</th>
|
<th>工单号</th>
|
||||||
<th>机台编码</th>
|
<th>机台编码</th>
|
||||||
<th>产品编码</th>
|
<th>产品编码</th>
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.container_name === pkId}">
|
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.container_name === pkId}">
|
||||||
<td>{{e.status_name}}</td>
|
<td>{{e.status_name}}</td>
|
||||||
<td>{{e.container_name}}</td>
|
<td class="td_2">{{e.container_name}}</td>
|
||||||
<td>{{e.mfg_order_name}}</td>
|
<td>{{e.mfg_order_name}}</td>
|
||||||
<td>{{e.point_code}}</td>
|
<td>{{e.point_code}}</td>
|
||||||
<td>{{e.product_name}}</td>
|
<td>{{e.product_name}}</td>
|
||||||
@@ -256,16 +256,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="stylus">
|
|
||||||
.zd_content
|
|
||||||
padding-bottom 154rpx
|
|
||||||
.slide_new table td:first-child, .slide_new table th:first-child
|
|
||||||
width 92rpx
|
|
||||||
.slide_new table td:nth-child(2), .slide_new table th:nth-child(2)
|
|
||||||
position sticky
|
|
||||||
left 89rpx
|
|
||||||
z-index 102
|
|
||||||
box-shadow 1px 0 2px rgba(0,0,0,.12)
|
|
||||||
</style>
|
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>状态</th>
|
<th>状态</th>
|
||||||
<th>母卷号</th>
|
<th class="th_2">母卷号</th>
|
||||||
<th>工单号</th>
|
<th>工单号</th>
|
||||||
<th>机台编码</th>
|
<th>机台编码</th>
|
||||||
<th>产品编码</th>
|
<th>产品编码</th>
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.container_name === pkId}">
|
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.container_name === pkId}">
|
||||||
<td>{{e.status_name}}</td>
|
<td>{{e.status_name}}</td>
|
||||||
<td>{{e.container_name}}</td>
|
<td class="td_2">{{e.container_name}}</td>
|
||||||
<td>{{e.mfg_order_name}}</td>
|
<td>{{e.mfg_order_name}}</td>
|
||||||
<td>{{e.point_code}}</td>
|
<td>{{e.point_code}}</td>
|
||||||
<td>{{e.product_name}}</td>
|
<td>{{e.product_name}}</td>
|
||||||
@@ -79,21 +79,25 @@
|
|||||||
<button class="zd-col-5 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled2" @tap="_confirmBlanking">准备就绪</button>
|
<button class="zd-col-5 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled2" @tap="_confirmBlanking">准备就绪</button>
|
||||||
<button class="zd-col-5 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled3" @tap="_finishBlanking">确认下卷</button>
|
<button class="zd-col-5 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled3" @tap="_finishBlanking">确认下卷</button>
|
||||||
</view>
|
</view>
|
||||||
|
<up-top ref="UT" :scrollTop="top"></up-top>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import NavBar from '@/components/NavBar.vue'
|
import NavBar from '@/components/NavBar.vue'
|
||||||
import SearchBox from '@/components/SearchBox.vue'
|
import SearchBox from '@/components/SearchBox.vue'
|
||||||
|
import UpTop from '@/components/upTop.vue'
|
||||||
import {queryRawFoilList, needEmptyVehicle, confirmBlanking, finishBlanking, finish} from '@/utils/getData1.js'
|
import {queryRawFoilList, needEmptyVehicle, confirmBlanking, finishBlanking, finish} from '@/utils/getData1.js'
|
||||||
import {needEmptyAxisTest, createOrder} from '@/utils/getData3.js'
|
import {needEmptyAxisTest, createOrder} from '@/utils/getData3.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
SearchBox
|
SearchBox,
|
||||||
|
UpTop
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
top: 0,
|
||||||
val1: '',
|
val1: '',
|
||||||
val2: '',
|
val2: '',
|
||||||
dataList: [],
|
dataList: [],
|
||||||
@@ -116,6 +120,9 @@
|
|||||||
pageSize: 10
|
pageSize: 10
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
onPageScroll(e) {
|
||||||
|
this.$refs.UT.topData(e.scrollTop)
|
||||||
|
},
|
||||||
created () {
|
created () {
|
||||||
// this._queryRawFoilList()
|
// this._queryRawFoilList()
|
||||||
},
|
},
|
||||||
@@ -280,16 +287,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="stylus">
|
|
||||||
.zd_content
|
|
||||||
padding-bottom 154rpx
|
|
||||||
.slide_new table td:first-child, .slide_new table th:first-child
|
|
||||||
width 92rpx
|
|
||||||
.slide_new table td:nth-child(2), .slide_new table th:nth-child(2)
|
|
||||||
position sticky
|
|
||||||
left 89rpx
|
|
||||||
z-index 102
|
|
||||||
box-shadow 1px 0 2px rgba(0,0,0,.12)
|
|
||||||
</style>
|
|
||||||
Reference in New Issue
Block a user