|
...
|
...
|
@@ -70,8 +70,14 @@ class _RoomTypeCreatePageState extends State<RoomTypeCreatePage> { |
|
|
|
_minMoneyController.text = sunModel.low;
|
|
|
|
|
|
|
|
sunModel.status == '1' ? swichState = true : swichState = false;
|
|
|
|
|
|
|
|
tableListSel = sunModel.tableid != null ? sunModel.tableid : '';
|
|
|
|
selectNum = sunModel.surplus == null || sunModel.surplus == ''||sunModel.surplus == 'null'
|
|
|
|
if (tableListSel.endsWith(',')) {
|
|
|
|
tableListSel = tableListSel.substring(0, tableListSel.length - 1);
|
|
|
|
}
|
|
|
|
selectNum = sunModel.surplus == null ||
|
|
|
|
sunModel.surplus == '' ||
|
|
|
|
sunModel.surplus == 'null'
|
|
|
|
? '不通知'
|
|
|
|
: sunModel.surplus;
|
|
|
|
List<String> numList = ['不通知'];
|
|
...
|
...
|
@@ -94,6 +100,9 @@ class _RoomTypeCreatePageState extends State<RoomTypeCreatePage> { |
|
|
|
Utils.showToast('请填写标准可坐人数');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (tableListSel.endsWith(',')) {
|
|
|
|
tableListSel = tableListSel.substring(0, tableListSel.length - 1);
|
|
|
|
}
|
|
|
|
Map<String, String> params = {
|
|
|
|
'sellerid': Provider.of<UserModel>(context, listen: false).user.sellerid,
|
|
|
|
'name': _nameController.text,
|
...
|
...
|
|