|
|
@@ -22,7 +22,7 @@ export default {
|
|
|
globalCheckStock:true,// 考虑库存,盘点不需要考虑库存
|
|
|
isAddModel:false,
|
|
|
isAddInputFocus:false,
|
|
|
- customData: { bigCount: 0, smallCount: 0, userPrice: 0,aboutPrice:0,totalPrice:0,remark:'' },
|
|
|
+ customData: { bigCount: 0, smallCount: 0, userPrice: 0,aboutPrice:0,totalPrice:0,remark:'',assignSeat:1},
|
|
|
globalItemList:[],
|
|
|
globalUnitType:0,
|
|
|
globalAllProduct:[],
|
|
|
@@ -217,6 +217,7 @@ export default {
|
|
|
that.globalItemData[i].totalPrice = selectProduct.totalPrice || 0
|
|
|
that.globalItemData[i].aboutPrice = selectProduct.aboutPrice || 0
|
|
|
that.globalItemData[i].remark = selectProduct.remark || ''
|
|
|
+ that.globalItemData[i].assignSeat = selectProduct.assignSeat
|
|
|
}else{
|
|
|
that.globalItemData[i].bigCount = 0
|
|
|
that.globalItemData[i].userPrice = 0
|
|
|
@@ -224,6 +225,7 @@ export default {
|
|
|
that.globalItemData[i].totalPrice = 0
|
|
|
that.globalItemData[i].aboutPrice = 0
|
|
|
that.globalItemData[i].remark = ''
|
|
|
+ that.globalItemData[i].assignSeat = 1
|
|
|
}
|
|
|
let cName = ''
|
|
|
if(hasExists[currentClassId]){
|
|
|
@@ -278,6 +280,7 @@ export default {
|
|
|
arr[index].smallCount = 0;
|
|
|
arr[index].userPrice = 0;
|
|
|
arr[index].remark = '';
|
|
|
+ arr[index].assignSeat = 1
|
|
|
})
|
|
|
this.$forceUpdate()
|
|
|
}
|
|
|
@@ -384,6 +387,7 @@ export default {
|
|
|
list[index].aboutPrice = item.aboutPrice||0
|
|
|
list[index].totalPrice = item.totalPrice||0
|
|
|
list[index].remark = item.remark||''
|
|
|
+ list[index].assignSeat = item.assignSeat
|
|
|
}
|
|
|
}
|
|
|
//点击要响声
|