Browse Source

修改发料

wms3.0_pda
niexiting 12 months ago
parent
commit
76559e92ec
  1. 4
      mycomponents/item/itemQty.vue
  2. 34
      pages/issue/job/issueDetail.vue

4
mycomponents/item/itemQty.vue

@ -20,11 +20,13 @@
<script>
import item from '@/mycomponents/item/item.vue'
import balanceQty from '@/mycomponents/qty/balanceQty.vue'
import compareQty from '@/mycomponents/qty/compareQty.vue'
export default {
components: {
item,
balanceQty
balanceQty,
compareQty
},
data() {
return {

34
pages/issue/job/issueDetail.vue

@ -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">
<view v-for="(toLocation, index) in detailSource">
<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'>
<u-line />
<com-issue-detail-card ref='comIssueDetailCard' :dataContent="toLocation" @updateData='updateData'>
</com-issue-detail-card>
</view>
</uni-collapse-item>
</uni-collapse>
</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) {

Loading…
Cancel
Save