Commit 4dc9675c9798a699898b3f14f3c657af4eb326cb

Authored by 柏杨
1 parent 2d1d2d32

fix: 删除开具类型

src/pages/Invoice/InvoiceRecord/components/InvoiceRecordDetailModal.tsx
... ... @@ -3,7 +3,6 @@ import InvoiceDetailTable from '@/pages/Invoice/InvoiceRecord/components/Invoice
3 3 import {
4 4 postServiceConstGetPayeeEnum,
5 5 postServiceConstInvoiceType,
6   - postServiceConstInvoicingType,
7 6 postServiceInvoiceGetInvoiceRecord,
8 7 postServiceInvoiceModifyRecord,
9 8 } from '@/services';
... ... @@ -230,7 +229,7 @@ export default ({ id, setVisible, reloadTable }) => {
230 229 { required: true, message: 'Please select your country!' },
231 230 ]}
232 231 />
233   - <ProFormSelect
  232 + {/* <ProFormSelect
234 233 name="invoicingType"
235 234 readonly={readOnly}
236 235 label="开具类型"
... ... @@ -246,7 +245,7 @@ export default ({ id, setVisible, reloadTable }) =&gt; {
246 245 rules={[
247 246 { required: true, message: 'Please select your country!' },
248 247 ]}
249   - />
  248 + /> */}
250 249 <ProFormList
251 250 label="订单号"
252 251 name="orderIdList"
... ...
src/pages/Invoice/InvoiceVerification/components/InvoiceRecordDetailModal.tsx
... ... @@ -3,7 +3,6 @@ import InvoiceDetailTable from &#39;@/pages/Invoice/InvoiceVerification/components/I
3 3 import {
4 4 postServiceConstGetPayeeEnum,
5 5 postServiceConstInvoiceType,
6   - postServiceConstInvoicingType,
7 6 postServiceInvoiceGetInvoiceRecord,
8 7 postServiceInvoiceModifyRecord,
9 8 } from '@/services';
... ... @@ -229,7 +228,7 @@ export default ({ id, setVisible }) =&gt; {
229 228 { required: true, message: 'Please select your country!' },
230 229 ]}
231 230 />
232   - <ProFormSelect
  231 + {/* <ProFormSelect
233 232 name="invoicingType"
234 233 readonly={readOnly}
235 234 label="开具类型"
... ... @@ -245,7 +244,7 @@ export default ({ id, setVisible }) =&gt; {
245 244 rules={[
246 245 { required: true, message: 'Please select your country!' },
247 246 ]}
248   - />
  247 + /> */}
249 248 <ProFormList
250 249 label="订单号"
251 250 name="orderIdList"
... ...
src/pages/Order/FeedBack/InvoicingDrawerForm.tsx
... ... @@ -4,7 +4,6 @@ import {
4 4 postServiceConstGetPayeeEnum,
5 5 postServiceConstInitInvoiceDetailNames,
6 6 postServiceConstInvoiceType,
7   - postServiceConstInvoicingType,
8 7 postServiceConstListInvoiceDetailNames,
9 8 postServiceInvoiceApplyInvoice,
10 9 postServiceInvoiceQueryCompanyInfo,
... ... @@ -298,7 +297,7 @@ export default ({ dataList, setVisible, mainOrder, onClose }) =&gt; {
298 297 label="联系人"
299 298 rules={[{ required: true, message: '请选择银行联行号!' }]}
300 299 />
301   - <ProFormSelect
  300 + {/* <ProFormSelect
302 301 name="invoicingType"
303 302 label="开具类型"
304 303 request={async () => {
... ... @@ -308,7 +307,7 @@ export default ({ dataList, setVisible, mainOrder, onClose }) =&gt; {
308 307 }}
309 308 placeholder="请选择开具类型"
310 309 rules={[{ required: true, message: '请选择开具类型!' }]}
311   - />
  310 + /> */}
312 311 <ProFormSelect
313 312 name="type"
314 313 label="开票类型"
... ...
src/pages/Order/Order/components/InvoicingDrawerForm.tsx
... ... @@ -4,7 +4,6 @@ import {
4 4 postServiceConstGetPayeeEnum,
5 5 postServiceConstInitInvoiceDetailNames,
6 6 postServiceConstInvoiceType,
7   - postServiceConstInvoicingType,
8 7 postServiceConstListInvoiceDetailNames,
9 8 postServiceInvoiceApplyInvoice,
10 9 postServiceInvoiceQueryCompanyInfo,
... ... @@ -326,7 +325,7 @@ export default ({
326 325 label="联系人"
327 326 rules={[{ required: true, message: '请选择银行联行号!' }]}
328 327 />
329   - <ProFormSelect
  328 + {/* <ProFormSelect
330 329 name="invoicingType"
331 330 label="开具类型"
332 331 request={async () => {
... ... @@ -336,7 +335,7 @@ export default ({
336 335 }}
337 336 placeholder="请选择开具类型"
338 337 rules={[{ required: true, message: '请选择开具类型!' }]}
339   - />
  338 + /> */}
340 339 <ProFormSelect
341 340 name="type"
342 341 label="开票类型"
... ...
src/pages/Order/OrderList/InvoicingDrawerForm.tsx
... ... @@ -4,7 +4,6 @@ import {
4 4 postServiceConstGetPayeeEnum,
5 5 postServiceConstInitInvoiceDetailNames,
6 6 postServiceConstInvoiceType,
7   - postServiceConstInvoicingType,
8 7 postServiceConstListInvoiceDetailNames,
9 8 postServiceInvoiceApplyInvoice,
10 9 postServiceInvoiceQueryCompanyInfo,
... ... @@ -456,17 +455,6 @@ export default ({
456 455 rules={[{ required: true, message: '请选择银行联行号!' }]}
457 456 />
458 457 <ProFormSelect
459   - name="invoicingType"
460   - label="开具类型"
461   - request={async () => {
462   - let invoicingTypeRet = await postServiceConstInvoicingType();
463   - let options = enumToSelect(invoicingTypeRet.data);
464   - return options;
465   - }}
466   - placeholder="请选择开具类型"
467   - rules={[{ required: true, message: '请选择开具类型!' }]}
468   - />
469   - <ProFormSelect
470 458 name="type"
471 459 label="开票类型"
472 460 placeholder="请选择开票类型"
... ...