| | |
| | | <button class="action-btn small" @click="addDestruction" v-if="this.current">破坏实验</button> |
| | | <button class="action-btn small" @click="uploadImages">上传/查看图片</button> |
| | | <button class="action-btn small" @click="fetchDrawingNumber">调取PLM图纸</button> |
| | | <button class="action-btn small" @click="getBom">Bom用料清单</button> |
| | | <button class="action-btn small" @click="viewAttachmentInfo">查看附件信息</button> |
| | | <button class="action-btn small" @click="addDefectDescription" v-if="this.current">添加不良描述</button> |
| | | <button class="action-btn small primary" @click="submitInspection" v-if="this.current">检验提交</button> |
| | |
| | | <button @click="clearDestruction">清除</button> |
| | | <button @click="destructionPopup = !destructionPopup">取消</button> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="barcode"> |
| | | <u-modal :show="itemShow" title="物料明细" @confirm="drawingConfirm" @cancel="drawingCancel" |
| | | showCancelButton :z-index="1000"> |
| | | <uni-table border stripe emptyText="暂无更多数据" style="margin-left: 5px;margin-right: 5px;height: 400px;max-height: 60vh;overflow-y: auto;"> |
| | | <uni-tr> |
| | | <uni-th align="center">料号</uni-th> |
| | | <uni-th align="center" width="90">名称</uni-th> |
| | | <uni-th align="center" width="90">规格型号</uni-th> |
| | | <uni-th align="center" width="150">调取PLM图纸</uni-th> |
| | | </uni-tr> |
| | | <uni-tr v-for="(item,index) in (drawing || [])" style="height: 100px;"> |
| | | <uni-td align="center">{{item.itemNo}}</uni-td> |
| | | <uni-td align="center" style="font-size:25px;"> |
| | | <div >{{item.itemName}}</div> |
| | | </uni-td> |
| | | <uni-td align="center" style="font-size:25px;"> |
| | | <div>{{item.itemModel}}</div> |
| | | </uni-td> |
| | | <uni-td align="center" class="click-wd"> |
| | | <div @click="fetchDrawingNumber">调取图纸</div> |
| | | </uni-td> |
| | | </uni-tr> |
| | | </uni-table> |
| | | </u-modal> |
| | | </view> |
| | | |
| | | <view class="barcode"> |
| | |
| | | current: true, |
| | | drawing: [], |
| | | drawingShow: false, |
| | | itemShow: false, |
| | | badreason: '', |
| | | PSTYPE: '', |
| | | WORKSHOP: '', |
| | |
| | | this.drawingShow = false |
| | | this.imageShow = false |
| | | this.productionShow = false |
| | | this.itemShow=false |
| | | }, |
| | | drawingCancel() { |
| | | this.drawingShow = false |
| | | this.imageShow = false |
| | | this.productionShow = false |
| | | this.itemShow=false |
| | | }, |
| | | |
| | | fetchDrawingNumber() { |
| | |
| | | }); |
| | | this.drawingShow = true |
| | | }, |
| | | |
| | | |
| | | |
| | | //图纸相关文档 |
| | | openDrawings(item) { |