|
|
@@ -65,8 +65,8 @@
|
|
|
<text class="info-value">{{ getCreateBy(item) }}</text>
|
|
|
</view>
|
|
|
<view class="info-item">
|
|
|
- <text class="info-label">领用人</text>
|
|
|
- <text class="info-value">{{ getReceiverUser(item) }}</text>
|
|
|
+ <text class="info-label">领用对象</text>
|
|
|
+ <text class="info-value">{{ getReceiverDept(item)}}{{ getReceiverUser(item) }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="info-row">
|
|
|
@@ -164,8 +164,16 @@
|
|
|
if (item == null) return ''
|
|
|
const jsonItem = item as UTSJSONObject
|
|
|
const val = jsonItem['receiverUser']
|
|
|
- return val != null ? val.toString() : ''
|
|
|
+ return val != null ? '-' + val.toString() : ''
|
|
|
}
|
|
|
+
|
|
|
+ // 获取领用部门
|
|
|
+ const getReceiverDept = (item: any | null): string => {
|
|
|
+ if (item == null) return ''
|
|
|
+ const jsonItem = item as UTSJSONObject
|
|
|
+ const val = jsonItem['receiverDept']
|
|
|
+ return val != null ? val.toString() : ''
|
|
|
+ }
|
|
|
|
|
|
// 获取创建时间
|
|
|
const getCreateTime = (item: any | null): string => {
|