修改 PDA原材料出库输入数量

master
wanghao 3 months ago
parent d29b507c69
commit 9f4dd0f68b

@ -6,6 +6,8 @@ import android.widget.AdapterView;
import androidx.databinding.BaseObservable;
import com.example.jingyuan_mes.uitls.SharedPreferencesUtils;
import java.util.ArrayList;
import java.util.List;
@ -505,5 +507,4 @@ public class DeviceRepair extends BaseObservable {
}
}

@ -17,7 +17,7 @@ public class OutStoreSubmit extends BaseObservable {
private String locationCode;
private String searchText;
private int outstockAmount = 1;
private String outstockAmount = "1";
private String instockBatch;
private Long rawOutstockDetailId;
@ -38,11 +38,11 @@ public class OutStoreSubmit extends BaseObservable {
notifyChange();
}
public int getOutstockAmount() {
public String getOutstockAmount() {
return outstockAmount;
}
public void setOutstockAmount(int outstockAmount) {
public void setOutstockAmount(String outstockAmount) {
this.outstockAmount = outstockAmount;
notifyChange();
}
@ -66,7 +66,7 @@ public class OutStoreSubmit extends BaseObservable {
public void subClear() {
locationCode = null;
outstockAmount = 1;
outstockAmount = "1";
instockBatch = null;
notifyChange();
}

@ -114,7 +114,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="numberDecimal"
android:text='@={vm.outstockAmount + ""}' />
android:text="@={vm.outstockAmount}" />
</LinearLayout>

Loading…
Cancel
Save