| | |
| | | <div style="width: 100%;height: 100%;" v-if="activeFace >0"> |
| | | <Add :active="activeFace" :currentId="currentId"/> |
| | | </div> |
| | | <Inspection v-if="state==1" @goback="state=0" :orderId="orderId"/> |
| | | <Inspection v-if="state==1" @goback="goback" :orderId="orderId"/> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | id: '', |
| | | font: '检验', |
| | | type: 'text', |
| | | method: 'handleInspection' |
| | | method: 'handleInspection', |
| | | disabFun: (row, index) => { |
| | | return row.userId == null |
| | | } |
| | | }, { |
| | | id: '', |
| | | font: '交接', |
| | |
| | | activeFace: 0, //1:下单,2:查看,3:审核 |
| | | currentId: null, |
| | | entityCopy: {}, |
| | | orderId: 0 |
| | | orderId: 0, |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | playOrder(num) { |
| | | this.activeFace = num |
| | | }, |
| | | goback() { |
| | | this.state = 0 |
| | | this.refreshTable() |
| | | }, |
| | | handleInspection(row){ |
| | | this.state = 1; |
| | | this.orderId = row.id |