优化打印 优化退单
This commit is contained in:
@@ -87,7 +87,7 @@ function show(item, type = 'add') {
|
||||
setTimeout(() => {
|
||||
goodsItem.value.groupSnap.map((item, index) => {
|
||||
item.goods.map((val, i) => {
|
||||
selectGroup[index].map(sg => {
|
||||
selectGroup[index].goods.map(sg => {
|
||||
if (val.proId == sg.proId) {
|
||||
tabRefs.value[index].toggleRowSelection(val, true)
|
||||
}
|
||||
@@ -158,8 +158,9 @@ function confirmHandle() {
|
||||
|
||||
let goodIds = []
|
||||
goodsItem.value.groupSnap.map((item, index) => {
|
||||
let selectNum = tabRefs.value[index].getSelectionRows()
|
||||
goodIds.push(selectNum)
|
||||
let obj = { ...item }
|
||||
obj.goods = tabRefs.value[index].getSelectionRows()
|
||||
goodIds.push(obj)
|
||||
})
|
||||
|
||||
// 将商品数据转为一维数组返回
|
||||
|
||||
Reference in New Issue
Block a user