|
|
|
@ -217,7 +217,15 @@
|
|
|
|
<view class="list-container" v-if="pallet&&pallet.instdetailList">
|
|
|
|
<view class="list-container" v-if="pallet&&pallet.instdetailList">
|
|
|
|
<view v-for="(item, index) in pallet.instdetailList" :key="index" class="list-item">
|
|
|
|
<view v-for="(item, index) in pallet.instdetailList" :key="index" class="list-item">
|
|
|
|
|
|
|
|
|
|
|
|
<view class="item-header" @click="gotocxDetail(item.instno,item.project)">
|
|
|
|
<view class="item-header" @click="()=>{
|
|
|
|
|
|
|
|
let code=item.instno;
|
|
|
|
|
|
|
|
let type='2'
|
|
|
|
|
|
|
|
if(!code){
|
|
|
|
|
|
|
|
code=item.dwgn
|
|
|
|
|
|
|
|
type='1'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
gotocxDetail(code,item.project,type)
|
|
|
|
|
|
|
|
}">
|
|
|
|
<text class="item-tip">{{ item.groupDesc }} ({{ item.qty?parseInt(item.qty):'0'}})</text>
|
|
|
|
<text class="item-tip">{{ item.groupDesc }} ({{ item.qty?parseInt(item.qty):'0'}})</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
@ -433,9 +441,9 @@
|
|
|
|
immediate: true, // 初次监听即执行
|
|
|
|
immediate: true, // 初次监听即执行
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
gotocxDetail(instno,project){
|
|
|
|
gotocxDetail(instno,project,type){
|
|
|
|
uni.navigateTo({
|
|
|
|
uni.navigateTo({
|
|
|
|
url: `/pages/pallet/tpcxtk?instno=${instno}&project=${project}`
|
|
|
|
url: `/pages/pallet/tpcxtk?instno=${instno}&project=${project}&type={type}`
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
_initDetail(palletAll = this.palletAll) {
|
|
|
|
_initDetail(palletAll = this.palletAll) {
|
|
|
|
|