ocpview-pro 0.0.8 → 0.0.9
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.
|
@@ -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.0.
|
|
456
|
+
const version$2 = "0.0.8";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -42597,22 +42597,24 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42597
42597
|
]);
|
|
42598
42598
|
}
|
|
42599
42599
|
var mBillImport = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$E], ["__scopeId", "data-v-c9d051ae"]]);
|
|
42600
|
+
const CONTRACT_URL_TEMPLATE = "/widgetmodelv3/#/contract-template-create?token={token}&modulecode={modulecode}&contno={contno}&billno={billno}";
|
|
42600
42601
|
var ContractPrintMixins = {
|
|
42601
42602
|
data() {
|
|
42602
42603
|
return {
|
|
42603
42604
|
ContractModalWidth: 50,
|
|
42604
42605
|
ContractModalShowType: false,
|
|
42605
42606
|
ContractModalContentShowType: false,
|
|
42606
|
-
ContractModalIframeUrl: "
|
|
42607
|
+
ContractModalIframeUrl: ""
|
|
42607
42608
|
};
|
|
42608
42609
|
},
|
|
42609
42610
|
methods: {
|
|
42610
|
-
StartContractPrint({
|
|
42611
|
+
StartContractPrint({
|
|
42612
|
+
modulecode = "",
|
|
42613
|
+
contno = "1",
|
|
42614
|
+
billno = "1"
|
|
42615
|
+
} = {}) {
|
|
42611
42616
|
const token = this.getToken();
|
|
42612
|
-
this.ContractModalIframeUrl =
|
|
42613
|
-
"{token}",
|
|
42614
|
-
token
|
|
42615
|
-
).replace("{modulecode}", modulecode).replace("{contno}", contno);
|
|
42617
|
+
this.ContractModalIframeUrl = CONTRACT_URL_TEMPLATE.replace("{token}", token).replace("{modulecode}", modulecode).replace("{contno}", contno).replace("{billno}", billno);
|
|
42616
42618
|
this.ContractModalShowType = true;
|
|
42617
42619
|
this.$nextTick(() => {
|
|
42618
42620
|
this.ContractModalContentShowType = true;
|