|
@@ -218,7 +218,6 @@ export default {
|
|
const flag = newList.some(item => Object.keys(item).length > 2)
|
|
const flag = newList.some(item => Object.keys(item).length > 2)
|
|
if (flag) {
|
|
if (flag) {
|
|
_this.listInfo = newList.filter(con => Object.keys(con).length > 2)
|
|
_this.listInfo = newList.filter(con => Object.keys(con).length > 2)
|
|
- _this.openGrabOrderModal = !!_this.isShow
|
|
|
|
const noShowList = newList.filter(con => Object.keys(con).length <= 2)
|
|
const noShowList = newList.filter(con => Object.keys(con).length <= 2)
|
|
_this.noShowBillSnList = _this.getNewSalesBillList(noShowList)
|
|
_this.noShowBillSnList = _this.getNewSalesBillList(noShowList)
|
|
_this.salesBillSnList = _this.noShowBillSnList ? _this.noShowBillSnList : []
|
|
_this.salesBillSnList = _this.noShowBillSnList ? _this.noShowBillSnList : []
|
|
@@ -314,6 +313,7 @@ export default {
|
|
},
|
|
},
|
|
// 取消
|
|
// 取消
|
|
handleCommonCancel () {
|
|
handleCommonCancel () {
|
|
|
|
+ this.salesBillFlag = false
|
|
this.$emit('cancel')
|
|
this.$emit('cancel')
|
|
},
|
|
},
|
|
// 查询
|
|
// 查询
|
|
@@ -346,7 +346,6 @@ export default {
|
|
// 重定义的弹框状态
|
|
// 重定义的弹框状态
|
|
isShow (newValue, oldValue) {
|
|
isShow (newValue, oldValue) {
|
|
if (!newValue) {
|
|
if (!newValue) {
|
|
- this.salesBillFlag = false
|
|
|
|
this.salesBillSnList = null
|
|
this.salesBillSnList = null
|
|
this.handleCommonCancel()
|
|
this.handleCommonCancel()
|
|
} else {
|
|
} else {
|