|
@@ -617,7 +617,7 @@ export default {
|
|
|
this.$refs.formRef.validate((valid, invalidFields, errLabels) => {
|
|
|
if (valid) {
|
|
|
offlineOrderSave({...this.formData, orderDetails: this.goodsList}).then(res => {
|
|
|
- if(this.formData.payType == 'WECHAT') {
|
|
|
+ if(this.formData.payType == 'WECHAT' && this.formDialogType == 0) {
|
|
|
offlineOrderExamine({
|
|
|
orderId: res.data,
|
|
|
examineStatus: 'OK',
|
|
@@ -631,6 +631,10 @@ export default {
|
|
|
this.$refs.pageRef.refreshList()
|
|
|
}
|
|
|
})
|
|
|
+ }else {
|
|
|
+ this.$message({ type: 'success', message: `${this.formDialogTitles[this.formDialogType]}成功!` })
|
|
|
+ cancel('list')
|
|
|
+ this.$refs.pageRef.refreshList()
|
|
|
}
|
|
|
})
|
|
|
}
|