|
@@ -107,6 +107,7 @@ export default {
|
|
storeEmailAsDefault: (state) => state.invoice.emailAsDefault,
|
|
storeEmailAsDefault: (state) => state.invoice.emailAsDefault,
|
|
storeRemark: (state) => state.invoice.remark,
|
|
storeRemark: (state) => state.invoice.remark,
|
|
storeOldRemark: (state) => state.invoice.oldrRemark,
|
|
storeOldRemark: (state) => state.invoice.oldrRemark,
|
|
|
|
+ source: (state) => state.source, // 来源
|
|
}),
|
|
}),
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -259,6 +260,40 @@ export default {
|
|
},
|
|
},
|
|
storeRemarkChange() {
|
|
storeRemarkChange() {
|
|
this.$store.commit('invoice/set_remark', this.condition.remark);
|
|
this.$store.commit('invoice/set_remark', this.condition.remark);
|
|
|
|
+ },
|
|
|
|
+ submitTest(type) {
|
|
|
|
+ if(type === 'H5') {
|
|
|
|
+ this.$router.replace({
|
|
|
|
+ path: 'parkingReceipt',
|
|
|
|
+ });
|
|
|
|
+ this.$router.go(-1)
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ if(type === '小程序1') {
|
|
|
|
+ this.$router.replace({
|
|
|
|
+ path: 'parkingReceipt',
|
|
|
|
+ });
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.$router.go(-1)
|
|
|
|
+ },200)
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ if(type === '小程序2') {
|
|
|
|
+ this.$router.replace({
|
|
|
|
+ path: 'parkingReceipt',
|
|
|
|
+ });
|
|
|
|
+ this.$router.back()
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ if(type === '小程序3') {
|
|
|
|
+ this.$router.replace({
|
|
|
|
+ path: 'parkingReceipt',
|
|
|
|
+ });
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.$router.back()
|
|
|
|
+ },200)
|
|
|
|
+ return
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
};
|
|
};
|