ts-glitter 15.7.7 → 15.7.8

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/lowcode/Entry.js CHANGED
@@ -80,7 +80,7 @@ export class Entry {
80
80
  }
81
81
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
82
82
  console.log(`Entry-time:`, window.renderClock.stop());
83
- glitter.share.editerVersion = 'V_15.7.7';
83
+ glitter.share.editerVersion = 'V_15.7.8';
84
84
  glitter.share.start = new Date();
85
85
  const vm = {
86
86
  appConfig: [],
package/lowcode/Entry.ts CHANGED
@@ -82,7 +82,7 @@ export class Entry {
82
82
 
83
83
  (window as any).renderClock = (window as any).renderClock ?? clockF();
84
84
  console.log(`Entry-time:`, (window as any).renderClock.stop());
85
- glitter.share.editerVersion = 'V_15.7.7';
85
+ glitter.share.editerVersion = 'V_15.7.8';
86
86
  glitter.share.start = new Date();
87
87
  const vm: {
88
88
  appConfig: any;
@@ -3096,13 +3096,15 @@ export class ShoppingOrderManager {
3096
3096
  }
3097
3097
  });
3098
3098
  }
3099
- if (orderData.proof_purchase === undefined || orderData.proof_purchase.paymentForm === undefined) {
3100
- return '發生錯誤';
3099
+ if (!['atm', 'line'].includes(orderData.customer_info.payment_select)) {
3100
+ if (orderData.proof_purchase === undefined || orderData.proof_purchase.paymentForm === undefined) {
3101
+ return '尚未回傳付款證明';
3102
+ }
3103
+ const paymentFormList = (_a = orderData.proof_purchase.paymentForm.list) !== null && _a !== void 0 ? _a : [];
3104
+ paymentFormList.map((item) => {
3105
+ array.push(`${item.title} : ${orderData.proof_purchase[item.key]}`);
3106
+ });
3101
3107
  }
3102
- const paymentFormList = (_a = orderData.proof_purchase.paymentForm.list) !== null && _a !== void 0 ? _a : [];
3103
- paymentFormList.map((item) => {
3104
- array.push(`${item.title} : ${orderData.proof_purchase[item.key]}`);
3105
- });
3106
3108
  return array.join(BgWidget.mbContainer(8)) || '尚未回傳付款證明';
3107
3109
  })()}
3108
3110
  </div>`;
@@ -3496,15 +3496,17 @@ export class ShoppingOrderManager {
3496
3496
  });
3497
3497
  }
3498
3498
 
3499
- if (orderData.proof_purchase === undefined || orderData.proof_purchase.paymentForm === undefined) {
3500
- return '發生錯誤';
3501
- }
3499
+ if(!['atm','line'].includes(orderData.customer_info.payment_select)){
3500
+ if (orderData.proof_purchase === undefined || orderData.proof_purchase.paymentForm === undefined) {
3501
+ return '尚未回傳付款證明';
3502
+ }
3502
3503
 
3503
- // 其他付款方式
3504
- const paymentFormList = orderData.proof_purchase.paymentForm.list ?? [];
3505
- paymentFormList.map((item: any) => {
3506
- array.push(`${item.title} : ${orderData.proof_purchase[item.key]}`);
3507
- });
3504
+ // 其他付款方式
3505
+ const paymentFormList = orderData.proof_purchase.paymentForm.list ?? [];
3506
+ paymentFormList.map((item: any) => {
3507
+ array.push(`${item.title} : ${orderData.proof_purchase[item.key]}`);
3508
+ });
3509
+ }
3508
3510
 
3509
3511
  return array.join(BgWidget.mbContainer(8)) || '尚未回傳付款證明';
3510
3512
  })()}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "15.7.7",
3
+ "version": "15.7.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {