seimin 1 rok temu
rodzic
commit
e0985b4477

+ 1 - 1
src/app/views/barcode-prefabrication/barcode-prefabrication.component.ts

@@ -103,7 +103,7 @@ export class BarcodePrefabricationComponent implements OnInit {
103
   // 获取序号名称
103
   // 获取序号名称
104
   snConfigs: Array<any> = [];
104
   snConfigs: Array<any> = [];
105
   getSnConfigs(keyword = "") {
105
   getSnConfigs(keyword = "") {
106
-    this.mainService.getFetchDataList("simple/data", "serialnumberConfig", {idx: 0, sum: 9999, precastCode: { hosId: this.hosId, title: keyword }}).subscribe((data) => {
106
+    this.mainService.getFetchDataList("simple/data", "serialnumberConfig", {idx: 0, sum: 9999, serialnumberConfig: { hosId: this.hosId, title: keyword }}).subscribe((data) => {
107
       this.isLoading = false;
107
       this.isLoading = false;
108
       this.snConfigs = data.list || [];
108
       this.snConfigs = data.list || [];
109
     });
109
     });