分切上料样式优化,返回顶部

This commit is contained in:
2024-05-11 16:11:05 +08:00
parent 0b9fa1d0ec
commit 19e798f42e
2 changed files with 13 additions and 26 deletions

View File

@@ -36,7 +36,7 @@
<thead>
<tr>
<th>序号</th>
<th>母卷号</th>
<th class="th_2">母卷号</th>
<th>子卷号</th>
<th>机台编号</th>
<th>分切组</th>
@@ -55,7 +55,7 @@
<tbody>
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.container_name === pkId}">
<td>{{Number(i) + 1}}</td>
<td>{{e.source_container_name}}</td>
<td class="td_2">{{e.source_container_name}}</td>
<td>{{e.container_name}}</td>
<td>{{e.point_code}}</td>
<td>{{e.split_group}}</td>
@@ -120,20 +120,24 @@
</view>
</view>
<view v-if="active" class="msg_mask"></view>
<up-top ref="UT" :scrollTop="top"></up-top>
</view>
</template>
<script>
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import UpTop from '@/components/upTop.vue'
import {queryProductArea, feedingQueryMaterialInfo, feedingConfirm, feedingQueryPoint, feedingHandleConfirm, feedingVehicleReturn} from '@/utils/getData2.js'
export default {
components: {
NavBar,
SearchBox
SearchBox,
UpTop
},
data() {
return {
top: 0,
val1: '',
val2: '',
options: [],
@@ -160,6 +164,9 @@
disabled2: false
};
},
onPageScroll(e) {
this.$refs.UT.topData(e.scrollTop)
},
created () {
this._queryProductArea()
},
@@ -318,14 +325,4 @@
},
}
}
</script>
<style lang="stylus">
.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>
</script>