| | |
| | | <style scoped> |
| | | .ins-order-plan-main .title { |
| | | .title { |
| | | height: 60px; |
| | | line-height: 60px; |
| | | } |
| | | |
| | | .ins-order-plan-main .search { |
| | | .search { |
| | | width: 100%; |
| | | margin-bottom: 10px; |
| | | height: 140px; |
| | |
| | | padding-left: 50px; |
| | | } |
| | | |
| | | .ins-order-plan-main .center { |
| | | .center { |
| | | width: calc(100% - 40px); |
| | | height: calc(100% - 60px - 80px - 40px); |
| | | background-color: #fff; |
| | |
| | | } |
| | | </style> |
| | | <style> |
| | | .ins-order-plan-main .el-form-item__label{ |
| | | .el-form-item__label{ |
| | | color: #000; |
| | | } |
| | | .el-drawer__header::before { |
| | |
| | | } |
| | | </style> |
| | | <template> |
| | | <div class="ins-order-plan-main"> |
| | | <div> |
| | | <el-row class="title"> |
| | | <el-col :span="12" style="padding-left: 20px;">样品详情</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | |
| | | |
| | | <script> |
| | | export default { |
| | | props: ['orderId'], |
| | | data() { |
| | | return { |
| | | sampleVisible:false, |
| | |
| | | sampleName: null, |
| | | state: null |
| | | }, |
| | | productList:[] |
| | | productList:[], |
| | | id: 0, |
| | | insOrder: {}, |
| | | sampleProduct: [] |
| | | } |
| | | }, |
| | | created() { |
| | | this.id = this.orderId |
| | | }, |
| | | 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> |