From d2a1147bce7bd6e74c72ba9fa6cc36d7fa59f96e Mon Sep 17 00:00:00 2001 From: gwbvipvip Date: Mon, 25 Apr 2022 14:46:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/store/printer/printerTemplate/index.jsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/pages/store/printer/printerTemplate/index.jsx b/src/pages/store/printer/printerTemplate/index.jsx index 9081de0..a266e68 100644 --- a/src/pages/store/printer/printerTemplate/index.jsx +++ b/src/pages/store/printer/printerTemplate/index.jsx @@ -1,4 +1,4 @@ -import { Form, Tabs, Row, Col, Card } from 'antd'; +import { Form, Tabs, Row, Col, Card,Radio,message } from 'antd'; import { PageContainer, FooterToolbar } from '@ant-design/pro-layout'; import React, { useState, useRef, useEffect } from 'react'; import ProForm, { ProFormText, ModalForm } from '@ant-design/pro-form'; @@ -16,6 +16,8 @@ const printerTemplateInfo = () => { useEffect(() => { GetStoreTemplaterList(); }, []) + useEffect(() => { + }, [activeKey]) const GetStoreTemplaterList = () => { GetPrinterTemplater().then((r) => { @@ -47,12 +49,21 @@ const printerTemplateInfo = () => { isShowPrintTime: value.isShowPrintTime, isShowNumber: value.isShowNumber, Footer: value.Footer, + type:value.type }} autoFocusFirstInput> + + + + 收银(出餐)小票 + 贴纸小票 + + + @@ -95,7 +106,6 @@ const printerTemplateInfo = () => { add(targetKey); } - }; const add = (targetKey) => {