Browse Source

修改发料

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

4
mycomponents/item/itemQty.vue

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

42
pages/issue/job/issueDetail.vue

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

Loading…
Cancel
Save