Commit 2cdc5411 authored by Marcus's avatar Marcus

http://zentao.jdshangmen.com/bug-view-1803.html

一个订单多个商品,后面的商品首次入仓会自动填充前面的品牌  拆单后的订单,已入仓后,进行入仓修改,只有修改标签的位置,没有提交修改的按钮。原来入仓修改是有修改箱号的按钮,需要还原
parent 5c7fc1e5
......@@ -102,9 +102,9 @@
<el-button icon="el-icon-minus" circle v-show="index !== 0" @click="label.orderLabelDtoList.splice(index, 1)" style="margin-left: 10px"></el-button>
<el-button icon="el-icon-plus" circle @click="handleLabelAdd(index)"></el-button>
</div>
<!-- <div style="text-align: center">-->
<!-- <el-button type="primary" @click="handleLabelSubmit">{{$t('修改箱号')}}</el-button>-->
<!-- </div>-->
<div style="text-align: center">
<el-button type="primary" @click="handleLabelSubmit">{{$t('修改箱号')}}</el-button>
</div>
</el-card>
<h2 v-if="orderSpecialNeeds.length > 0">{{$t('特殊需求')}}</h2>
......@@ -294,16 +294,16 @@ export default {
return arr.indexOf(state) == -1
}
},
// handleLabelSubmit(){
// orderWarehouseInUpdateLabel({
// ...this.label,
// orderId: this.orderId
// }).then(r => {
// if (r.code === 0){
// this.$message.success(r.msg || this.$t('修改标签箱号成功'))
// }
// })
// },
handleLabelSubmit(){
orderWarehouseInUpdateLabel({
...this.label,
orderId: this.orderId
}).then(r => {
if (r.code === 0){
this.$message.success(r.msg || this.$t('修改标签箱号成功'))
}
})
},
// 箱号标签回显
getLabelByOrder(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment