| | |
| | | <view class="card-header"> |
| | | <text class="badge urgent" v-if="item.urgentFlag == 1">急料</text> |
| | | <text class="badge urgent" v-if="item.jycs == 1">超时</text> |
| | | |
| | | <text class="badge normal" v-if="item.ftype == 1">委外</text> |
| | | <text class="badge normal" v-if="item.first == 1">首次来料</text> |
| | | <text class="card-title">检验单号: {{item.releaseNo}}</text> |
| | | <text class="status pending" v-if="item.userName==null && item.activeTab==0">待分配</text> |
| | | <view v-if="item.userName == null && item.activeTab == 0"> |
| | | <text class="status pending" :class="{ 'emergency-pending': item.lotNo1 === '紧急放行,请勿验退!' }"> |
| | | {{ item.lotNo1 === '紧急放行,请勿验退!' ? '紧急放行/待分配' : '待分配' }} |
| | | </text> |
| | | |
| | | </view> |
| | | <text class="status assigned" v-if="item.userName!=null && item.activeTab==0">已分配</text> |
| | | <text class="status pass" v-if="item.fcheckResu=='合格' && item.activeTab==1">合格</text> |
| | | <text class="status Unqualified" v-if="item.fcheckResu=='不合格' && item.activeTab==1">不合格</text> |
| | |
| | | result: result, |
| | | SearchValue: this.searchValue, |
| | | selectedIndex: this.optionsIndex, //下拉框筛选条件 |
| | | userIndex: this.projectIndex |
| | | userIndex: this.projectIndex, |
| | | emergency:this.meergency, |
| | | } |
| | | }).then(res => { |
| | | if (this.pageIndex === 1) { |
| | |
| | | this.inspectionList.forEach((item, index) => { |
| | | this.$set(item, 'activeTab', this.activeTab); |
| | | this.$set(item, 'IQCJL', this.IQCJL); |
| | | this.$set(item, 'EMERGENCY', item.emergency || null); |
| | | }); |
| | | } else { |
| | | |
| | |
| | | this.inspectionList.forEach((item, index) => { |
| | | this.$set(item, 'activeTab', this.activeTab); |
| | | this.$set(item, 'IQCJL', this.IQCJL); |
| | | this.$set(item, 'EMERGENCY', item.emergency || null); |
| | | }); |
| | | } |
| | | |
| | |
| | | color: white; |
| | | } |
| | | |
| | | .badge.emergency { |
| | | background-color: #ff4d4f; |
| | | color: white; |
| | | margin-right: 5px; |
| | | } |
| | | |
| | | .status { |
| | | font-size: 12px; |
| | | padding: 4px 8px; |
| | |
| | | order: 4; |
| | | width: 100%; |
| | | } */ |
| | | .status.emergency-pending { |
| | | background-color: #ff0000; /* 红色背景 */ |
| | | color: white; |
| | | } |
| | | } |
| | | </style> |