|
@@ -203,7 +203,7 @@ export default {
|
|
this.spinning = true
|
|
this.spinning = true
|
|
reportStockOutList(params).then(res => {
|
|
reportStockOutList(params).then(res => {
|
|
this.listLoading = false
|
|
this.listLoading = false
|
|
- if (res.status == 200) {
|
|
|
|
|
|
+ if (res.status == 200 && res.data) {
|
|
const reportStockOutVOList = (res.data && res.data.reportStockOutVOList) ? res.data.reportStockOutVOList : []
|
|
const reportStockOutVOList = (res.data && res.data.reportStockOutVOList) ? res.data.reportStockOutVOList : []
|
|
const totalQty = (res.data && (res.data.totalQty || res.data.totalQty == 0)) ? res.data.totalQty : '--'
|
|
const totalQty = (res.data && (res.data.totalQty || res.data.totalQty == 0)) ? res.data.totalQty : '--'
|
|
const totalPrice = (res.data && (res.data.totalPrice || res.data.totalPrice == 0)) ? res.data.totalPrice : '--'
|
|
const totalPrice = (res.data && (res.data.totalPrice || res.data.totalPrice == 0)) ? res.data.totalPrice : '--'
|