Browse Source

新建发货单 校验库存时将==更换为equals 否则比对失败
发货单一览添加凭证单号列

李士越 1 year ago
parent
commit
ef8dbb4673

+ 28 - 0
res/layout/activity_delivery_note_inquiry_item.xml

@@ -50,7 +50,35 @@
                     android:textColor="@color/white"
                     android:textSize="@dimen/textsize_14" />
             </LinearLayout>
+<LinearLayout
+                android:layout_width="fill_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginLeft="8dp"
+                android:layout_marginRight="8dp"
+                android:gravity="center_vertical"
+                android:orientation="horizontal" >
 
+                <com.jiaju.widget.JustifyTextView
+                    android:layout_width="70dp"
+                    android:layout_height="wrap_content"
+                    android:text="凭证单号"
+                    android:textColor="@color/white"
+                    android:textSize="@dimen/textsize_14" />
+
+                <TextView
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text=":"
+                    android:textColor="@color/white"
+                    android:textSize="@dimen/textsize_14" />
+
+                <TextView
+                    android:id="@+id/MBLNR"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:textColor="@color/white"
+                    android:textSize="@dimen/textsize_14" />
+            </LinearLayout>
             <LinearLayout
                 android:layout_width="fill_parent"
                 android:layout_height="wrap_content"

+ 1 - 1
src/com/jiaju/activity/SendOutGoods.java

@@ -1110,7 +1110,7 @@ public class SendOutGoods extends Activity {
 						String Count = ((JSONObject) jArray.opt(0)).optString("COUNT");
 						int mcount = 0;
 						for (BarcodeInfo bd : barcodeList) {
-							if (bd.getLogoCode() == mCODE) {
+							if (bd.getLogoCode().equals(mCODE) ) {
 								mcount = mcount + Integer.parseInt(bd.getOrderNo());
 							}
 						}