ocpview-pro 0.1.24 → 0.1.25
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/ocpviewplus.min.esm.js +123 -118
- package/dist/ocpviewplus.min.js +17 -17
- package/package.json +1 -1
- package/src/components/masterplate/RewriteBillListDetails/BillListPanel.vue +1 -1
- package/src/components/masterplate/RewriteBillListDetails/BillListPanelTable.vue +2 -1
- package/src/components/masterplate/RewriteListdetails/BillListPanelV2.vue +1 -1
- package/src/components/masterplate/RewriteListdetails/BillListPanelV3.vue +1 -1
- package/src/components/masterplate/billquerygrid.vue +3 -2
package/package.json
CHANGED
|
@@ -312,11 +312,12 @@ export default {
|
|
|
312
312
|
type: "html",
|
|
313
313
|
formatter: (params) => {
|
|
314
314
|
const { row, cellValue } = params;
|
|
315
|
-
const
|
|
315
|
+
const valueData = this.$Method.formatValue(
|
|
316
316
|
cellValue,
|
|
317
317
|
row,
|
|
318
318
|
item
|
|
319
319
|
);
|
|
320
|
+
const valueFormat = this.$t(valueData);
|
|
320
321
|
const colorGroup = item._colorMap[cellValue];
|
|
321
322
|
if (colorGroup) {
|
|
322
323
|
const styleStr = Object.entries({
|
|
@@ -235,6 +235,7 @@ export default {
|
|
|
235
235
|
const code = params.row[fieldName];
|
|
236
236
|
const colorGroup = colorMap[code];
|
|
237
237
|
const text = this.$Method.formatComboBox(code, params.column);
|
|
238
|
+
const textF = this.$t(text);
|
|
238
239
|
if (colorGroup) {
|
|
239
240
|
const style = {
|
|
240
241
|
color: colorGroup.text || "",
|
|
@@ -244,9 +245,9 @@ export default {
|
|
|
244
245
|
borderRadius: "3px",
|
|
245
246
|
padding: "0 5px",
|
|
246
247
|
};
|
|
247
|
-
return h("span", { style },
|
|
248
|
+
return h("span", { style }, textF);
|
|
248
249
|
}
|
|
249
|
-
return h("span",
|
|
250
|
+
return h("span", textF);
|
|
250
251
|
};
|
|
251
252
|
el._colorMap = colorMap;
|
|
252
253
|
},
|