|
@@ -209,6 +209,13 @@ class LabourRequestAddController extends GetxController with DioCancelableMixin
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if (state.selectRequestTypeId == "1") {
|
|
|
+ if (Utils.isEmpty(state.selectPositionId)) {
|
|
|
+ ToastEngine.show("Select Position".tr);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
// 获取所有 AgencyNeedNumberEntity
|
|
|
List<AgencyNeedNumberEntity> agencyEntities = state.agencyKeys.map((key) {
|
|
|
return key.currentState!.getAgencyNeedNumberEntity();
|