From e29bbabe67a9f9fd1f10186ebd6303831773674a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AE=87=E8=88=AA?= <740464440@qq.com> Date: Sat, 16 Dec 2023 02:10:45 +0800 Subject: [PATCH] =?UTF-8?q?fix():=2012-16=E5=A4=84=E7=90=86=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E9=85=8D=E7=BD=AE=E7=A8=8E=E7=8E=87=E5=9B=9E=E6=98=BE?= =?UTF-8?q?=E7=AD=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/MerchantMgm/InvoiceConf/index.scss | 4 +- src/pages/MerchantMgm/InvoiceConf/loadable.jsx | 53 +++++++++++++------------ src/pages/MerchantMgm/MerchantInfo/loadable.jsx | 5 +-- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/pages/MerchantMgm/InvoiceConf/index.scss b/src/pages/MerchantMgm/InvoiceConf/index.scss index dc31497..08172d7 100644 --- a/src/pages/MerchantMgm/InvoiceConf/index.scss +++ b/src/pages/MerchantMgm/InvoiceConf/index.scss @@ -374,7 +374,7 @@ $color-primary : var(--color-primary); flex-direction: column; .left-wrap { - width: 300px; + width: calc(100% - 10px); margin-bottom: 40px; .item { @@ -397,7 +397,7 @@ $color-primary : var(--color-primary); width: 50%; .right-wrap { - width: 500px; + width: calc(100% - 10px); .item { margin: 15px; diff --git a/src/pages/MerchantMgm/InvoiceConf/loadable.jsx b/src/pages/MerchantMgm/InvoiceConf/loadable.jsx index 01f5e0e..e87ffa7 100644 --- a/src/pages/MerchantMgm/InvoiceConf/loadable.jsx +++ b/src/pages/MerchantMgm/InvoiceConf/loadable.jsx @@ -411,7 +411,8 @@ function InvoiceConf(props) { drawer_name: res?.data?.drawer_name || "", mini_amount: res?.data?.mini_amount || "", max_amount: res?.data?.max_amount || "", - }) + }); + setRateStatus(res?.data?.tax_rate || "0"); } else { message.error(res.message) } @@ -730,7 +731,7 @@ function InvoiceConf(props) { @@ -1175,114 +1176,114 @@ function InvoiceConf(props) { form={editForm} >
销货方名称:
{records.sell_name}
-
销货放识别号:
{records.sell_num}
-
销贷方地址:
{records.sell_address}
-
销贷方电话:
{records.sell_phone}
-
销贷方银行名称:
{records.sell_bank_name}
-
销贷方银行账号:
{records.sell_bank_num}
+
销货方识别号:
{records.sell_num}
+
销货方地址:
{records.sell_address}
+
销货方电话:
{records.sell_phone}
+
销货方银行名称:
{records.sell_bank_name}
+
销货方银行账号:
{records.sell_bank_num}
收款人:
{records.pay_name}
复核:
{records.check_name}
开票人:
{records.drawer_name}
diff --git a/src/pages/MerchantMgm/MerchantInfo/loadable.jsx b/src/pages/MerchantMgm/MerchantInfo/loadable.jsx index 03b6758..3e53841 100644 --- a/src/pages/MerchantMgm/MerchantInfo/loadable.jsx +++ b/src/pages/MerchantMgm/MerchantInfo/loadable.jsx @@ -13,7 +13,6 @@ import { SearchOutlined, DeleteOutlined } from '@ant-design/icons'; const { RangePicker } = DatePicker; const MerchantInfo = (props) => { const uid = props?.user?.userInfo?.user_uid; - console.log(uid, props); const defaultData = { tenantId: '', tenantType: '', @@ -686,7 +685,7 @@ const MerchantInfo = (props) => { } //启用/停用 function stopBtn(record) { - ajax.updateStatus({ id: record.id,click_status:record.status==1?2:1 }).then( + ajax.updateStatus({ id: record.id,click_status:record.status==1?2:1, uid }).then( res => { if (res.status == 20000) { // setPageInfo({ @@ -1169,7 +1168,7 @@ const MerchantInfo = (props) => { { required: true, message: "请输入正确的联系人电话!", pattern:new RegExp(/^\d+$/)} ]} > - +