|
@@ -94,11 +94,14 @@
|
|
|
<text class="label">所在区域</text>
|
|
|
<text class="label right">{{ item['place'] ? item['place'] : '-' }}</text>
|
|
|
</view>
|
|
|
- <view v-if="item.protemResourceGroupDetailList && item.protemResourceGroupDetailList.length>0" class="item-info uni-row">
|
|
|
+ <view v-if="item.protemResourceGroupDetailList && item.protemResourceGroupDetailList.length>0"
|
|
|
+ class="item-info uni-row">
|
|
|
<text class="label">邀请者</text>
|
|
|
- <text class="label right">{{ item['protemResourceGroupDetailList'] && item['protemResourceGroupDetailList'].length>0 ? item['protemResourceGroupDetailList'][0].protemCreatorName : '-' }}</text>
|
|
|
+ <text
|
|
|
+ class="label right">{{ item['protemResourceGroupDetailList'] && item['protemResourceGroupDetailList'].length>0 ? item['protemResourceGroupDetailList'][0].protemCreatorName : '-' }}</text>
|
|
|
</view>
|
|
|
- <view v-if="item.protemResourceGroupDetailList&& item.protemResourceGroupDetailList.length>0" class="item-info uni-row">
|
|
|
+ <view v-if="item.protemResourceGroupDetailList&& item.protemResourceGroupDetailList.length>0"
|
|
|
+ class="item-info uni-row">
|
|
|
<text class="label">已完成数量</text>
|
|
|
<text class="label right">{{ item['totalQuantity'] ? item['totalQuantity'] : 0 }}</text>
|
|
|
</view>
|
|
@@ -297,16 +300,18 @@
|
|
|
// console.log(normalStatus.value)
|
|
|
|
|
|
getDayWorkList(reqData).then(res => {
|
|
|
+ console.log(res.data)
|
|
|
if (res.code == 200) {
|
|
|
- res.data.forEach(item => {
|
|
|
- let quantitySum = 0;
|
|
|
- item.dayworkItemList.forEach(info => {
|
|
|
- if(info.status <4) {
|
|
|
- quantitySum += info.qualifiedNum;
|
|
|
- }
|
|
|
- });
|
|
|
- item.totalQuantity = quantitySum;
|
|
|
- });
|
|
|
+ res.data.forEach(item => {
|
|
|
+ let quantitySum = 0;
|
|
|
+ item.dayworkItemList.forEach(info => {
|
|
|
+ if (info.status < 4 && item.currentProcess.processStepNumber == info
|
|
|
+ .processStepNumber) {
|
|
|
+ quantitySum += info.qualifiedNum;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ item.totalQuantity = quantitySum;
|
|
|
+ });
|
|
|
tempList.value = res.data
|
|
|
// console.log(res)
|
|
|
if (normalStatus.value) {
|