wyh 1 year ago
parent
commit
cf125bfc1a
1 changed files with 13 additions and 8 deletions
  1. 13 8
      itdmWeb/src/views/module-iTDM/itdmYeWu/itdmXmShuru.vue

+ 13 - 8
itdmWeb/src/views/module-iTDM/itdmYeWu/itdmXmShuru.vue

@@ -17,8 +17,8 @@
                 <input v-model="tableData.kehuHangye" style="text-align: center; max-width: 130px" />
               </td> -->
               <td style="max-width: 130px">
-                {{ tableData.kehuMingcheng }}
-                <!-- <input v-model="tableData.kehuMingcheng" style="text-align: center; max-width: 130px" /> -->
+                {{ tableData.weituoClient }}
+                <!-- <input v-model="tableData.weituoClient" style="text-align: center; max-width: 130px" /> -->
               </td>
             </tr>
           </table>
@@ -85,10 +85,11 @@
       <tr>
         <td class="title">客户<br />联系信息</td>
         <td class="content">
-          姓名:<input style="width: 110px" v-model="tableData.kehuName" /> 电话:<input
+          <!-- 姓名:<input style="width: 110px" v-model="tableData.kehuName" /> 电话:<input
             style="width: 150px"
             v-model="tableData.kehuPhone"
-          />
+          /> -->
+          姓名:{{ tableData.weituoLxr }}  电话:{{ tableData.weituoPhone }}
         </td>
         <td class="title">合同编号</td>
         <td class="content">
@@ -206,7 +207,9 @@ export default {
   data() {
     return {
       tableData: {
-        kehuMingcheng: undefined,
+        weituoClient: undefined,
+        weituoLxr: undefined,
+        weituoPhone: undefined,
         xnJiesuanPrice: [{}],
       },
       equipmentOptions: [],
@@ -216,8 +219,8 @@ export default {
     // console.log(11111,this.tableData1)
     // const a = JSON.parse(JSON.stringify(this.tableData1))
     // console.log(a)
-    // this.tableData.kehuMingcheng =JSON.parse(JSON.stringify(this.tableData1[0].itdmWeituoInfo.weituoClient))
-    // this.tableData.kehuMingcheng =this.tableData1[0].itdmWeituoInfo.weituoClient
+    // this.tableData.weituoClient =JSON.parse(JSON.stringify(this.tableData1[0].itdmWeituoInfo.weituoClient))
+    // this.tableData.weituoClient =this.tableData1[0].itdmWeituoInfo.weituoClient
     this.getDevicePrice()
   },
   computed: {
@@ -230,7 +233,9 @@ export default {
       handler(newV, oldV){
         if(newV){
           console.log(newV[0].itdmWeituoInfo, oldV)
-          this.tableData.kehuMingcheng =newV[0].itdmWeituoInfo.weituoClient
+          this.tableData.weituoClient =newV[0].itdmWeituoInfo.weituoClient
+          this.tableData.weituoLxr =newV[0].itdmWeituoInfo.weituoLxr
+          this.tableData.weituoPhone =newV[0].itdmWeituoInfo.weituoPhone
         }
       },
       deep: true,