Commit 8cac09feac46640533b2f468a6ecc6be911ccbad

Authored by wdn127929
1 parent 15d01726

包间类型

@@ -81,8 +81,8 @@ android { @@ -81,8 +81,8 @@ android {
81 81
82 ndk { 82 ndk {
83 //选择要添加的对应 cpu 类型的 .so 库。 83 //选择要添加的对应 cpu 类型的 .so 库。
84 - // abiFilters 'arm64-v8a', 'x86_64', 'mips64' //魅族64位,不支持32位  
85 - abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86_64','x86', 'mips', 'mips64' 84 + abiFilters 'arm64-v8a', 'x86_64', 'mips64' //魅族64位,不支持32位
  85 + // abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86_64','x86', 'mips', 'mips64'
86 } 86 }
87 87
88 lintOptions { 88 lintOptions {
@@ -70,8 +70,14 @@ class _RoomTypeCreatePageState extends State<RoomTypeCreatePage> { @@ -70,8 +70,14 @@ class _RoomTypeCreatePageState extends State<RoomTypeCreatePage> {
70 _minMoneyController.text = sunModel.low; 70 _minMoneyController.text = sunModel.low;
71 71
72 sunModel.status == '1' ? swichState = true : swichState = false; 72 sunModel.status == '1' ? swichState = true : swichState = false;
  73 +
73 tableListSel = sunModel.tableid != null ? sunModel.tableid : ''; 74 tableListSel = sunModel.tableid != null ? sunModel.tableid : '';
74 - selectNum = sunModel.surplus == null || sunModel.surplus == ''||sunModel.surplus == 'null' 75 + if (tableListSel.endsWith(',')) {
  76 + tableListSel = tableListSel.substring(0, tableListSel.length - 1);
  77 + }
  78 + selectNum = sunModel.surplus == null ||
  79 + sunModel.surplus == '' ||
  80 + sunModel.surplus == 'null'
75 ? '不通知' 81 ? '不通知'
76 : sunModel.surplus; 82 : sunModel.surplus;
77 List<String> numList = ['不通知']; 83 List<String> numList = ['不通知'];
@@ -94,6 +100,9 @@ class _RoomTypeCreatePageState extends State<RoomTypeCreatePage> { @@ -94,6 +100,9 @@ class _RoomTypeCreatePageState extends State<RoomTypeCreatePage> {
94 Utils.showToast('请填写标准可坐人数'); 100 Utils.showToast('请填写标准可坐人数');
95 return; 101 return;
96 } 102 }
  103 + if (tableListSel.endsWith(',')) {
  104 + tableListSel = tableListSel.substring(0, tableListSel.length - 1);
  105 + }
97 Map<String, String> params = { 106 Map<String, String> params = {
98 'sellerid': Provider.of<UserModel>(context, listen: false).user.sellerid, 107 'sellerid': Provider.of<UserModel>(context, listen: false).user.sellerid,
99 'name': _nameController.text, 108 'name': _nameController.text,