| | |
| | | |
| | | <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> |