浏览代码

切换方法

tanxue 1 月之前
父节点
当前提交
d1b3e8a4bc
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      pages/admin/Hetong/components/addKh.vue

+ 4 - 0
pages/admin/Hetong/components/addKh.vue

@@ -60,6 +60,10 @@ function handleShow() {
   popupRef.value.open();
 }
 
+function idCardChange(data) {
+	formData.idtype = formData.idtype == 1 ? 2 : 1;
+}
+
 // 保存
 function saveBtn(){
 	htAdd();