Commit bfb3b8bc authored by zhang_z's avatar zhang_z

Merge remote-tracking branch 'origin/master'

parents 3c14cea5 815d498a
...@@ -39,10 +39,10 @@ public class OtherSelectPresenter extends OtherSelectContract.Presenter { ...@@ -39,10 +39,10 @@ public class OtherSelectPresenter extends OtherSelectContract.Presenter {
}) })
.subscribe(osskus -> { .subscribe(osskus -> {
if (osskus.getTotalRow() == 0) { if (osskus.getTotalRow() == 0) {
ToastUtils.showShort("没有搜到当前商品,请重新输入"); ToastUtils.showShort("no find");
mView.loadOssku(osskus, nowPageNumber == 1,keyword); mView.loadOssku(osskus, nowPageNumber == 1, keyword);
}else { } else {
mView.loadOssku(osskus, nowPageNumber == 1,keyword); mView.loadOssku(osskus, nowPageNumber == 1, keyword);
} }
//判断是否能加载更多 //判断是否能加载更多
......
...@@ -126,7 +126,7 @@ public class OtherListFragment extends BaseFragment<OtherSelectPresenter, Fragme ...@@ -126,7 +126,7 @@ public class OtherListFragment extends BaseFragment<OtherSelectPresenter, Fragme
public void search(String string) { public void search(String string) {
KeyboardUtils.hideSoftInput(getActivity()); KeyboardUtils.hideSoftInput(getActivity());
if (string.length() == 0) { if (string.length() == 0) {
ToastUtils.showShort("请输入搜索内容"); ToastUtils.showShort(getActivity().getString(R.string.replenishment_toast_seachText));
return; return;
} }
......
...@@ -215,7 +215,7 @@ public class ReplenishmentDetailFragment extends BaseFragment<ReplenishmentPrese ...@@ -215,7 +215,7 @@ public class ReplenishmentDetailFragment extends BaseFragment<ReplenishmentPrese
mViewBinding.setFinallyPrice(ConvertUtil.fenToYuan(getSumPrice(), true)); mViewBinding.setFinallyPrice(ConvertUtil.fenToYuan(getSumPrice(), true));
} else { } else {
mViewBinding.setSumNum("0"); mViewBinding.setSumNum("0");
mViewBinding.setFinallyPrice("¥0.00"); mViewBinding.setFinallyPrice("---");
} }
mViewBinding.setShopOderName(LoginPresenter.loginReturnBean.getOperName()); mViewBinding.setShopOderName(LoginPresenter.loginReturnBean.getOperName());
mViewBinding.setShopName(LoginPresenter.loginReturnBean.getShopNameAbcn()); mViewBinding.setShopName(LoginPresenter.loginReturnBean.getShopNameAbcn());
......
...@@ -3,6 +3,8 @@ package com.xingdata.zzdpos.util; ...@@ -3,6 +3,8 @@ package com.xingdata.zzdpos.util;
import com.blankj.utilcode.util.StringUtils; import com.blankj.utilcode.util.StringUtils;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Currency;
import java.util.Locale;
public class ConvertUtil { public class ConvertUtil {
...@@ -62,7 +64,9 @@ public class ConvertUtil { ...@@ -62,7 +64,9 @@ public class ConvertUtil {
* @return 元 * @return 元
*/ */
public static String fenToYuan(Long fen, boolean isMonetary) { public static String fenToYuan(Long fen, boolean isMonetary) {
return (isMonetary ? "¥" : "") + fenToYuan(fen); Currency currency = Currency.getInstance(Locale.getDefault());
String symbol = currency.getSymbol();
return (isMonetary ? symbol : "") + fenToYuan(fen);
} }
/** /**
......
...@@ -86,7 +86,7 @@ public class SearchBar extends ConstraintLayout { ...@@ -86,7 +86,7 @@ public class SearchBar extends ConstraintLayout {
if (i == EditorInfo.IME_ACTION_SEARCH) { if (i == EditorInfo.IME_ACTION_SEARCH) {
String str = mViewBinding.etSearch.getText().toString(); String str = mViewBinding.etSearch.getText().toString();
if (StringUtils.isEmpty(str) && !isEmptyEnabled) { if (StringUtils.isEmpty(str) && !isEmptyEnabled) {
ToastUtils.showShort("请输入搜索内容"); ToastUtils.showShort(getActivity().getString(R.string.replenishment_toast_seachText));
return true; return true;
} }
KeyboardUtils.hideSoftInput(mViewBinding.etSearch); KeyboardUtils.hideSoftInput(mViewBinding.etSearch);
...@@ -97,7 +97,7 @@ public class SearchBar extends ConstraintLayout { ...@@ -97,7 +97,7 @@ public class SearchBar extends ConstraintLayout {
mViewBinding.tvSearch.setOnClickListener(view -> { mViewBinding.tvSearch.setOnClickListener(view -> {
String str = mViewBinding.etSearch.getText().toString(); String str = mViewBinding.etSearch.getText().toString();
if (StringUtils.isEmpty(str) && !isEmptyEnabled) { if (StringUtils.isEmpty(str) && !isEmptyEnabled) {
ToastUtils.showShort("请输入搜索内容"); ToastUtils.showShort(getActivity().getString(R.string.replenishment_toast_seachText));
this.showSoftInput(); this.showSoftInput();
return; return;
} }
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android" <layout xmlns:app="http://schemas.android.com/apk/res-auto">
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<data> <data>
<import type="android.view.View" /> <import type="android.view.View" />
<variable <variable
name="sumNum" name="sumNum"
type="String" /> type="String" />
<variable <variable
name="finallyPrice" name="finallyPrice"
type="String" /> type="String" />
<variable <variable
name="isShowSupplier" name="isShowSupplier"
type="Boolean" /> type="Boolean" />
<variable <variable
name="isShowBar" name="isShowBar"
type="Boolean" /> type="Boolean" />
<variable <variable
name="shopOderName" name="shopOderName"
type="String" /> type="String" />
<variable <variable
name="shopName" name="shopName"
type="String" /> type="String" />
<variable <variable
name="shopAddress" name="shopAddress"
type="String" /> type="String" />
<variable <variable
name="shopTel" name="shopTel"
type="String" /> type="String" />
<variable <variable
name="supplierName" name="supplierName"
type="String" /> type="String" />
<variable <variable
name="supplierAddress" name="supplierAddress"
type="String" /> type="String" />
<variable <variable
name="supplierTel" name="supplierTel"
type="String" /> type="String" />
<variable <variable
name="date" name="date"
type="String" /> type="String" />
<variable <variable
name="no" name="no"
type="String" /> type="String" />
</data> </data>
<RelativeLayout <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/white_caocao" android:background="@color/white_caocao"
android:splitMotionEvents="false"> android:splitMotionEvents="false">
<android.support.design.widget.CoordinatorLayout <android.support.design.widget.CoordinatorLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_above="@id/ll_bottom" android:layout_above="@id/ll_bottom"
android:layout_below="@id/ed_title" android:layout_below="@id/ed_title"
android:layout_marginTop="@dimen/all_bounced_padding"> android:layout_marginTop="@dimen/all_bounced_padding">
<android.support.design.widget.AppBarLayout <android.support.design.widget.AppBarLayout
android:id="@+id/app_bar" android:id="@+id/app_bar"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -81,8 +80,8 @@ ...@@ -81,8 +80,8 @@
android:gravity="center" android:gravity="center"
app:elevation="0dp" app:elevation="0dp"
app:layout_scrollFlags="snap"> app:layout_scrollFlags="snap">
<android.support.design.widget.CollapsingToolbarLayout <android.support.design.widget.CollapsingToolbarLayout
android:id="@+id/collapsingToolbarLayout" android:id="@+id/collapsingToolbarLayout"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -90,27 +89,27 @@ ...@@ -90,27 +89,27 @@
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
app:expandedTitleMarginStart="0dp" app:expandedTitleMarginStart="0dp"
app:layout_scrollFlags="scroll|exitUntilCollapsed|snap"> app:layout_scrollFlags="scroll|exitUntilCollapsed|snap">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@color/white_caocao" android:background="@color/white_caocao"
android:orientation="vertical"> android:orientation="vertical">
<android.support.constraint.ConstraintLayout <android.support.constraint.ConstraintLayout
android:id="@+id/cl_default" android:id="@+id/cl_default"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView <TextView
android:id="@+id/tv_supplier_title" android:id="@+id/tv_supplier_title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/all_bounced_padding" android:layout_marginEnd="@dimen/all_bounced_padding"
android:paddingBottom="@dimen/all_padding"
android:paddingStart="@dimen/all_bounced_padding" android:paddingStart="@dimen/all_bounced_padding"
android:paddingTop="@dimen/all_padding" android:paddingTop="@dimen/all_padding"
android:paddingBottom="@dimen/all_padding" android:text="@string/sku_subtitle_supplier"
android:text="供货方"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low" android:textSize="@dimen/all_text_size_low"
android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}" android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}"
...@@ -118,7 +117,7 @@ ...@@ -118,7 +117,7 @@
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toRightOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<TextView <TextView
android:id="@+id/tv_supplier_name" android:id="@+id/tv_supplier_name"
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -132,8 +131,8 @@ ...@@ -132,8 +131,8 @@
app:layout_constraintBottom_toBottomOf="@id/tv_supplier_title" app:layout_constraintBottom_toBottomOf="@id/tv_supplier_title"
app:layout_constraintEnd_toEndOf="@id/tv_supplier_title" app:layout_constraintEnd_toEndOf="@id/tv_supplier_title"
app:layout_constraintTop_toTopOf="@id/tv_supplier_title" /> app:layout_constraintTop_toTopOf="@id/tv_supplier_title" />
<View <View
android:id="@+id/view_line_left_1" android:id="@+id/view_line_left_1"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -141,17 +140,17 @@ ...@@ -141,17 +140,17 @@
android:background="@color/gray_kongming" android:background="@color/gray_kongming"
android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}" android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}"
app:layout_constraintTop_toBottomOf="@id/tv_supplier_title" /> app:layout_constraintTop_toBottomOf="@id/tv_supplier_title" />
<LinearLayout <LinearLayout
android:id="@+id/ll_supplier" android:id="@+id/ll_supplier"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:paddingStart="@dimen/all_bounced_padding"
android:paddingEnd="@dimen/all_bounced_padding" android:paddingEnd="@dimen/all_bounced_padding"
android:paddingStart="@dimen/all_bounced_padding"
android:visibility="gone" android:visibility="gone"
app:layout_constraintTop_toTopOf="@id/view_line_left_1"> app:layout_constraintTop_toTopOf="@id/view_line_left_1">
<LinearLayout <LinearLayout
android:id="@+id/ll_supplier_name" android:id="@+id/ll_supplier_name"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -159,90 +158,90 @@ ...@@ -159,90 +158,90 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" android:orientation="horizontal"
android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}"> android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}">
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@mipmap/icon_stores" /> android:src="@mipmap/icon_stores" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingBottom="@dimen/dp_4"
android:paddingLeft="@dimen/all_padding" android:paddingLeft="@dimen/all_padding"
android:paddingTop="@dimen/dp_4" android:paddingTop="@dimen/dp_4"
android:paddingBottom="@dimen/dp_4"
android:text="@{supplierName}" android:text="@{supplierName}"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low" /> android:textSize="@dimen/all_text_size_low" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/ll_supplier_address" android:id="@+id/ll_supplier_address"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" android:orientation="horizontal"
android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}"> android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}">
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@mipmap/icon_address" /> android:src="@mipmap/icon_address" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingBottom="@dimen/dp_4"
android:paddingLeft="@dimen/all_padding" android:paddingLeft="@dimen/all_padding"
android:paddingTop="@dimen/dp_4" android:paddingTop="@dimen/dp_4"
android:paddingBottom="@dimen/dp_4"
android:text="@{supplierAddress}" android:text="@{supplierAddress}"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low" /> android:textSize="@dimen/all_text_size_low" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/ll_supplier_phone" android:id="@+id/ll_supplier_phone"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" android:orientation="horizontal"
android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}"> android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}">
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@mipmap/icon_telephone" /> android:src="@mipmap/icon_telephone" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingBottom="@dimen/dp_4"
android:paddingLeft="@dimen/all_padding" android:paddingLeft="@dimen/all_padding"
android:paddingTop="@dimen/dp_4" android:paddingTop="@dimen/dp_4"
android:paddingBottom="@dimen/dp_4"
android:text="@{supplierTel}" android:text="@{supplierTel}"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low" /> android:textSize="@dimen/all_text_size_low" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<TextView <TextView
android:id="@+id/tv_shop_title" android:id="@+id/tv_shop_title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/all_bounced_padding" android:layout_marginEnd="@dimen/all_bounced_padding"
android:paddingBottom="@dimen/all_padding"
android:paddingStart="@dimen/all_bounced_padding" android:paddingStart="@dimen/all_bounced_padding"
android:paddingTop="@dimen/all_padding" android:paddingTop="@dimen/all_padding"
android:paddingBottom="@dimen/all_padding" android:text="@string/replenishment_tv_shop"
android:text="定货方"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low" android:textSize="@dimen/all_text_size_low"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ll_supplier" /> app:layout_constraintTop_toBottomOf="@id/ll_supplier" />
<TextView <TextView
android:id="@+id/tv_shop_name" android:id="@+id/tv_shop_name"
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -255,25 +254,25 @@ ...@@ -255,25 +254,25 @@
app:layout_constraintBottom_toBottomOf="@id/tv_shop_title" app:layout_constraintBottom_toBottomOf="@id/tv_shop_title"
app:layout_constraintEnd_toEndOf="@id/tv_shop_title" app:layout_constraintEnd_toEndOf="@id/tv_shop_title"
app:layout_constraintTop_toTopOf="@id/tv_shop_title" /> app:layout_constraintTop_toTopOf="@id/tv_shop_title" />
<View <View
android:id="@+id/view_line_left_2" android:id="@+id/view_line_left_2"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/all_slight_line_width" android:layout_height="@dimen/all_slight_line_width"
android:background="@color/gray_kongming" android:background="@color/gray_kongming"
app:layout_constraintTop_toBottomOf="@id/tv_shop_title" /> app:layout_constraintTop_toBottomOf="@id/tv_shop_title" />
<LinearLayout <LinearLayout
android:id="@+id/ll_shop" android:id="@+id/ll_shop"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:paddingStart="@dimen/all_bounced_padding"
android:paddingEnd="@dimen/all_bounced_padding" android:paddingEnd="@dimen/all_bounced_padding"
android:paddingStart="@dimen/all_bounced_padding"
android:visibility="gone" android:visibility="gone"
app:layout_constraintTop_toBottomOf="@id/tv_shop_title"> app:layout_constraintTop_toBottomOf="@id/tv_shop_title">
<LinearLayout <LinearLayout
android:id="@+id/ll_shop_name" android:id="@+id/ll_shop_name"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -283,79 +282,79 @@ ...@@ -283,79 +282,79 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@id/view_line_left_2"> app:layout_constraintTop_toTopOf="@id/view_line_left_2">
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@mipmap/icon_stores" /> android:src="@mipmap/icon_stores" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingBottom="@dimen/dp_4"
android:paddingLeft="@dimen/all_padding" android:paddingLeft="@dimen/all_padding"
android:paddingTop="@dimen/dp_4" android:paddingTop="@dimen/dp_4"
android:paddingBottom="@dimen/dp_4"
android:text="@{shopName}" android:text="@{shopName}"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low" /> android:textSize="@dimen/all_text_size_low" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/ll_shop_address" android:id="@+id/ll_shop_address"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="@id/ll_shop_name" app:layout_constraintEnd_toEndOf="@id/ll_shop_name"
app:layout_constraintStart_toStartOf="@id/ll_shop_name" app:layout_constraintStart_toStartOf="@id/ll_shop_name"
app:layout_constraintTop_toBottomOf="@id/ll_shop_name"> app:layout_constraintTop_toBottomOf="@id/ll_shop_name">
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@mipmap/icon_address" /> android:src="@mipmap/icon_address" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingBottom="@dimen/dp_4"
android:paddingLeft="@dimen/all_padding" android:paddingLeft="@dimen/all_padding"
android:paddingTop="@dimen/dp_4" android:paddingTop="@dimen/dp_4"
android:paddingBottom="@dimen/dp_4"
android:text="@{shopAddress}" android:text="@{shopAddress}"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low" /> android:textSize="@dimen/all_text_size_low" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/ll_shop_phone" android:id="@+id/ll_shop_phone"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="@id/ll_shop_name" app:layout_constraintEnd_toEndOf="@id/ll_shop_name"
app:layout_constraintStart_toStartOf="@id/ll_shop_name" app:layout_constraintStart_toStartOf="@id/ll_shop_name"
app:layout_constraintTop_toBottomOf="@id/ll_shop_address"> app:layout_constraintTop_toBottomOf="@id/ll_shop_address">
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@mipmap/icon_telephone" /> android:src="@mipmap/icon_telephone" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingBottom="@dimen/dp_4"
android:paddingLeft="@dimen/all_padding" android:paddingLeft="@dimen/all_padding"
android:paddingTop="@dimen/dp_4" android:paddingTop="@dimen/dp_4"
android:paddingBottom="@dimen/dp_4"
android:text="@{shopTel}" android:text="@{shopTel}"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low" /> android:textSize="@dimen/all_text_size_low" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<View <View
android:id="@+id/view_line_left_3" android:id="@+id/view_line_left_3"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -363,70 +362,160 @@ ...@@ -363,70 +362,160 @@
android:background="@color/gray_kongming" android:background="@color/gray_kongming"
android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}" android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}"
app:layout_constraintTop_toBottomOf="@id/ll_shop" /> app:layout_constraintTop_toBottomOf="@id/ll_shop" />
<LinearLayout <LinearLayout
android:id="@+id/ll_date" android:id="@+id/ll_date"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingStart="@dimen/all_bounced_padding"
android:paddingEnd="@dimen/all_bounced_padding" android:paddingEnd="@dimen/all_bounced_padding"
android:paddingStart="@dimen/all_bounced_padding"
android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}" android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}"
app:layout_constraintEnd_toEndOf="@id/ll_shop" app:layout_constraintEnd_toEndOf="@id/ll_shop"
app:layout_constraintStart_toStartOf="@id/ll_shop" app:layout_constraintStart_toStartOf="@id/ll_shop"
app:layout_constraintTop_toBottomOf="@id/view_line_left_3"> app:layout_constraintTop_toBottomOf="@id/view_line_left_3">
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@mipmap/icon_dates_green" /> android:src="@mipmap/icon_dates_green" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingBottom="@dimen/dp_4"
android:paddingLeft="@dimen/all_padding" android:paddingLeft="@dimen/all_padding"
android:paddingTop="@dimen/dp_4" android:paddingTop="@dimen/dp_4"
android:paddingBottom="@dimen/dp_4"
android:text="@{date}" android:text="@{date}"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low" /> android:textSize="@dimen/all_text_size_low" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/ll_no" android:id="@+id/ll_no"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingStart="@dimen/all_bounced_padding"
android:paddingEnd="@dimen/all_bounced_padding" android:paddingEnd="@dimen/all_bounced_padding"
android:paddingStart="@dimen/all_bounced_padding"
android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}" android:visibility="@{isShowSupplier? View.VISIBLE: View.GONE}"
app:layout_constraintEnd_toEndOf="@id/ll_shop" app:layout_constraintEnd_toEndOf="@id/ll_shop"
app:layout_constraintStart_toStartOf="@id/ll_shop" app:layout_constraintStart_toStartOf="@id/ll_shop"
app:layout_constraintTop_toBottomOf="@id/ll_date"> app:layout_constraintTop_toBottomOf="@id/ll_date">
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@mipmap/icon_no_green" /> android:src="@mipmap/icon_no_green" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingBottom="@dimen/dp_4"
android:paddingLeft="@dimen/all_padding" android:paddingLeft="@dimen/all_padding"
android:paddingTop="@dimen/dp_4" android:paddingTop="@dimen/dp_4"
android:paddingBottom="@dimen/dp_4"
android:text="@{no}" android:text="@{no}"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low" /> android:textSize="@dimen/all_text_size_low" />
</LinearLayout> </LinearLayout>
</android.support.constraint.ConstraintLayout>
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/ll_result2"
android:layout_width="180dp"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_result_hint2">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingBottom="@dimen/dp_4"
android:paddingLeft="@dimen/all_padding"
android:paddingRight="@dimen/all_padding"
android:paddingTop="@dimen/all_padding"
android:text="@{finallyPrice}"
android:textColor="@color/reddeep"
android:textSize="@dimen/big_big_text_size" />
</LinearLayout>
<LinearLayout
android:id="@+id/ll_num2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal"
app:layout_constraintBottom_toBottomOf="@id/ll_result2"
app:layout_constraintEnd_toStartOf="@id/ll_result2"
app:layout_constraintHorizontal_weight="1"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@id/ll_result2">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="@dimen/all_padding"
android:text="@{sumNum}"
android:textColor="@color/reddeep"
android:textSize="@dimen/big_big_text_size"
android:textStyle="bold" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/all_slight_line_width"
android:background="@color/gray_kongming"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tv_result_hint2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:paddingTop="@dimen/all_padding"
android:text="@string/replenishment_tv_amt"
android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low"
app:layout_constraintEnd_toEndOf="@+id/ll_result2"
app:layout_constraintStart_toStartOf="@id/ll_result2"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/all_margin"
android:paddingTop="@dimen/all_padding"
android:text="@string/replenishment_tv_needReplenishmentItem"
android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low"
app:layout_constraintBottom_toBottomOf="@id/tv_result_hint2"
app:layout_constraintEnd_toEndOf="@id/ll_num2"
app:layout_constraintStart_toStartOf="@id/ll_num2"
app:layout_constraintTop_toTopOf="@id/tv_result_hint2" />
<View
android:layout_width="match_parent"
android:layout_height="@dimen/all_bounced_padding"
android:background="@drawable/singleline_zhouyu_huanggai"
app:layout_constraintTop_toBottomOf="@id/ll_result2" />
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
</LinearLayout> </LinearLayout>
<android.support.v7.widget.Toolbar <android.support.v7.widget.Toolbar
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -439,11 +528,11 @@ ...@@ -439,11 +528,11 @@
app:contentInsetStart="0dp" app:contentInsetStart="0dp"
app:elevation="0dp" app:elevation="0dp"
app:layout_collapseMode="pin"> app:layout_collapseMode="pin">
<android.support.constraint.ConstraintLayout <android.support.constraint.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<LinearLayout <LinearLayout
android:id="@+id/ll_result" android:id="@+id/ll_result"
android:layout_width="180dp" android:layout_width="180dp"
...@@ -452,21 +541,21 @@ ...@@ -452,21 +541,21 @@
android:orientation="horizontal" android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_result_hint"> app:layout_constraintTop_toBottomOf="@id/tv_result_hint">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
android:paddingBottom="@dimen/dp_4"
android:paddingLeft="@dimen/all_padding" android:paddingLeft="@dimen/all_padding"
android:paddingTop="@dimen/all_padding"
android:paddingRight="@dimen/all_padding" android:paddingRight="@dimen/all_padding"
android:paddingBottom="@dimen/dp_4" android:paddingTop="@dimen/all_padding"
android:text="@{finallyPrice}" android:text="@{finallyPrice}"
android:textColor="@color/reddeep" android:textColor="@color/reddeep"
android:textSize="@dimen/big_big_text_size" /> android:textSize="@dimen/big_big_text_size" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/ll_num" android:id="@+id/ll_num"
android:layout_width="0dp" android:layout_width="0dp"
...@@ -478,7 +567,7 @@ ...@@ -478,7 +567,7 @@
app:layout_constraintHorizontal_weight="1" app:layout_constraintHorizontal_weight="1"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@id/ll_result"> app:layout_constraintTop_toTopOf="@id/ll_result">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
...@@ -487,11 +576,11 @@ ...@@ -487,11 +576,11 @@
android:textColor="@color/reddeep" android:textColor="@color/reddeep"
android:textSize="@dimen/big_big_text_size" android:textSize="@dimen/big_big_text_size"
android:textStyle="bold" /> android:textStyle="bold" />
</LinearLayout> </LinearLayout>
<TextView <TextView
android:id="@+id/tv_result_hint" android:id="@+id/tv_result_hint"
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -503,9 +592,8 @@ ...@@ -503,9 +592,8 @@
android:textSize="@dimen/all_text_size_low" android:textSize="@dimen/all_text_size_low"
app:layout_constraintEnd_toEndOf="@+id/ll_result" app:layout_constraintEnd_toEndOf="@+id/ll_result"
app:layout_constraintStart_toStartOf="@id/ll_result" app:layout_constraintStart_toStartOf="@id/ll_result"
app:layout_constraintTop_toBottomOf="@id/ll_no" app:layout_constraintTop_toTopOf="parent" />
tools:ignore="NotSibling" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
...@@ -518,19 +606,19 @@ ...@@ -518,19 +606,19 @@
app:layout_constraintEnd_toEndOf="@id/ll_num" app:layout_constraintEnd_toEndOf="@id/ll_num"
app:layout_constraintStart_toStartOf="@id/ll_num" app:layout_constraintStart_toStartOf="@id/ll_num"
app:layout_constraintTop_toTopOf="@id/tv_result_hint" /> app:layout_constraintTop_toTopOf="@id/tv_result_hint" />
<View <View
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/all_bounced_padding" android:layout_height="@dimen/all_bounced_padding"
android:background="@drawable/singleline_zhouyu_huanggai" android:background="@drawable/singleline_zhouyu_huanggai"
app:layout_constraintTop_toBottomOf="@id/ll_result" /> app:layout_constraintTop_toBottomOf="@id/ll_result" />
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
</android.support.v7.widget.Toolbar> </android.support.v7.widget.Toolbar>
</android.support.design.widget.CollapsingToolbarLayout> </android.support.design.widget.CollapsingToolbarLayout>
</android.support.design.widget.AppBarLayout> </android.support.design.widget.AppBarLayout>
<android.support.v7.widget.RecyclerView <android.support.v7.widget.RecyclerView
android:id="@+id/recycler_view" android:id="@+id/recycler_view"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -538,45 +626,45 @@ ...@@ -538,45 +626,45 @@
android:background="@color/gray_zhouyu" android:background="@color/gray_zhouyu"
android:visibility="visible" android:visibility="visible"
app:layout_behavior="@string/appbar_scrolling_view_behavior"> app:layout_behavior="@string/appbar_scrolling_view_behavior">
</android.support.v7.widget.RecyclerView> </android.support.v7.widget.RecyclerView>
</android.support.design.widget.CoordinatorLayout> </android.support.design.widget.CoordinatorLayout>
<EditText <EditText
android:id="@+id/ed_title" android:id="@+id/ed_title"
style="@style/searchBarEditor" style="@style/searchBarEditor"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="30dp" android:layout_height="30dp"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_marginBottom="@dimen/padding_small"
android:layout_marginEnd="@dimen/all_bounced_padding"
android:layout_marginStart="@dimen/all_bounced_padding" android:layout_marginStart="@dimen/all_bounced_padding"
android:layout_marginTop="@dimen/padding_small" android:layout_marginTop="@dimen/padding_small"
android:layout_marginEnd="@dimen/all_bounced_padding"
android:layout_marginBottom="@dimen/padding_small"
android:drawablePadding="@dimen/all_padding" android:drawablePadding="@dimen/all_padding"
android:hint="@string/statistics_order_edit_hint" android:hint="@string/statistics_order_edit_hint"
android:inputType="number" android:inputType="number"
android:textColor="@color/black_likui" android:textColor="@color/black_likui"
android:textSize="@dimen/all_text_size_low" /> android:textSize="@dimen/all_text_size_low" />
<View <View
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/all_bounced_padding" android:layout_height="@dimen/all_bounced_padding"
android:layout_below="@id/ed_title" android:layout_below="@id/ed_title"
android:background="@drawable/singleline_zhouyu_huanggai" /> android:background="@drawable/singleline_zhouyu_huanggai" />
<android.support.constraint.ConstraintLayout <android.support.constraint.ConstraintLayout
android:id="@+id/ll_bottom" android:id="@+id/ll_bottom"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/layout_statistics_bottom_height" android:layout_height="@dimen/layout_statistics_bottom_height"
android:layout_alignParentStart="true"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_alignParentStart="true"
android:background="@color/white_caocao" android:background="@color/white_caocao"
app:layout_constraintBottom_toBottomOf="parent"> app:layout_constraintBottom_toBottomOf="parent">
<TextView <TextView
android:id="@+id/btn_cancel" android:id="@+id/btn_cancel"
style="@style/button_passive" style="@style/button_passive"
...@@ -588,21 +676,21 @@ ...@@ -588,21 +676,21 @@
app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@id/btn_ok" app:layout_constraintRight_toLeftOf="@id/btn_ok"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<TextView <TextView
android:id="@+id/btn_ok" android:id="@+id/btn_ok"
style="@style/button_positive" style="@style/button_positive"
android:layout_width="@dimen/button1_width" android:layout_width="@dimen/button1_width"
android:layout_height="@dimen/button1_height" android:layout_height="@dimen/button1_height"
android:text="@string/settle_complete" android:text="@string/replenishment_detail_submit"
android:textSize="@dimen/all_text_size" android:textSize="@dimen/all_text_size"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toRightOf="@id/btn_cancel" app:layout_constraintLeft_toRightOf="@id/btn_cancel"
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
<View <View
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/view_line_L050" android:layout_height="@dimen/view_line_L050"
......
...@@ -73,10 +73,10 @@ ...@@ -73,10 +73,10 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/all_padding" android:layout_margin="@dimen/all_padding"
android:paddingBottom="@dimen/dp_4"
android:paddingEnd="@dimen/all_padding"
android:paddingStart="@dimen/all_padding" android:paddingStart="@dimen/all_padding"
android:paddingTop="@dimen/dp_4" android:paddingTop="@dimen/dp_4"
android:paddingEnd="@dimen/all_padding"
android:paddingBottom="@dimen/dp_4"
android:text="@{status}" android:text="@{status}"
android:textColor="@color/white" android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="@id/ll_boss" app:layout_constraintBottom_toBottomOf="@id/ll_boss"
...@@ -101,9 +101,9 @@ ...@@ -101,9 +101,9 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingBottom="@dimen/dp_4"
android:paddingStart="@dimen/all_padding" android:paddingStart="@dimen/all_padding"
android:paddingTop="@dimen/dp_4" android:paddingTop="@dimen/dp_4"
android:paddingBottom="@dimen/dp_4"
android:text="@{date}" android:text="@{date}"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/all_text_size_low" /> android:textSize="@dimen/all_text_size_low" />
...@@ -230,8 +230,8 @@ ...@@ -230,8 +230,8 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/all_padding" android:layout_marginLeft="@dimen/all_padding"
android:layout_marginRight="@dimen/all_padding"
android:layout_marginTop="@dimen/all_margin" android:layout_marginTop="@dimen/all_margin"
android:layout_marginRight="@dimen/all_padding"
android:gravity="end" android:gravity="end"
android:orientation="horizontal" android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
...@@ -241,25 +241,32 @@ ...@@ -241,25 +241,32 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@{num}" android:padding="@dimen/dp_4"
android:textColor="@color/reddeep" android:text="@string/cart_product_count"
android:textSize="@dimen/all_text_size_big" /> android:textColor="@color/black" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="@dimen/dp_4" android:text=":"
android:text="件"
android:textColor="@color/black" /> android:textColor="@color/black" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@{num}"
android:textColor="@color/reddeep"
android:textSize="@dimen/all_text_size_big" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/ll_price" android:id="@+id/ll_price"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/all_padding"
android:layout_marginTop="@dimen/all_margin" android:layout_marginTop="@dimen/all_margin"
android:layout_marginEnd="@dimen/all_padding"
android:gravity="end" android:gravity="end"
android:orientation="horizontal" android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="@id/ll_cut" app:layout_constraintEnd_toEndOf="@id/ll_cut"
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
android:id="@+id/img_goods" android:id="@+id/img_goods"
android:layout_width="65dp" android:layout_width="65dp"
android:layout_height="65dp" android:layout_height="65dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:placeholderImage="@mipmap/icon_goods_default" /> app:placeholderImage="@mipmap/icon_goods_default" />
<TextView <TextView
...@@ -27,8 +29,8 @@ ...@@ -27,8 +29,8 @@
style="@style/other_select_blacktext_style" style="@style/other_select_blacktext_style"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/all_bounced_padding"
android:layout_marginStart="@dimen/all_bounced_padding" android:layout_marginStart="@dimen/all_bounced_padding"
android:layout_marginEnd="@dimen/all_bounced_padding"
android:text="" android:text=""
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/img_goods" app:layout_constraintStart_toEndOf="@id/img_goods"
...@@ -38,11 +40,11 @@ ...@@ -38,11 +40,11 @@
android:id="@+id/tv_goods_code_hint" android:id="@+id/tv_goods_code_hint"
style="@style/other_select_smallstyle" style="@style/other_select_smallstyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="28dp" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/all_padding" android:layout_marginTop="@dimen/all_padding"
android:text="@string/sku_barcode" android:text="@string/sku_barcode"
app:layout_constraintTop_toBottomOf="@id/tv_goods_name" app:layout_constraintStart_toStartOf="@id/tv_goods_name"
tools:layout_editor_absoluteX="97dp" /> app:layout_constraintTop_toBottomOf="@id/tv_goods_name" />
<TextView <TextView
android:id="@+id/tv_goods_code" android:id="@+id/tv_goods_code"
...@@ -96,6 +98,40 @@ ...@@ -96,6 +98,40 @@
app:layout_constraintTop_toTopOf="@id/tv_price_hint" /> app:layout_constraintTop_toTopOf="@id/tv_price_hint" />
<TextView
android:id="@+id/tv_stock_hint"
style="@style/other_select_smallstyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/all_padding"
android:text="@string/sssku_stock"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="@id/tv_goods_code_hint"
app:layout_constraintTop_toBottomOf="@id/tv_goods_code_hint" />
<TextView
android:id="@+id/tv_stock"
style="@style/other_select_smallstyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="@id/tv_stock_hint"
app:layout_constraintStart_toEndOf="@id/tv_goods_code_hint"
app:layout_constraintTop_toTopOf="@id/tv_stock_hint" />
<TextView
android:id="@+id/tv_price_hint"
style="@style/other_select_smallstyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/all_padding"
android:text="@string/sku_cost"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="@id/tv_stock_hint"
app:layout_constraintTop_toBottomOf="@id/tv_stock_hint" />
<LinearLayout <LinearLayout
android:id="@+id/linearLayout" android:id="@+id/linearLayout"
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -103,9 +139,8 @@ ...@@ -103,9 +139,8 @@
android:layout_marginEnd="@dimen/all_padding" android:layout_marginEnd="@dimen/all_padding"
android:gravity="center" android:gravity="center"
android:orientation="horizontal" android:orientation="horizontal"
app:layout_constraintBottom_toBottomOf="@id/tv_price_hint"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/tv_price_hint" app:layout_constraintTop_toBottomOf="@id/tv_price_hint"
> >
...@@ -131,8 +166,8 @@ ...@@ -131,8 +166,8 @@
android:id="@+id/et_count" android:id="@+id/et_count"
android:layout_width="50dp" android:layout_width="50dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginBottom="@dimen/dp_4"
android:layout_marginTop="@dimen/dp_4" android:layout_marginTop="@dimen/dp_4"
android:layout_marginBottom="@dimen/dp_4"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/selector_edit_frame_blue_background" android:background="@drawable/selector_edit_frame_blue_background"
android:gravity="center" android:gravity="center"
...@@ -154,65 +189,6 @@ ...@@ -154,65 +189,6 @@
tools:layout_editor_absoluteY="97dp" /> tools:layout_editor_absoluteY="97dp" />
</LinearLayout> </LinearLayout>
<TextView
android:id="@+id/tv_stock_hint"
style="@style/other_select_smallstyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/all_padding"
android:text="@string/sssku_stock"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="@id/tv_goods_code_hint"
app:layout_constraintTop_toBottomOf="@id/tv_goods_code_hint" />
<TextView
android:id="@+id/tv_stock"
style="@style/other_select_smallstyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="0dp"
android:text="0个"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="@id/tv_stock_hint"
app:layout_constraintStart_toEndOf="@id/tv_goods_code_hint"
app:layout_constraintTop_toTopOf="@id/tv_stock_hint" />
<!--<TextView-->
<!--android:id="@+id/tv_traffic_hint"-->
<!--style="@style/other_select_smallstyle"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginStart="@dimen/all_margin_big"-->
<!--android:text="在途:"-->
<!--android:textStyle="bold"-->
<!--app:layout_constraintBottom_toBottomOf="@id/tv_stock"-->
<!--app:layout_constraintStart_toEndOf="@id/tv_stock"-->
<!--app:layout_constraintTop_toTopOf="@id/tv_stock" />-->
<!--<TextView-->
<!--android:id="@+id/tv_traffic"-->
<!--style="@style/other_select_smallstyle"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:text="0个"-->
<!--android:textStyle="bold"-->
<!--app:layout_constraintBottom_toBottomOf="@id/tv_traffic_hint"-->
<!--app:layout_constraintStart_toEndOf="@id/tv_traffic_hint" />-->
<TextView
android:id="@+id/tv_price_hint"
style="@style/other_select_smallstyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/all_padding"
android:text="@string/sku_cost"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="@id/tv_stock_hint"
app:layout_constraintTop_toBottomOf="@id/tv_stock_hint" />
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
......
...@@ -326,7 +326,7 @@ ...@@ -326,7 +326,7 @@
<string name="ing_dialog_title">System reminder</string> <string name="ing_dialog_title">System reminder</string>
<!--货币--> <!--货币-->
<string name="money_rmb"></string> <string name="money_rmb">$</string>
<!--星期--> <!--星期-->
<string name="week_mon">Monday</string> <string name="week_mon">Monday</string>
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<string name="replenishment_tv_replenishmentDetail">Order details</string> <string name="replenishment_tv_replenishmentDetail">Order details</string>
<string name="replenishment_toast_noNeedDo">Stock is normal</string> <string name="replenishment_toast_noNeedDo">Stock is normal</string>
<string name="replenishment_tv_amt">Amount</string> <string name="replenishment_tv_amt">Amount</string>
<string name="replenishment_tv_shop">Shop</string>
<!--盘点界面--> <!--盘点界面-->
...@@ -73,6 +74,6 @@ ...@@ -73,6 +74,6 @@
<string name="ticket_default_lostVip">Lost Vip</string> <string name="ticket_default_lostVip">Lost Vip</string>
<string name="bale_toast_noSearch">not find</string>
</resources> </resources>
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
<string name="replenishment_tv_replenishmentDetail">定货详情</string> <string name="replenishment_tv_replenishmentDetail">定货详情</string>
<string name="replenishment_toast_noNeedDo">库存正常,无需补货</string> <string name="replenishment_toast_noNeedDo">库存正常,无需补货</string>
<string name="replenishment_tv_amt">金额</string> <string name="replenishment_tv_amt">金额</string>
<string name="replenishment_tv_shop">定货方</string>
<!--盘点界面--> <!--盘点界面-->
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<string name="replenishment_tv_replenishmentDetail">定货详情</string> <string name="replenishment_tv_replenishmentDetail">定货详情</string>
<string name="replenishment_toast_noNeedDo">库存正常,无需补货</string> <string name="replenishment_toast_noNeedDo">库存正常,无需补货</string>
<string name="replenishment_tv_amt">金额</string> <string name="replenishment_tv_amt">金额</string>
<string name="replenishment_tv_shop">定货方</string>
<!--盘点界面--> <!--盘点界面-->
...@@ -73,6 +74,9 @@ ...@@ -73,6 +74,9 @@
<string name="ticket_default_lostVip">流失会员</string> <string name="ticket_default_lostVip">流失会员</string>
<string name="bale_toast_noSearch">没有搜到当前商品,请重新输入</string>
</resources> </resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment