gm-printer 10.27.4 → 10.27.6
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/package.json
CHANGED
|
@@ -217,7 +217,10 @@ class EditorStore {
|
|
|
217
217
|
@action
|
|
218
218
|
init(config, data) {
|
|
219
219
|
// batchPrintConfig: 1 不连续打印(一张采购单不出现多供应商)2 连续打印(一张采购单可能出现多个供应商)
|
|
220
|
-
this.config = Object.assign(
|
|
220
|
+
this.config = Object.assign(
|
|
221
|
+
{ batchPrintConfig: 1, isFixLastFooter: true },
|
|
222
|
+
config
|
|
223
|
+
)
|
|
221
224
|
this.originConfig = config
|
|
222
225
|
this.selected = null
|
|
223
226
|
this.selectedRegion = null
|
package/src/printer/printer.js
CHANGED
|
@@ -223,13 +223,13 @@ class Printer extends React.Component {
|
|
|
223
223
|
config={config.sign}
|
|
224
224
|
pageIndex={i}
|
|
225
225
|
style={{ bottom: config.footer.style.height }}
|
|
226
|
-
flag={isLastPage && config?.isFixLastFooter}
|
|
226
|
+
flag={isLastPage && config?.isFixLastFooter !== false}
|
|
227
227
|
/>
|
|
228
228
|
)}
|
|
229
229
|
<Footer
|
|
230
230
|
config={config.footer}
|
|
231
231
|
pageIndex={i}
|
|
232
|
-
flag={isLastPage && config?.isFixLastFooter}
|
|
232
|
+
flag={isLastPage && config?.isFixLastFooter !== false}
|
|
233
233
|
/>
|
|
234
234
|
</Page>
|
|
235
235
|
)
|