9.20 界面502
This commit is contained in:
@@ -337,15 +337,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
Y: $data.order.orderTime,
|
||||
Z: common_vendor.o((...args) => $options.onDateChange && $options.onDateChange(...args))
|
||||
}) : $data.biz === "sale" || $data.biz === "purchase" ? {
|
||||
ab: common_vendor.t($options.totalQuantity),
|
||||
ac: common_vendor.t($options.totalAmount.toFixed(2)),
|
||||
ad: common_vendor.o((...args) => $options.chooseProduct && $options.chooseProduct(...args))
|
||||
ab: common_vendor.t($data.biz === "sale" ? "客户" : "供应商"),
|
||||
ac: common_vendor.t($data.biz === "sale" ? $options.customerLabel : $options.supplierLabel),
|
||||
ad: common_vendor.o(($event) => $data.biz === "sale" ? $options.chooseCustomer() : $options.chooseSupplier()),
|
||||
ae: common_vendor.t($data.order.orderTime),
|
||||
af: $data.order.orderTime,
|
||||
ag: common_vendor.o((...args) => $options.onDateChange && $options.onDateChange(...args)),
|
||||
ah: common_assets._imports_0,
|
||||
ai: common_vendor.o((...args) => $options.chooseProduct && $options.chooseProduct(...args)),
|
||||
aj: common_vendor.t($options.totalQuantity),
|
||||
ak: common_vendor.t($options.totalAmount.toFixed(2)),
|
||||
al: common_vendor.o((...args) => $options.chooseProduct && $options.chooseProduct(...args))
|
||||
} : {
|
||||
ae: $data.counterpartyType === "customer" ? 1 : "",
|
||||
af: common_vendor.o(($event) => $options.setCounterparty("customer")),
|
||||
ag: $data.counterpartyType === "supplier" ? 1 : "",
|
||||
ah: common_vendor.o(($event) => $options.setCounterparty("supplier")),
|
||||
ai: common_vendor.f($data.biz === "income" ? $options.incomeCategories : $options.expenseCategories, (c, k0, i0) => {
|
||||
am: $data.counterpartyType === "customer" ? 1 : "",
|
||||
an: common_vendor.o(($event) => $options.setCounterparty("customer")),
|
||||
ao: $data.counterpartyType === "supplier" ? 1 : "",
|
||||
ap: common_vendor.o(($event) => $options.setCounterparty("supplier")),
|
||||
aq: common_vendor.f($data.biz === "income" ? $options.incomeCategories : $options.expenseCategories, (c, k0, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(c.label),
|
||||
b: c.key,
|
||||
@@ -353,23 +361,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $data.activeCategory = c.key, c.key)
|
||||
};
|
||||
}),
|
||||
aj: common_vendor.t($options.counterpartyLabel),
|
||||
ak: common_vendor.o((...args) => $options.chooseCounterparty && $options.chooseCounterparty(...args)),
|
||||
al: common_vendor.t($options.accountLabel),
|
||||
am: common_vendor.o((...args) => $options.chooseAccount && $options.chooseAccount(...args)),
|
||||
an: $data.trxAmount,
|
||||
ao: common_vendor.o(common_vendor.m(($event) => $data.trxAmount = $event.detail.value, {
|
||||
ar: common_vendor.t($options.counterpartyLabel),
|
||||
as: common_vendor.o((...args) => $options.chooseCounterparty && $options.chooseCounterparty(...args)),
|
||||
at: common_vendor.t($options.accountLabel),
|
||||
av: common_vendor.o((...args) => $options.chooseAccount && $options.chooseAccount(...args)),
|
||||
aw: $data.trxAmount,
|
||||
ax: common_vendor.o(common_vendor.m(($event) => $data.trxAmount = $event.detail.value, {
|
||||
number: true
|
||||
})),
|
||||
ap: $data.order.remark,
|
||||
aq: common_vendor.o(($event) => $data.order.remark = $event.detail.value)
|
||||
ay: $data.order.remark,
|
||||
az: common_vendor.o(($event) => $data.order.remark = $event.detail.value)
|
||||
}, {
|
||||
aa: $data.biz === "sale" || $data.biz === "purchase",
|
||||
ar: !$data.items.length
|
||||
aA: !$data.items.length
|
||||
}, !$data.items.length ? {
|
||||
as: common_assets._imports_0
|
||||
aB: common_assets._imports_0
|
||||
} : {
|
||||
at: common_vendor.f($data.items, (it, idx, i0) => {
|
||||
aC: common_vendor.f($data.items, (it, idx, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(it.productName),
|
||||
b: common_vendor.o([common_vendor.m(($event) => it.quantity = $event.detail.value, {
|
||||
@@ -385,8 +393,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
};
|
||||
})
|
||||
}, {
|
||||
av: common_vendor.o((...args) => $options.saveAndReset && $options.saveAndReset(...args)),
|
||||
aw: common_vendor.o((...args) => $options.submit && $options.submit(...args))
|
||||
aD: common_vendor.o((...args) => $options.saveAndReset && $options.saveAndReset(...args)),
|
||||
aE: common_vendor.o((...args) => $options.submit && $options.submit(...args))
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
|
||||
Reference in New Issue
Block a user