| | |
| | | <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; |
| | | height:40.05pt'>项目名称</td> |
| | | <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; |
| | | border-left:none'> </td> |
| | | border-left:none'> |
| | | <p class="MsoNormal" align="center" style="text-align:center"> |
| | | <span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="deviceStr"></span></p> |
| | | </td> |
| | | <td class=xl6924921 style='border-top:none;border-left:none'>产品名称</td> |
| | | <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; |
| | | border-left:none'> </td> |
| | | border-left:none'> |
| | | <p class="MsoNormal" align="center" style="text-align:center"> |
| | | <span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="product"></span></p> |
| | | </td> |
| | | </tr> |
| | | <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> |
| | | <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; |
| | |
| | | |
| | | <script> |
| | | export default { |
| | | |
| | | props:{ |
| | | formData:{ |
| | | type: Object, |
| | | default:()=>{ |
| | | return {} |
| | | } |
| | | } |
| | | }, |
| | | data(){ |
| | | return{ |
| | | tableData: null, |
| | | projectList: [], |
| | | deviceStr: null, |
| | | product:null, |
| | | childrenData: [], |
| | | } |
| | | }, |
| | | created(){ |
| | | this.tableData = this.formData |
| | | console.log("============",this.tableData) |
| | | this.initData() |
| | | // this.initProjectList(this.projectList) |
| | | }, |
| | | methods:{ |
| | | initData(){ |
| | | this.deviceStr = this.tableData.projectName |
| | | this.product = this.tableData.material |
| | | }, |
| | | }, |
| | | watch:{ |
| | | formData(newVal){ |
| | | if(newVal){ |
| | | this.projectList = [] |
| | | console.log(newVal) |
| | | this.tableData = newVal |
| | | this.initData() |
| | | // this.initProjectList(this.projectList) |
| | | } |
| | | } |
| | | }, |
| | | } |
| | | </script> |
| | | |