@ -37,7 +37,13 @@
},
methods: {
openPopup(items) {
this.balanceItems = items;
if(Array.isArray(items)){
}else{
this.balanceItems = [items];
}
this.$refs['popupItems'].open("center");
@ -184,7 +184,7 @@
openJobDetail(item) {
uni.navigateTo({
url: './countDetail?id=' + item.masterId + '&status=' + item.status
url: './countDetail?id=' + item.id + '&status=' + item.status
});
@ -203,7 +203,7 @@
this.$refs.comMessage.showQuestionMessage("确定要放弃当前任务?",
res => {
if (res) {
this.cancleJob(dataContent.masterId);
this.cancleJob(dataContent.id);
@ -151,8 +151,8 @@
calcHandleQty() {
for (let item of this.detailSource) {
item.handleQty = new Decimal(0).toNumber();
item.qty = new Decimal(0).toNumber();
item.handleQty = 0;
item.qty = 0;
for (let detail of item.subList) {
if(detail!=undefined){
if(detail.scaned){