Commit 5dfae10d authored by 邓春圆's avatar 邓春圆

调拨到仓 确认到仓,确认按钮没反应bug修复

parent dba07713
...@@ -345,6 +345,14 @@ export default { ...@@ -345,6 +345,14 @@ export default {
) )
}, },
submit2(val){ submit2(val){
if(val){
warehouseAdjustArrived(val ? this.toWarehouse : this.toWarehouseAbnormal).then(r => {
if(r.code === 0){
this.$message.success(this.$t('调拨到仓成功!'));
this.$tab.closeOpenPage({path:'/order/order'})
}
})
}else {
this.$refs.form2.validate( validate => { this.$refs.form2.validate( validate => {
if(validate){ if(validate){
warehouseAdjustArrived(val ? this.toWarehouse : this.toWarehouseAbnormal).then(r => { warehouseAdjustArrived(val ? this.toWarehouse : this.toWarehouseAbnormal).then(r => {
...@@ -354,8 +362,8 @@ export default { ...@@ -354,8 +362,8 @@ export default {
} }
}) })
} }
}) })
}
}, },
totalFn({ columns, data }){ totalFn({ columns, data }){
// 体积,数量,重量 W:入仓 // 体积,数量,重量 W:入仓
......
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