ocpview-pro 0.1.12 → 0.1.13
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.
- package/dist/index.js +13 -3
- package/dist/ocpviewplus.min.js +2 -2
- package/package.json +1 -1
- package/src/components/masterplate/RewriteBillListDetails/BillInfoPanelEditTable.vue +2 -0
- package/src/components/masterplate/RewriteBillListDetails/BillListPanelTable.vue +7 -2
- package/src/method/const/const.js +2 -0
package/dist/index.js
CHANGED
|
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
|
|
|
453
453
|
common.initAnchor(ViewUI2.Anchor);
|
|
454
454
|
};
|
|
455
455
|
const name = "ocpview-pro";
|
|
456
|
-
const version$2 = "0.1.
|
|
456
|
+
const version$2 = "0.1.12";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -2617,6 +2617,8 @@ commom.formatNumber = function(value, style2, notzero) {
|
|
|
2617
2617
|
if (style2.startsWith("p")) {
|
|
2618
2618
|
result = result + "%";
|
|
2619
2619
|
}
|
|
2620
|
+
if (Number(result) === 0)
|
|
2621
|
+
result = result.replace("-", "");
|
|
2620
2622
|
return result;
|
|
2621
2623
|
};
|
|
2622
2624
|
commom.precisionNumber = function(value, style2) {
|
|
@@ -45256,11 +45258,14 @@ const _sfc_main$f = {
|
|
|
45256
45258
|
const format3 = columnConfig2 == null ? void 0 : columnConfig2.format;
|
|
45257
45259
|
const notzero2 = columnConfig2 == null ? void 0 : columnConfig2.notzero;
|
|
45258
45260
|
const rawValue = serverValue === 0 ? 0 : serverValue;
|
|
45259
|
-
|
|
45261
|
+
const result = this.$Method.formatNumber(
|
|
45260
45262
|
rawValue,
|
|
45261
45263
|
format3,
|
|
45262
45264
|
notzero2
|
|
45263
45265
|
);
|
|
45266
|
+
if (result === "-0.00" || result === "-0")
|
|
45267
|
+
return "0.00";
|
|
45268
|
+
return result;
|
|
45264
45269
|
}
|
|
45265
45270
|
const sumData = this.handleSumField({
|
|
45266
45271
|
list: this.tempData,
|
|
@@ -45271,11 +45276,14 @@ const _sfc_main$f = {
|
|
|
45271
45276
|
);
|
|
45272
45277
|
const format2 = columnConfig == null ? void 0 : columnConfig.format;
|
|
45273
45278
|
const notzero = columnConfig == null ? void 0 : columnConfig.notzero;
|
|
45274
|
-
|
|
45279
|
+
const result2 = this.$Method.formatNumber(
|
|
45275
45280
|
sumData,
|
|
45276
45281
|
format2,
|
|
45277
45282
|
notzero
|
|
45278
45283
|
);
|
|
45284
|
+
if (result2 === "-0.00" || result2 === "-0")
|
|
45285
|
+
return "0.00";
|
|
45286
|
+
return result2;
|
|
45279
45287
|
}
|
|
45280
45288
|
return null;
|
|
45281
45289
|
})
|
|
@@ -46471,6 +46479,8 @@ const _sfc_main$b = {
|
|
|
46471
46479
|
format2,
|
|
46472
46480
|
notzero
|
|
46473
46481
|
);
|
|
46482
|
+
if (formatSumData === "-0.00" || formatSumData === "-0")
|
|
46483
|
+
return "0.00";
|
|
46474
46484
|
return formatSumData;
|
|
46475
46485
|
}
|
|
46476
46486
|
return null;
|