pda未收=收货

master
Mr.sun 2 years ago
parent 5e41ba0ccb
commit c05745b568
  1. 8
      pages/checkAccept/index.vue
  2. 3
      pages/receive/index.vue
  3. 3
      pages/receive/receiveHomeWorks/receiveHomeWork.vue

@ -9,10 +9,8 @@
</u-form> </u-form>
</view> </view>
<!-- {{data}} --> <!-- {{data}} -->
<view class="sh-card-center"> <view class="sh-card-center">
<view class="sh-card" v-for="(item, index) in dataList" :key="item.id" :index="item.id" <view class="sh-card" v-for="(item, index) in dataList" :key="item.id" :index="item.id"
v-if="dataList.length > 0"> v-if="dataList.length > 0">
@ -63,7 +61,7 @@
<u-icon size="40" name="../../static/icon/bg-right.png" @click="goodDetail(item.sid, item.id)"></u-icon> <u-icon size="40" name="../../static/icon/bg-right.png" @click="goodDetail(item.sid, item.id)"></u-icon>
</view> </view>
</view> </view>
<u-empty class="no-list" mode="list" v-else> <u-empty class="no-list" mode="list" v-else>
</u-empty> </u-empty>
@ -113,7 +111,6 @@
}, },
onLoad() { onLoad() {
// uni.startPullDownRefresh()\
this.dataList =[] this.dataList =[]
this.getDataList(); this.getDataList();
this.getDic() this.getDic()
@ -129,7 +126,6 @@
}, 100); }, 100);
}, },
onShow() { onShow() {
// uni.startPullDownRefresh()
var pages = getCurrentPages(); // var pages = getCurrentPages(); //
var currentPage = pages[pages.length - 1]; // var currentPage = pages[pages.length - 1]; //
// console.log(this.refreshIfNeeded) // console.log(this.refreshIfNeeded)

@ -55,6 +55,7 @@
</view> </view>
<view class="sh-card-content" v-for="(item2, index2) in item.businInOrderDVos" :key="item2.id" <view class="sh-card-content" v-for="(item2, index2) in item.businInOrderDVos" :key="item2.id"
:index="item2.id"> :index="item2.id">
<view class="pad-content" :class="{'sh-card-title-border':(index2 + 1) < item.businInOrderDVos.length}"> <view class="pad-content" :class="{'sh-card-title-border':(index2 + 1) < item.businInOrderDVos.length}">
<!-- :name="item.name" --> <!-- :name="item.name" -->
<!-- <checkbox v-if="" class="pad-checked" ref="testDom" :checked="item2.isChcked" @click="handleData(item2,index)" /> --> <!-- <checkbox v-if="" class="pad-checked" ref="testDom" :checked="item2.isChcked" @click="handleData(item2,index)" /> -->
@ -276,7 +277,7 @@ import { nextTick } from "vue";
bgGoodNo:item.bgGoodNo, bgGoodNo:item.bgGoodNo,
bgSpecifications:item.bgSpecifications, bgSpecifications:item.bgSpecifications,
bgGoodName:item.bgGoodName, bgGoodName:item.bgGoodName,
actualQty:0, actualQty:item.ableQty,
packageQty:0 packageQty:0
}; };
// {orderNo: item.orderNo,id:item.sid,ableQty:item.ableQty,allactualQty:Number(item.actualQty), // {orderNo: item.orderNo,id:item.sid,ableQty:item.ableQty,allactualQty:Number(item.actualQty),

@ -133,7 +133,8 @@
this.detailIds =JSON.parse(option?.detailIds) this.detailIds =JSON.parse(option?.detailIds)
this.orderNoList =JSON.parse(option?.orderNoList) this.orderNoList =JSON.parse(option?.orderNoList)
// this.allableQty = option?.allableQty // this.allableQty = option?.allableQty
this.allactualQty = option?.actualQty // this.allactualQty = option?.actualQty
this.allactualQty= option?.allableQty
if (option.packageId) { if (option.packageId) {
this.dataForm.packageId = option.packageId this.dataForm.packageId = option.packageId
} }

Loading…
Cancel
Save