提交 e8f6fbed authored 作者: lgd's avatar lgd

1.修改开票/收票新增文案

2.//todo  回款管理的客户接口
上级 15be21e7
...@@ -14,6 +14,7 @@ import com.wd.workoffice.bean.event.CheckTicketEvent; ...@@ -14,6 +14,7 @@ import com.wd.workoffice.bean.event.CheckTicketEvent;
import com.wd.workoffice.bean.workEnum.PagePermissionType; import com.wd.workoffice.bean.workEnum.PagePermissionType;
import com.wd.workoffice.ui.activity.bat.store.StoreSaleClientActivity; import com.wd.workoffice.ui.activity.bat.store.StoreSaleClientActivity;
import com.wd.workoffice.util.DialogUtils; import com.wd.workoffice.util.DialogUtils;
import com.wd.workoffice.util.UserKeeper;
import com.wd.workoffice.util.WorkUtils; import com.wd.workoffice.util.WorkUtils;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;
...@@ -113,16 +114,16 @@ public class WorkFinancialReceiveTicketAddActivity extends WorkToolBarActivity { ...@@ -113,16 +114,16 @@ public class WorkFinancialReceiveTicketAddActivity extends WorkToolBarActivity {
toast("请选择订单类别"); toast("请选择订单类别");
return; return;
} }
if (depId == null) { // if (depId == null) {
toast("请先选择部门"); // toast("请先选择部门");
return; // return;
} // }
if (clientId == null) { if (clientId == null) {
toast("请先选择供应商"); toast("请先选择供应商");
return; return;
} }
startActivity(WorkChooseProductActivity.class, startActivity(WorkChooseProductActivity.class,
"orderType", tvOrder.getText().toString(), "supplier", "选择供应商", "depId", depId + "", "customerId", clientId + "", "orderType", tvOrder.getText().toString(), "supplier", "选择供应商", "depId", UserKeeper.getInstance().getUserDepId(), "customerId", clientId + "",
"customerName", tvClient.getText().toString()); "customerName", tvClient.getText().toString());
break; break;
case R.id.rl_order: case R.id.rl_order:
......
...@@ -115,16 +115,16 @@ public class WorkFinancialTicketAddActivity extends WorkToolBarActivity { ...@@ -115,16 +115,16 @@ public class WorkFinancialTicketAddActivity extends WorkToolBarActivity {
toast("请选择订单类别"); toast("请选择订单类别");
return; return;
} }
if (depId == null) { // if (depId == null) {
toast("请先选择部门"); // toast("请先选择部门");
return; // return;
} // }
if (clientId == null) { if (clientId == null) {
toast("请先选择客户"); toast("请先选择客户");
return; return;
} }
startActivity(WorkChooseProductActivity.class, startActivity(WorkChooseProductActivity.class,
"orderType", tvOrder.getText().toString(), "depId", depId+"", "customerId", clientId + "", "orderType", tvOrder.getText().toString(), "depId", UserKeeper.getInstance().getUserDepId(), "customerId", clientId + "",
"customerName", tvClient.getText().toString()); "customerName", tvClient.getText().toString());
break; break;
case R.id.rl_order: case R.id.rl_order:
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
<LinearLayout <LinearLayout
android:id="@+id/rl_dep" android:id="@+id/rl_dep"
android:visibility="gone"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
......
...@@ -82,6 +82,7 @@ ...@@ -82,6 +82,7 @@
<LinearLayout <LinearLayout
android:id="@+id/rl_dep" android:id="@+id/rl_dep"
android:visibility="gone"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论