Explorar o código

chore: 清理代码和调试语句

yusheng hai 2 meses
pai
achega
9a64b21e79
Modificáronse 1 ficheiros con 1 adicións e 8 borrados
  1. 1 8
      src/views/recordComponents/programRulesDialog.vue

+ 1 - 8
src/views/recordComponents/programRulesDialog.vue

@@ -139,7 +139,6 @@
               multiple
               filterable
               @change="executeIdListChange"
-              key="executeIdList"
             >
               <el-option
                 v-for="item in executorList"
@@ -1025,6 +1024,7 @@
       // 提交
       submit() {
         console.log('this.addForm', this.addForm);
+        return
         this.$refs.formRef.validate(async (valid) => {
           if (valid) {
             if (!this.addForm.detailList?.length) {
@@ -1239,7 +1239,6 @@
       handleAdd(row, index) {
         this.currentRow = row;
         this.currentIndex = index;
-
         if (this.addForm.associatedObject == 1) {
           this.$refs.toolModalRef.open(row.toolCodes);
         } else {
@@ -1249,8 +1248,6 @@
             this.addForm.deviceCode
           );
         }
-
-        //   this.currentRow = row;
       },
       bindSubstanceListOpen() {
         this.currentIndex = 9999;
@@ -1309,10 +1306,6 @@
       // 清空工具
       clearTool(row, index) {
         substanceKey.forEach((key) => {
-          console.log(
-            this.addForm.detailList[index],
-            'this.addForm.detailList[index]'
-          );
           this.$set(this.addForm.detailList[index], key, '');
         });
       },