| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <template>
- <view>
- <view class="material ">
- <view class="content_table">
- <view class="item">
- <view class="lable rx-cc">工序名称</view>
- <view class="content">
- {{item.taskNameLast}}
- </view>
- </view>
- <view class="item ">
- <view class="lable rx-cc">合格数量</view>
- <view class="content rx-sc">
- <view>{{ item.formedNum }}</view>
- <view class="unit">{{ item.unit }}</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- props: {
- item: {
- type: Object,
- default: () => {}
- },
- },
- watch: {
- },
- data() {
- return {
- }
- },
- created() {
- },
- methods: {
- }
- }
- </script>
- <style lang="scss" scoped>
- .material {
- margin-top: 40rpx;
- .content_table {
- width: 100%;
- border: 2rpx solid $border-color;
- .item {
- display: flex;
- border-bottom: 2rpx solid $border-color;
- .lable {
- width: 156rpx;
- text-align: center;
- background-color: #F7F9FA;
- font-size: 26rpx;
- border-right: 2rpx solid $border-color;
- flex-shrink: 0;
- }
- .lable150 {
- width: 156rpx !important;
- font-size: 24rpx;
- }
- .ww80 {
- width: 80rpx;
- }
- .content {
- width: 518rpx;
- min-height: 64rpx;
- font-size: 28rpx;
- line-height: 28rpx;
- font-style: normal;
- font-weight: 400;
- padding: 18rpx 8rpx;
- box-sizing: border-box;
- word-wrap: break-word;
- flex-grow: 1 !important;
- .unit {
- padding: 0 4rpx;
- font-size: 24rpx;
- color: #404446;
- }
- .penalize {
- width: 200rpx;
- line-height: 60rpx;
- background: $theme-color;
- font-size: 24rpx;
- text-align: center;
- color: #fff;
- }
- }
- .pd4 {
- padding: 4rpx 8rpx;
- }
- &:last-child {
- border-bottom: none;
- }
- }
- .ww55 {
- width: 55%;
- }
- .ww45 {
- width: 45%;
- }
- }
- }
- </style>
|