|
@@ -7,7 +7,7 @@
|
|
<div>{{ item.productName}}</div>
|
|
<div>{{ item.productName}}</div>
|
|
<div>{{ item.productSchedulingNum }}</div>
|
|
<div>{{ item.productSchedulingNum }}</div>
|
|
<div>
|
|
<div>
|
|
- <p>{{ item.startDate.replace(/-/g, '') }}-{{ item.endDate.replace(/-/g, '') }}</p><span @click="workShowHide(index)">{{ item.flg ? paiArr[0] : paiArr[1] }}</span>
|
|
|
|
|
|
+ <p>{{ item.startDate.replace(/-/g, '') }}-{{ !item.endDate?"":item.endDate.replace(/-/g, '') }}</p><span @click="workShowHide(index)">{{ item.flg ? paiArr[0] : paiArr[1] }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<collapse>
|
|
<collapse>
|
|
@@ -101,7 +101,7 @@ export default {
|
|
departmentId: item.stationId,
|
|
departmentId: item.stationId,
|
|
titleText: this.titleText,
|
|
titleText: this.titleText,
|
|
type: this.type,
|
|
type: this.type,
|
|
- dates: item.startDate.replace(/-/g, '') +'-'+ item.endDate.replace(/-/g, ''),
|
|
|
|
|
|
+ dates: item.startDate.replace(/-/g, '') +'-'+ (!item.endDate?"":item.endDate.replace(/-/g, '')),
|
|
productSchedulingNum: item.productSchedulingNum,
|
|
productSchedulingNum: item.productSchedulingNum,
|
|
productName: item.productName,
|
|
productName: item.productName,
|
|
}
|
|
}
|