|
@@ -611,10 +611,14 @@ class LabourRequestAddController extends GetxController with DioCancelableMixin
|
|
|
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ // 回显 location
|
|
|
+ state.location = state.showTemplateData?.location.toString();
|
|
|
+ var locationController = state.formData['location']!['controller'];
|
|
|
+ locationController.text = state.location??'';
|
|
|
+
|
|
|
// 回显 国家 城市 location
|
|
|
if(state.showTemplateData?.countryId != null){
|
|
|
- state.location = state.showTemplateData?.location.toString();
|
|
|
-
|
|
|
state.selectedCountryStr = state.showTemplateData?.countryList?.firstWhere(
|
|
|
(element) => element.id.toString() == state.showTemplateData?.countryId.toString(),
|
|
|
orElse: () => UkLabReqShowTemplateCountryList(),
|