修正很多東西
This commit is contained in:
@@ -246,7 +246,7 @@
|
||||
if (this.search_dialog.current.id == 'search7' || this.search_dialog.current.id == 'search8') {
|
||||
search['num'] = this.follower_id;
|
||||
}
|
||||
console.log("search_get", api_url, search, params, this.options);
|
||||
//console.log("search_get", api_url, search, params, this.options);
|
||||
this.search_dialog.loading = true
|
||||
axios.post(api_url, search, { params: params })
|
||||
.then(response => {
|
||||
@@ -337,7 +337,7 @@
|
||||
},
|
||||
multiPrintNew() {
|
||||
let list = []
|
||||
console.log("print_data.selected:",this.print_data.item);
|
||||
//console.log("print_data.selected:",this.print_data.item);
|
||||
this.print_data.selected.forEach(item => {
|
||||
list.push({
|
||||
num: item.num, print_id: item.print_id, order_no: item.order_no, from_id: item.from_id,
|
||||
@@ -406,6 +406,7 @@
|
||||
addHiddenField("title", `${item.act_item_selected} / ${item.subject}`);
|
||||
localStorage.setItem("item", item.act_item_selected?.val);
|
||||
localStorage.setItem("list", JSON.stringify(list));
|
||||
localStorage.setItem("mode","print");
|
||||
|
||||
document.body.appendChild(form); // Not entirely sure if this is necessary
|
||||
form.submit();
|
||||
|
||||
Reference in New Issue
Block a user