| | |
| | | <template> |
| | | <view class="content"> |
| | | <view class="list" v-for="(item,index) in listData" :key="index"> |
| | | <!-- #ifndef MP-WEIXIN --> |
| | | <uni-card :title="'工单号:'+item.HICMOBillNo" :extra="'日期:'+item.计划日期" style="margin: 10px;" @tap="edit(item)"> |
| | | <!-- #endif --> |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <!-- FIXME: 微信小程序无法识别extra标签,需要寻找其他方法 --> |
| | | <uni-card :title="'工单号:'+item.HICMOBillNo" style="margin: 10px;" @tap="edit(item)"> |
| | | <!-- #endif --> |
| | | <view class="card-detail"> |
| | | <view class="detail" v-if="item.HMaterName" style="width: 100%;"> |
| | | <text>产品名称:</text>{{item.HMaterName}} |
| | |
| | | <view class="detail" v-if="item.HICMOStatus"> |
| | | <text>当前状态:</text>{{item.HICMOStatus}} |
| | | </view> |
| | | <!-- <view class="detail" v-if="item.领料状态"> |
| | | <view class="detail" v-if="item.领料状态"> |
| | | <text>领料状态:</text>{{item.领料状态}} |
| | | </view> --> |
| | | |
| | | < <view class="detail" v-if="item['领料状态']" > |
| | | <text>领料状态:</text> {{item['领料状态']}} |
| | | </view> |
| | | |
| | | |
| | | <view class="detail" style="width: 100%;display: flex;align-items: center;"> |
| | | <text>生产进度:</text> |
| | | <zui-progress-bar :value="item.percent" :width="220" type="follow-left" /> |
| | | <zui-progress-bar :value="item.percent" :width="220" type="follow-left"/> |
| | | </view> |
| | | </view> |
| | | </uni-card> |