Browse Source

3

调味吧台
fyf 1 year ago
parent
commit
8e0e61bc66
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      app/src/main/java/com/example/bpa/view/from/add_pf_activity.java

+ 6
- 0
app/src/main/java/com/example/bpa/view/from/add_pf_activity.java View File

@@ -252,6 +252,12 @@ public class add_pf_activity extends AppCompatActivity implements View.OnClickLi
T.show(this, "配方信息不能为空!"); T.show(this, "配方信息不能为空!");
return; return;
} }

if(fzlist_spinner.getSelectedItem().toString().isEmpty())
{
T.show(this, "分组不能为空!");
return;
}
String name = edittext.getText().toString(); String name = edittext.getText().toString();
if (good == null)//新增 if (good == null)//新增
{ {


Loading…
Cancel
Save