|
@ -140,6 +140,7 @@ |
|
|
managementPrecision: '', |
|
|
managementPrecision: '', |
|
|
fromInventoryStatuses: "", |
|
|
fromInventoryStatuses: "", |
|
|
isCheck: false, |
|
|
isCheck: false, |
|
|
|
|
|
chooseWhich:'1' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
@ -341,7 +342,8 @@ |
|
|
this.countCallBack(datas); |
|
|
this.countCallBack(datas); |
|
|
} else { |
|
|
} else { |
|
|
if (Array.isArray(datas)) { |
|
|
if (Array.isArray(datas)) { |
|
|
this.countCallBack(datas[0]); |
|
|
this.chooseWhich = '2' |
|
|
|
|
|
this.showBalanceSelect(datas); |
|
|
} else { |
|
|
} else { |
|
|
this.countCallBack(datas); |
|
|
this.countCallBack(datas); |
|
|
} |
|
|
} |
|
@ -386,6 +388,7 @@ |
|
|
// } |
|
|
// } |
|
|
} else { |
|
|
} else { |
|
|
this.showBalanceSelect(datas); |
|
|
this.showBalanceSelect(datas); |
|
|
|
|
|
this.chooseWhich='1' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@ -394,7 +397,12 @@ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
selectBalanceItem(balance) { |
|
|
selectBalanceItem(balance) { |
|
|
this.packCallBack(balance); |
|
|
if(this.chooseWhich == 1){ |
|
|
|
|
|
this.packCallBack(balance); |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.countCallBack(balance); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//因为盘点时有负库存,暂时去掉判断 2023年12月28日 |
|
|
//因为盘点时有负库存,暂时去掉判断 2023年12月28日 |
|
|
// if (balance.qty > 0) { |
|
|
// if (balance.qty > 0) { |
|
|
// this.packCallBack(balance); |
|
|
// this.packCallBack(balance); |
|
|