Explorar o código

外协价格库重复提示关闭

yuhan hai 1 ano
pai
achega
b87835db9b

+ 16 - 1
src/views/module_kzks/costModelWxPrice/CostModelWxPriceList.vue

@@ -260,7 +260,22 @@ import CostModelWxRepeatList from '../costModelWxRepeat/CostModelWxRepeatList.vu
         fieldList.push({type:'string',value:'unit',text:'计量单位',dictCode:''})
         fieldList.push({type:'string',value:'remark',text:'备注',dictCode:''})
         this.superFieldList = fieldList
-      }
+      },
+      handleOk () {
+        this.close()
+        // this.$refs.realForm.submitForm();
+      },
+      // submitCallback(){
+      //   this.$emit('ok');
+      //   this.visible = false;
+      // },
+      handleCancel () {
+        this.close()
+      },
+      close () {
+        this.$emit('close');
+        this.visibleRepeat = false;
+      },
     }
   }
 </script>