Commit fbcd9094 authored by zhengyi's avatar zhengyi

复制订单逻辑修改

parent c298c59d
......@@ -1154,6 +1154,7 @@ export default {
link:'',
conIndex:-1,
orderId:0,
copy:false,
unitType:[],
currencyType:[],
lineMethod: false,
......@@ -1206,6 +1207,7 @@ export default {
await this.$nextTick()
this.orderId = op.id
if (op.copy && op.copy == 1){
this.copy = true
this.getOrderData(op.id, true)
}else {
this.getOrderData(op.id, false)
......@@ -3220,7 +3222,8 @@ export default {
},
createOrder(){
this.closePayNotice()
if(this.orderId>0){
if(this.orderId > 0 && !this.copy){
// 订单id大于0,且不是复制订单,则调用编辑订单业务
this.updateOrder()
}else{
this.creatOrder()
......
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