浏览代码

新增功能优化

曹鹤洋 1 年之前
父节点
当前提交
134c3cdf1a
共有 2 个文件被更改,包括 8 次插入41 次删除
  1. 4 7
      src/view/performance/Manualdocuments.vue
  2. 4 34
      src/view/performance/Packagingoutput.vue

+ 4 - 7
src/view/performance/Manualdocuments.vue

@@ -1583,14 +1583,11 @@ let table=ref(5);
 let lastCellValue=ref()
 // 双击表格操作
 function doubleClick(row, column, event) {
-  type.value = 'update';
-  		  lastCellValue= row['UniqId'];
-  		 console.log(lastCellValue)
-  	 table.value=lastCellValue
-  	 	 dialogFormVisible.value = true
-  		// dialogSelectVisible.value = true
+	type.value = 'update';
+  	lastCellValue= row['UniqId'];
+  	table.value=lastCellValue
+  	dialogFormVisible.value = true
     GetInfo(table.value)
-  // dialogFormVisible.value = true
 }
 // 单击表格操作
 function Click(row, column, event) {

+ 4 - 34
src/view/performance/Packagingoutput.vue

@@ -849,43 +849,13 @@ const enterDialog = async () => {
 let lastCellValue=ref()
 // 双击表格操作
 function doubleClick(row) {
-  
-     // console.log(row, column, event);
-       // updateCompanyFunc(row);
-       type.value = 'update';     
-	   lastCellValue= row['UniqId'];
-		 console.log(lastCellValue)
-		 table.value=lastCellValue
-       getpickInfo(table.value)
+    type.value = 'update';
+    getpickInfo(row['UniqId'])
+	dialogFormVisible.value = true
 }
 // 单击表格操作
 function Click(row, column, event) {
-    lastCellValue= row['UniqId'];
-   console.log(lastCellValue)
-  // if(row['table_type']=='db_sczl'){
-  // 	 dialogFormVisible.value = true
-  // 	 GetInfo(table.value)
-  // }else{
-	 //  console.log('此数据不展示详细信息')
-  // }  
-}
-
-function GxMcdoubleClick(row) {
-
-   GxMcvalue=row
-   closegetGxMcshow()
-   console.log(GxMcvalue.Gd_cpmc)
-   
-   
-   
-   // 根据 response.data.length 的值动态给 formData 中的变量赋值
-   let Bname = 'Gd_cpmc' + inputname.value;
-   let Bname2= 'sczl_gxmc' + inputname.value;
-   let Bname3 = 'sczl_yjGx' + inputname.value;
-   formData.value[Bname] =GxMcvalue.Gd_cpmc; // 假设要赋的值是 123
-   formData.value[Bname2] = GxMcvalue.Gy0_gxmc;
-   formData.value[Bname3] = GxMcvalue.jyGx;
-   
+    lastCellValue= row['UniqId'];  
 }
 
 // 导出excel