|
@@ -153,23 +153,23 @@ class _HealthInfoPanel extends GetView<PatientInfoController> {
|
|
|
label: "证件号",
|
|
|
content: controller.state.cardNo,
|
|
|
onTap: () async {
|
|
|
- print("点击修改证件号");
|
|
|
- final result = await VDialogInput(
|
|
|
- title: "证件号",
|
|
|
- initialValue: controller.state.cardNo,
|
|
|
- placeholder: "请填写证件号",
|
|
|
- ).show();
|
|
|
- if (result != null && result is String) {
|
|
|
- // 校验身份证号
|
|
|
- bool validate = IdCardHelper.validateIDCard(result);
|
|
|
- if (!validate) {
|
|
|
- PromptBox.toast("身份证号码格式错误");
|
|
|
- return;
|
|
|
- }
|
|
|
- controller.state.cardNo = result;
|
|
|
- }
|
|
|
+ // print("点击修改证件号");
|
|
|
+ // final result = await VDialogInput(
|
|
|
+ // title: "证件号",
|
|
|
+ // initialValue: controller.state.cardNo,
|
|
|
+ // placeholder: "请填写证件号",
|
|
|
+ // ).show();
|
|
|
+ // if (result != null && result is String) {
|
|
|
+ // // 校验身份证号
|
|
|
+ // bool validate = IdCardHelper.validateIDCard(result);
|
|
|
+ // if (!validate) {
|
|
|
+ // PromptBox.toast("身份证号码格式错误");
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ // controller.state.cardNo = result;
|
|
|
+ // }
|
|
|
},
|
|
|
- endIcon: _buildEndIcon(isEdit: true),
|
|
|
+ endIcon: _buildEndIcon(isEdit: false),
|
|
|
),
|
|
|
),
|
|
|
Obx(
|