kz-ui-base 1.0.143 → 1.0.145

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -277,3 +277,11 @@ export const generateProductCodeByMo = (prodReportIds = []) =>
277
277
  method: 'post',
278
278
  data: prodReportIds
279
279
  })
280
+
281
+ export function dailyProductionInformation(query) {
282
+ return moduleRequest({
283
+ url: '/order-execute-api/daily-production-information',
284
+ method: 'get',
285
+ params: query
286
+ })
287
+ }
@@ -528,6 +528,7 @@ const realPrint = (option) => {
528
528
  };
529
529
  var template = option.template;
530
530
  var entity = option.entity;
531
+ var Detail=option.Detail;
531
532
  var paramData = option.paramData || { "_temp": "_temp" };
532
533
 
533
534
  var templateContent = JSON.parse(option.template.templateContent);
@@ -562,7 +563,7 @@ const realPrint = (option) => {
562
563
  barcodes: settings.barcodes,
563
564
  data: {
564
565
  Master: [paramData],
565
- Detail:[]
566
+ Detail:Detail?[...Detail]:[]
566
567
  },
567
568
  };
568
569
  let ajaxRequests = [];
@@ -72,7 +72,7 @@ export default {
72
72
  },
73
73
  methods: {
74
74
  formatInput() {
75
- const decimalPlace = this.decimalPlace || 0; // 默认小数位数为0
75
+ const decimalPlace = Number(this.decimalPlace) || 0; // 默认小数位数为0
76
76
  // 格式化输入值
77
77
  this.stateValue = this.stateValue
78
78
  .replace(/[^\d.]/g, '') // 只保留数字和小数点
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kz-ui-base",
3
- "version": "1.0.143",
3
+ "version": "1.0.145",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {