Commit 0b36eb6d authored by “yiyousong”'s avatar “yiyousong”

pref:修改填单报表

parent 8fdb0447
...@@ -477,6 +477,7 @@ export default { ...@@ -477,6 +477,7 @@ export default {
...this.searchForm, ...this.searchForm,
}).then((res) => { }).then((res) => {
let { data } = res.data; let { data } = res.data;
if (!data.length) return;
for (let item of data) { for (let item of data) {
Object.keys(obj).forEach((key) => { Object.keys(obj).forEach((key) => {
if (item.style == key) { if (item.style == key) {
......
...@@ -464,6 +464,7 @@ export default { ...@@ -464,6 +464,7 @@ export default {
...this.searchForm, ...this.searchForm,
}).then((res) => { }).then((res) => {
let { data } = res.data; let { data } = res.data;
if (!data.length) return;
for (let item of data) { for (let item of data) {
Object.keys(obj).forEach((key) => { Object.keys(obj).forEach((key) => {
if (item.style == key) { if (item.style == key) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment