|
|
@@ -57,7 +57,7 @@ public class DeliveryNoteInquiryItemAdapter extends BaseAdapter{
|
|
|
|
|
|
if (convertView == null) {
|
|
|
LayoutInflater _LayoutInflater = LayoutInflater.from(mContext);
|
|
|
- convertView = _LayoutInflater.inflate(R.layout.activity_delivery_note_inquiry_item, null);
|
|
|
+ convertView = _LayoutInflater.inflate(R.layout.activity_delivery_note_inquiry_item, null);
|
|
|
viewHolder.SendoutCodeTv = (TextView) convertView.findViewById(R.id.ShippingOrderNumber);
|
|
|
viewHolder.SendOutWarehouseTv = (TextView) convertView.findViewById(R.id.SendOutWarehouse);
|
|
|
viewHolder.ReceivingWarehouseTv = (TextView) convertView.findViewById(R.id.ReceivingWarehouse);
|
|
|
@@ -96,12 +96,13 @@ public class DeliveryNoteInquiryItemAdapter extends BaseAdapter{
|
|
|
mContext.startActivity(intent);
|
|
|
}
|
|
|
});
|
|
|
+ //背景色原色
|
|
|
+ convertView.setBackgroundColor(mContext.getResources().getColor(R.color.background));
|
|
|
//同步状态为失败或者补推为失败
|
|
|
if (deliverynoteInquiryitemModel.getAmendsState().equals("2")||deliverynoteInquiryitemModel.getSyncstatusState().equals("2")) {
|
|
|
//设置背景颜色为黄色
|
|
|
convertView.setBackgroundColor(mContext.getResources().getColor(R.color.yellow));
|
|
|
- }
|
|
|
-
|
|
|
+ }
|
|
|
viewHolder.CheckBoxDetail.setOnClickListener(new View.OnClickListener() {
|
|
|
@Override
|
|
|
public void onClick(View v) {
|