no message

This commit is contained in:
2025-07-11 15:03:32 +08:00
parent 7228eeb9ff
commit 06e9e44c8a
2 changed files with 32 additions and 10 deletions

View File

@@ -20,9 +20,9 @@
<tr>
<th>选择</th>
<th class="th_2">订单号</th>
<th>客户名称</th>
<th><view style="width: 240rpx;">客户名称</view></th>
<th>子卷号</th>
<th>子卷规格</th>
<th><view style="width: 240rpx;">子卷规格</view></th>
<th>子卷重量</th>
<th>子管重量</th>
<th>木箱料号</th>
@@ -32,9 +32,9 @@
<tr v-for="(e, i) in dataList" :key="i">
<td><span class="iconfont icon_minus-filled" @click="toCheck(e, i)">&minus;</span></td>
<td class="td_2">{{e.sale_order_name}}</td>
<td>{{e.customer_description}}</td>
<td class="wrap">{{e.customer_description}}</td>
<td>{{e.container_name}}</td>
<td>{{e.paper_tube_description}}</td>
<td class="wrap">{{e.paper_tube_description}}</td>
<td>{{e.paper_weight}}</td>
<td>{{e.box_weight}}</td>
<td>{{e.box_type}}</td>
@@ -65,7 +65,7 @@
<thead>
<tr>
<th>木箱规格</th>
<th>物料名称</th>
<th><view style="width: 240rpx;">物料名称</view></th>
<th>木箱长度</th>
<th>木箱宽度</th>
<th>木箱高度</th>
@@ -76,7 +76,7 @@
<tbody>
<tr v-for="(e, i) in popData" :key="'pop' + i" @click="popCheck(e)" :class="{'checked': e.material_code === pkId}">
<td>{{e.material_code}}</td>
<td>{{e.material_name}}</td>
<td class="wrap">{{e.material_name}}</td>
<td>{{e.box_length}}</td>
<td>{{e.box_width}}</td>
<td>{{e.box_high}}</td>
@@ -257,9 +257,13 @@
this._queryBoxSpec(e)
} else {
this.popData = []
this.pkId = ''
this.pkObj = {}
}
},
async _queryBoxSpec (e) {
this.pkId = ''
this.pkObj = {}
let res = await queryBoxSpec(e)
if (res.code === 200) {
this.popData = [...res.content]
@@ -292,6 +296,9 @@
}
},
popSure () {
if (!this.pkId) {
return
}
if (this.dataList.length > Number(this.pkObj.num)) {
uni.showToast({
title: '子卷数量超过木箱的最大装卷数!',