| | |
| | | <view class="flex_status">{{item.qualityStateName}}</view> |
| | | </view> |
| | | <view class="content_flex"> |
| | | <view class="flex_color" style="width: 100%;">工件Id: {{item.workPieceID}}</view> |
| | | <view class="flex_color" style="width: 100%;">工件号: {{item.workPieceID}}</view> |
| | | <!-- <view class="flex_color" style="text-align: right;">当前工序: {{item.workingProcedureCurrent}}</view> --> |
| | | </view> |
| | | <view class="content_flex"> |
| | |
| | | <view class="flex_color" style="width: 100%;">当前工序: {{item.workingProcedureCurrent}}</view> |
| | | </view> |
| | | <view class="content_flex"> |
| | | <view class="flex_color" style="width: 100%;">设备Id: {{item.equipmentID}}</view> |
| | | <view class="flex_color" style="width: 100%;">设备编号: {{item.equipmentID}}</view> |
| | | </view> |
| | | </view> |
| | | </u-swipe-action-item> |
| | |
| | | data() { |
| | | return { |
| | | options: [{ |
| | | text: "删除", |
| | | text: "移除", |
| | | style: { |
| | | background: '#F08202' |
| | | } |
| | |
| | | }, |
| | | methods:{ |
| | | actionClick(opt){ |
| | | console.log('删除',opt); |
| | | uni.showModal({ |
| | | title: '提示', |
| | | content: '是否确认移除工件号"'+this.workPieceData[opt.name].workPieceID+'"?', |
| | | showCancel: true, |
| | | cancelColor: '#333333', |
| | | success: (res => { |
| | | if (res.confirm) { |
| | | console.log('移除',opt); |
| | | this.$emit('deleteData',this.workPieceData[opt.name]) |
| | | } else if (res.cancel) { |
| | | |
| | | } |
| | | }) |
| | | }); |
| | | |
| | | } |
| | | } |
| | | } |