Commit 647e7828 authored by dragondean@qq.com's avatar dragondean@qq.com

路线价格和订单的bug

parent 67a22f44
...@@ -931,6 +931,9 @@ export default { ...@@ -931,6 +931,9 @@ export default {
if(updateChannel){ if(updateChannel){
this.$set(this, 'showWorkFlow', true) this.$set(this, 'showWorkFlow', true)
} }
},
'$route.query.transportType'(transportType){
this.$set(this.form, 'transportId', +transportType)
} }
}, },
activated(){ activated(){
......
...@@ -818,7 +818,7 @@ export default { ...@@ -818,7 +818,7 @@ export default {
this.loading = true this.loading = true
return updateProductPrice(data).then(res => { return updateProductPrice(data).then(res => {
this.$modal.msgSuccess(this.$t("请求成功")); this.$modal.msgSuccess(this.$t("请求成功"));
this.$router.back() this.$tab.closePage()
}).finally(res => this.loading = false) }).finally(res => this.loading = false)
} }
......
...@@ -732,7 +732,7 @@ export default { ...@@ -732,7 +732,7 @@ export default {
}, },
// 批量修改单个商品的价格(一条或者多条,后者全部路线) // 批量修改单个商品的价格(一条或者多条,后者全部路线)
batchSetSingleProductPrice(type){ batchSetSingleProductPrice(type){
this.$router.push(`../../lineProject/product-price/edit?action=batchUpdate&type=${type}&product_id=${this.$route.query.product_id}&ids=${this.ids}`) this.$router.push(`../../lineProject/product-price/edit-${type}?action=batchUpdate&type=${type}&product_id=${this.$route.query.product_id}&ids=${this.ids}`)
}, },
// 批量设置路线 // 批量设置路线
handleBatchEdit(type) { handleBatchEdit(type) {
......
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