|
@@ -89,10 +89,16 @@ export default {
|
|
|
formDialogTitles: ['新增', '编辑', '详情'],
|
|
|
formDialog: false,
|
|
|
id: '',
|
|
|
- flag: this?.$route?.params?.pageCode || '',
|
|
|
+ flag: !!~['SAVE', 'SUBMIT', 'PAY_NOT_TAKE', 'PAY_TAKE', 'CANCEL'].indexOf(this?.$route?.params?.pageCode)
|
|
|
+ ? this?.$route?.params?.pageCode
|
|
|
+ : '',
|
|
|
+ orderEnginBaseId: !~['SAVE', 'SUBMIT', 'PAY_NOT_TAKE', 'PAY_TAKE', 'CANCEL'].indexOf(
|
|
|
+ this?.$route?.params?.pageCode
|
|
|
+ )
|
|
|
+ ? this?.$route?.params?.pageCode
|
|
|
+ : '',
|
|
|
websitList: [],
|
|
|
isShowTab: true,
|
|
|
- orderEnginBaseId: '',
|
|
|
payQrcode: JSON.parse(localStorage.getItem('greemall_user')).payQrcode,
|
|
|
billTitle: JSON.parse(localStorage.getItem('greemall_user')).billTitle, //打印名称
|
|
|
showImportResult: false,
|
|
@@ -157,17 +163,6 @@ export default {
|
|
|
this.formDialogType = 2
|
|
|
this.openForm()
|
|
|
}
|
|
|
- if (this.pageCode) {
|
|
|
- this.orderEnginBaseId = this.pageCode
|
|
|
- }
|
|
|
- },
|
|
|
- watch: {
|
|
|
- flag() {
|
|
|
- this.isShowTab = false
|
|
|
- this.$nextTick(() => {
|
|
|
- this.isShowTab = true
|
|
|
- })
|
|
|
- }
|
|
|
},
|
|
|
methods: {
|
|
|
// 切换状态
|