|
|
@ -8,32 +8,23 @@ |
|
|
|
<view class="header_item"> |
|
|
|
申请单号 : {{jobContent.requestNumber}} |
|
|
|
</view> |
|
|
|
<u-line /> |
|
|
|
|
|
|
|
</view> |
|
|
|
<scroll-view scroll-y="true" class=""> |
|
|
|
<uni-collapse ref="mainCollapse" v-for="(toLocation, index) in detailSource"> |
|
|
|
<uni-collapse-item :open="true"> |
|
|
|
<template v-slot:title> |
|
|
|
<view> |
|
|
|
<com-issue-request-info :workShopCode="jobContent.workShopCode" |
|
|
|
:dataContent="toLocation"> |
|
|
|
</com-issue-request-info> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<view> |
|
|
|
<com-issue-detail-card ref='comIssueDetailCard' :dataContent="toLocation" |
|
|
|
@updateData='updateData'> |
|
|
|
</com-issue-detail-card> |
|
|
|
</view> |
|
|
|
</uni-collapse-item> |
|
|
|
</uni-collapse> |
|
|
|
<view v-for="(toLocation, index) in detailSource"> |
|
|
|
<com-issue-request-info :workShopCode="jobContent.workShopCode" :dataContent="toLocation"> |
|
|
|
</com-issue-request-info> |
|
|
|
<u-line /> |
|
|
|
<com-issue-detail-card ref='comIssueDetailCard' :dataContent="toLocation" @updateData='updateData'> |
|
|
|
</com-issue-detail-card> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<div class="btn_bottom"> |
|
|
|
<view class="" style="display: flex;flex-direction: row;"> |
|
|
|
<view class=""> |
|
|
|
<button class="btn_commit" hover-class="btn_commit_after" @click="resizeCollapse()">刷新UI</button> |
|
|
|
<!-- <button class="btn_commit" hover-class="btn_commit_after" @click="resizeCollapse()">刷新UI</button> --> |
|
|
|
<button class="btn_commit" hover-class="btn_commit_after" @click="submit()">提交</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -154,16 +145,15 @@ |
|
|
|
this.$refs.comIssueDetailCard.forEach(r => { |
|
|
|
r.resizeCollapse(); |
|
|
|
}) |
|
|
|
this.$refs.mainCollapse.forEach(r => { |
|
|
|
r.childrens.forEach(i => { |
|
|
|
i.init(); |
|
|
|
}) |
|
|
|
r.resize(); |
|
|
|
}) |
|
|
|
// this.$refs.mainCollapse.forEach(r => { |
|
|
|
// r.childrens.forEach(i => { |
|
|
|
// i.init(); |
|
|
|
// }) |
|
|
|
// r.resize(); |
|
|
|
// }) |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//接收 |
|
|
|
receive(callback) { |
|
|
|
if (this.id != null) { |
|
|
@ -391,7 +381,7 @@ |
|
|
|
}) |
|
|
|
} |
|
|
|
this.resizeCollapse(); |
|
|
|
item.handleQty=itemHandleQty; |
|
|
|
item.handleQty = itemHandleQty; |
|
|
|
}, |
|
|
|
|
|
|
|
scanPopupGetFocus() { |
|
|
|