|
@@ -21,7 +21,7 @@ export default {
|
|
|
serialInfo:{
|
|
|
totalNum:0,
|
|
|
couldActiveNum:0, //可啟用數:所有未啟用的序號總和 expireStatus=''
|
|
|
- activeNum:0, //已啟用數:目前啟用的序號總和 expireStatus='A'
|
|
|
+ activeNum:0, //已啟用序號數:目前啟用的序號總和 Jeff=> expireStatus='A',目前改為已啟用Hiteach數 James 所有啟用且綁定的機台數
|
|
|
}
|
|
|
},
|
|
|
getters: {
|
|
@@ -88,9 +88,12 @@ export default {
|
|
|
//計算已啟用數
|
|
|
let activeNum=0
|
|
|
data.forEach(item => {
|
|
|
+
|
|
|
if(item.expireStatus=='A'){
|
|
|
- activeNum++
|
|
|
+ //console.log(item.deviceBound.length)
|
|
|
+ activeNum+=item.deviceBound.length
|
|
|
}
|
|
|
+
|
|
|
|
|
|
|
|
|
});
|