|
@@ -354,9 +354,6 @@ export default {
|
|
|
|
|
|
|
|
// 根据店铺ID获取小票模板数据
|
|
// 根据店铺ID获取小票模板数据
|
|
|
this.getModelDatas();
|
|
this.getModelDatas();
|
|
|
-
|
|
|
|
|
- // this.test2();
|
|
|
|
|
- // this.test3();
|
|
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
// 基本信息
|
|
// 基本信息
|
|
@@ -377,25 +374,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- async test2() {
|
|
|
|
|
- const res = await this.$http({
|
|
|
|
|
- url: this.$http.adornUrl("/admin/printInfo/getPrintInfo"),
|
|
|
|
|
- params: this.$http.adornParams({
|
|
|
|
|
- id: 1
|
|
|
|
|
- })
|
|
|
|
|
- });
|
|
|
|
|
- // console.log(res);
|
|
|
|
|
- },
|
|
|
|
|
- async test3() {
|
|
|
|
|
- const res = await this.$http({
|
|
|
|
|
- url: this.$http.adornUrl("/admin/printInfo/getPrintInfoList"),
|
|
|
|
|
- params: this.$http.adornParams({
|
|
|
|
|
- page: 1,
|
|
|
|
|
- limit: 6
|
|
|
|
|
- })
|
|
|
|
|
- });
|
|
|
|
|
- // console.log(res);
|
|
|
|
|
- },
|
|
|
|
|
// 根据店铺ID获取小票模板数据
|
|
// 根据店铺ID获取小票模板数据
|
|
|
async getModelDatas() {
|
|
async getModelDatas() {
|
|
|
const res = await this.$http({
|
|
const res = await this.$http({
|