@yoooloo42/joker 1.0.256 → 1.0.258

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.esm.js CHANGED
@@ -23024,6 +23024,7 @@ const submitInsertOne = async _ref10 => {
23024
23024
  cancelButtonText: '取消',
23025
23025
  type: 'warning' // 警告图标
23026
23026
  });
23027
+ console.log('joker测试 000', scopeThis.formData);
23027
23028
  const result = await ly0request.storpro({
23028
23029
  storproName: scopeThis.storpro.insertOne,
23029
23030
  data: scopeThis.formData,
@@ -47664,26 +47665,26 @@ var tableProps = {
47664
47665
  scopeThis
47665
47666
  });
47666
47667
  }
47667
- }, {
47668
- title: "新增",
47669
- hdlDisabled(_ref4) {
47670
- let {
47671
- scopeThis,
47672
- item,
47673
- index
47674
- } = _ref4;
47675
- return scopeThis.initBox.readOnly;
47676
- },
47677
- handle(_ref5) {
47678
- let {
47679
- scopeThis,
47680
- index
47681
- } = _ref5;
47682
- withTable.popupInsertOne({
47683
- scopeThis
47684
- });
47685
- }
47686
47668
  }]
47669
+ }, {
47670
+ title: "新增",
47671
+ hdlDisabled(_ref4) {
47672
+ let {
47673
+ scopeThis,
47674
+ item,
47675
+ index
47676
+ } = _ref4;
47677
+ return scopeThis.initBox.readOnly;
47678
+ },
47679
+ handle(_ref5) {
47680
+ let {
47681
+ scopeThis,
47682
+ index
47683
+ } = _ref5;
47684
+ withTable.popupInsertOne({
47685
+ scopeThis
47686
+ });
47687
+ }
47687
47688
  }, {
47688
47689
  title: "收银",
47689
47690
  hdlDisabled(_ref6) {
@@ -47942,6 +47943,7 @@ var insertOne = {
47942
47943
  let {
47943
47944
  scopeThis
47944
47945
  } = _ref2;
47946
+ console.log('joker测试 111', scopeThis.formData);
47945
47947
  await withTable.submitInsertOne({
47946
47948
  scopeThis
47947
47949
  });
@@ -48368,11 +48370,22 @@ const scopeThis = reactive({
48368
48370
  cashBox
48369
48371
  });
48370
48372
 
48373
+ console.log('joker测试 222', scopeThis.initBox);
48374
+ console.log('joker测试 333', props.myProps);
48375
+
48371
48376
  onMounted(async ()=>{
48372
48377
  scopeThis.queryInit.formData.id_business = scopeThis.initBox.id_business;
48373
48378
  scopeThis.queryInit.formData.businesstype_code = scopeThis.initBox.businesstype_code;
48374
48379
  await withTable.init({scopeThis});
48375
48380
  });
48381
+ const style = ref({
48382
+ amount: {
48383
+ textAlign: 'center',
48384
+ fontSize: '16px',
48385
+ color: 'blue',
48386
+ weight: 'bold'
48387
+ }
48388
+ });
48376
48389
 
48377
48390
  return (_ctx, _cache) => {
48378
48391
  const _component_ly0Table = resolveComponent("ly0Table");
@@ -48394,12 +48407,24 @@ return (_ctx, _cache) => {
48394
48407
  ], -1 /* CACHED */)),
48395
48408
  createElementVNode("tbody", null, [
48396
48409
  createElementVNode("tr", null, [
48397
- createElementVNode("td", null, toDisplayString(Math.floor(scopeThis.initBox.deal) / 100), 1 /* TEXT */),
48398
- createElementVNode("td", null, toDisplayString(Math.floor(scopeThis.amountBox.sum) / 100), 1 /* TEXT */),
48399
- createElementVNode("td", null, toDisplayString(Math.floor(scopeThis.amountBox.succeeded) / 100), 1 /* TEXT */),
48400
- createElementVNode("td", null, toDisplayString(Math.floor(scopeThis.amountBox.started) / 100), 1 /* TEXT */),
48401
- createElementVNode("td", null, toDisplayString(Math.floor(scopeThis.amountBox.failed) / 100), 1 /* TEXT */),
48402
- createElementVNode("td", null, toDisplayString(Math.floor(scopeThis.amountBox.unpaid) / 100), 1 /* TEXT */)
48410
+ createElementVNode("td", {
48411
+ style: normalizeStyle(style.value.amount)
48412
+ }, toDisplayString(Math.floor(scopeThis.initBox.deal) / 100), 5 /* TEXT, STYLE */),
48413
+ createElementVNode("td", {
48414
+ style: normalizeStyle(style.value.amount)
48415
+ }, toDisplayString(Math.floor(scopeThis.amountBox.sum) / 100), 5 /* TEXT, STYLE */),
48416
+ createElementVNode("td", {
48417
+ style: normalizeStyle(style.value.amount)
48418
+ }, toDisplayString(Math.floor(scopeThis.amountBox.succeeded) / 100), 5 /* TEXT, STYLE */),
48419
+ createElementVNode("td", {
48420
+ style: normalizeStyle(style.value.amount)
48421
+ }, toDisplayString(Math.floor(scopeThis.amountBox.started) / 100), 5 /* TEXT, STYLE */),
48422
+ createElementVNode("td", {
48423
+ style: normalizeStyle(style.value.amount)
48424
+ }, toDisplayString(Math.floor(scopeThis.amountBox.failed) / 100), 5 /* TEXT, STYLE */),
48425
+ createElementVNode("td", {
48426
+ style: normalizeStyle(style.value.amount)
48427
+ }, toDisplayString(Math.floor(scopeThis.amountBox.unpaid) / 100), 5 /* TEXT, STYLE */)
48403
48428
  ])
48404
48429
  ])
48405
48430
  ]),