'关注商品时,新增库存默认值'

This commit is contained in:
wtq
2025-12-29 10:07:17 +08:00
parent cf85139805
commit ff3a927c95
2 changed files with 4 additions and 7 deletions

View File

@@ -123,7 +123,7 @@ export default {
},
created() {
// this.skus = JSON.parse(JSON.stringify(this.skuName.skus));
this.skus = this.skuName.skus.map(item => {return {...item,locationCode:""}})
this.skus = this.skuName.skus.map(item => {return {...item,locationCode:"",stock:20}})
},
methods: {
// 关闭dialog

View File

@@ -452,17 +452,14 @@
</div>
</div>
</el-table-column>
<el-table-column label="配送信息" align="center" header-align="" min-width="120">
<!-- <el-table-column label="配送信息" align="center" header-align="" min-width="120">
<div slot-scope="scope">
<el-popover :refs="scope.row.vendorOrderID" placement="right" @show="handleGetWaybillDetail(scope.row)"
trigger="click">
<!-- 转过的订单 -->
<!-- 请求信息 -->
<div v-loading="waybillLoading" style="min-height: 100px;">
<!-- 配送信息 820177478000021 8/22 -->
<CMPWaybillInfo :currentWaybill="currentWaybill"></CMPWaybillInfo>
</div>
<!-- 请求信息 -->
<div slot="reference">
<div class="hover-click" style="line-height: 1;">
<div>{{ $store.state.serverInfo.vendorName[scope.row.waybillVendorID] }} {{ scope.row.courierName }}</div>
@@ -471,7 +468,7 @@
</div>
</el-popover>
</div>
</el-table-column>
</el-table-column> -->
</el-table>
</div>