| | |
| | | StandardTemplate, |
| | | insOrder, |
| | | sampleOrder, |
| | | insOrderPlan |
| | | insOrderPlan |
| | | } |
| | | } |
| | | |
| | |
| | | const insOrderPlan = { |
| | | selectInsOrderPlanList: "/insOrderPlan/selectInsOrderPlanList", //查询检验任务 |
| | | claimInsOrderPlan: "/insOrderPlan/claimInsOrderPlan",//认领检验任务 |
| | | doInsOrder: "/insOrderPlan/doInsOrder",//执行检验操作 |
| | | } |
| | | |
| | | const systemLog = { |
| | |
| | | state: null |
| | | }, |
| | | productList:[], |
| | | id: 0 |
| | | id: 0, |
| | | insOrder: {}, |
| | | sampleProduct: [] |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | }, |
| | | mounted() { |
| | | |
| | | }, |
| | | watch:{ |
| | | id(val){ |
| | | this.$axios.post(this.$api.insOrderPlan.doInsOrder,{ |
| | | id: val |
| | | }).then(res=>{ |
| | | this.insOrder = res.data.insOrder |
| | | this.sampleProduct = res.data.sampleProduct |
| | | }) |
| | | } |
| | | }, |
| | | methods: { |
| | | handleChangeSample(row){ |
| | |
| | | handleChangeTask(row){ |
| | | console.log(222222222,row) |
| | | this.taskVisible = false; |
| | | } |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | |
| | | } */ |
| | | |
| | | .value-table .highlight-danger-row-border td:first-child { |
| | | border-left: 4px solid red; |
| | | border-left: 4px solid #f56c6c; |
| | | } |
| | | |
| | | .value-table .highlight-danger-row-border td:last-child { |
| | | border-right: 4px solid red; |
| | | border-right: 4px solid #f56c6c; |
| | | } |
| | | |
| | | .value-table .el-upload { |
| | |
| | | <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 |