| xqd
@@ -199,7 +199,12 @@
|
|
|
this.screenDescription=this.service_screen.screenList[index]['description']||''
|
|
|
this.service_label = this.service_screen.screenList[index]
|
|
|
this.card_id = this.service_screen.screenList['card_id']
|
|
|
+
|
|
|
}
|
|
|
+ this.checked.service_label=this.service_label;
|
|
|
+ this.checked.card_id=this.card_id;
|
|
|
+ this.checked.hasScreen=this.hasCurrentServiceData();
|
|
|
+ this.$emit('check', this.checked,this.number);
|
|
|
// if(this.serviceId || this.serviceId===0){
|
|
|
// this.service_screen.screenList.forEach((item,index)=>{
|
|
|
|
| xqd
@@ -296,6 +301,9 @@
|
|
|
if (f.stock === 0 && sign <= 1) Array.prototype.push.apply(attrNum_0, arr);
|
|
|
console.log("eeeeeeeeeeeeeeeee")
|
|
|
console.log(f)
|
|
|
+ f.service_label=this.service_label;
|
|
|
+ f.card_id=this.card_id;
|
|
|
+ f.hasScreen=this.hasCurrentServiceData();
|
|
|
if (sign === 0) {
|
|
|
this.$emit('check', f, 1);
|
|
|
}
|
| xqd
@@ -634,6 +642,9 @@
|
|
|
},
|
|
|
number: {
|
|
|
handler(newVal) {
|
|
|
+ this.checked.service_label=this.service_label;
|
|
|
+ this.checked.card_id=this.card_id;
|
|
|
+ this.checked.hasScreen=this.hasCurrentServiceData();
|
|
|
this.$emit('check', this.checked, newVal);
|
|
|
}
|
|
|
},
|