| | |
| | | <div style="width: 100%;height: 100%;" v-if="activeFace >0"> |
| | | <Add :active="activeFace" :currentId="currentId"/> |
| | | </div> |
| | | <Inspection v-if="state==1" @goback="state=0"/> |
| | | <Inspection v-if="state==1" @goback="state=0" :orderId="orderId" :sonLaboratory="componentData.entity.sonLaboratory"/> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | state:0,//0:台账页,1:检验页面,默认为0 |
| | | activeFace: 0, //1:下单,2:查看,3:审核 |
| | | currentId: null, |
| | | entityCopy: {} |
| | | entityCopy: {}, |
| | | orderId: 0 |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | }, |
| | | handleInspection(row){ |
| | | this.state = 1; |
| | | this.orderId = row.id |
| | | } |
| | | } |
| | | } |