|
@@ -479,7 +479,6 @@ export default {
|
|
|
return false
|
|
return false
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
let name = '确认提交'
|
|
let name = '确认提交'
|
|
|
if(this.form.hasPay == 1){
|
|
if(this.form.hasPay == 1){
|
|
|
name = '确认线下付款?'
|
|
name = '确认线下付款?'
|
|
@@ -489,7 +488,6 @@ export default {
|
|
|
name = '确认提交'
|
|
name = '确认提交'
|
|
|
}
|
|
}
|
|
|
this.$confirm(name, '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => {
|
|
this.$confirm(name, '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => {
|
|
|
-
|
|
|
|
|
that.$service.order.orderCreate(params).then(data => {
|
|
that.$service.order.orderCreate(params).then(data => {
|
|
|
if(data.respondType && data.respondType == 'priceError'){
|
|
if(data.respondType && data.respondType == 'priceError'){
|
|
|
that.diffList = data.diff ? data.diff : []
|
|
that.diffList = data.diff ? data.diff : []
|
|
@@ -498,19 +496,24 @@ export default {
|
|
|
that.$nextTick(()=>{
|
|
that.$nextTick(()=>{
|
|
|
that.selectList = [];
|
|
that.selectList = [];
|
|
|
that.diffList = []
|
|
that.diffList = []
|
|
|
- that.formReset()
|
|
|
|
|
that.removeFromSaveDirect()
|
|
that.removeFromSaveDirect()
|
|
|
that.showCommitPop = false;
|
|
that.showCommitPop = false;
|
|
|
- that.escFun();
|
|
|
|
|
|
|
+ that.$notify({ title: '成功', message: '开单成功', type: 'success'})
|
|
|
|
|
+ that.escFun()
|
|
|
|
|
+ setTimeout(function(){
|
|
|
|
|
+ that.formReset()
|
|
|
|
|
+ },900)
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
formReset(){
|
|
formReset(){
|
|
|
this.form.customId = 0
|
|
this.form.customId = 0
|
|
|
this.form.customName = ''
|
|
this.form.customName = ''
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
|
+ this.$refs.customref.focus()
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
clearSeachVal(){
|
|
clearSeachVal(){
|
|
|
this.searchVal = ''
|
|
this.searchVal = ''
|