疏文產生
This commit is contained in:
@@ -216,8 +216,8 @@
|
||||
{ name: "超薦2", path: "../../../admin/print/html/tablet-1B_new.svg" },
|
||||
{ name: "消災1", path: "../../../admin/print/html/tablet-2.svg" },
|
||||
{ name: "消災2", path: "../../../admin/print/html/tablet-2B.svg" },
|
||||
{ name: "消災3", path: "../../admin/print/html/tablet-2C.svg" },
|
||||
{ name: "消災4", path: "../../admin/print/html/tablet-2D.svg" }
|
||||
{ name: "消災3", path: "../../../admin/print/html/tablet-2C.svg" },
|
||||
{ name: "消災4", path: "../../../admin/print/html/tablet-2D.svg" }
|
||||
],
|
||||
async init() {
|
||||
// 載入常用片語
|
||||
@@ -239,6 +239,7 @@
|
||||
this.defaultStyle = response.data.data.defaultStyle;
|
||||
this.selected.style = response.data.data.defaultStyle;
|
||||
this.selectStyle.style = response.data.data.defaultStyle;
|
||||
console.log("GetActItem:",this.defaultStyle)
|
||||
$("#styleSel").val(this.defaultStyle);
|
||||
|
||||
//this.getStyle();
|
||||
@@ -333,11 +334,12 @@
|
||||
if (response.status == 200) {
|
||||
self.printData = response.data;
|
||||
self.printData.forEach(x => {
|
||||
console.log("GetDetailToPrint:",x.style);
|
||||
if (x.style != null && x.style != undefined) {
|
||||
self.selectStyle.style = x.style;
|
||||
self.selected.style = x.style;
|
||||
self.defaultStyle = x.style;
|
||||
$("#styleSel").val(x.style)
|
||||
//$("#styleSel").val(x.style)
|
||||
}
|
||||
if (x.f_num_tablet != "") {
|
||||
let tablet = JSON.parse(x.f_num_tablet);
|
||||
|
||||
Reference in New Issue
Block a user