Browse Source

提交

storemanagementweb
gwbvipvip 11 months ago
parent
commit
21c29a72ea
6 changed files with 11 additions and 5 deletions
  1. +1
    -1
      src/app.jsx
  2. +1
    -0
      src/pages/shopmanage/storeAdvertisement/components/CreateForm.jsx
  3. +5
    -0
      src/pages/shopmanage/storeAdvertisement/index.jsx
  4. +1
    -1
      src/pages/shopmanage/storeDesktopNumber/index.jsx
  5. +2
    -2
      src/pages/shopmanage/storeGoodsInfo/index.jsx
  6. +1
    -1
      src/pages/user/login/index.jsx

+ 1
- 1
src/app.jsx View File

@@ -41,7 +41,7 @@ export async function getInitialState() {
const data = [
{
path: '/welcome',
name: '连锁经营平台',
name: '黑菠萝智慧门店',
icon: 'smile',
hideInMenu: true,
component: './Welcome',


+ 1
- 0
src/pages/shopmanage/storeAdvertisement/components/CreateForm.jsx View File

@@ -129,6 +129,7 @@ const CreateForm = (props) => {
}
},
onRemove(info) {
//debugger
let deleteName = "";
if (typeof (info.response) == "undefined") {
deleteFiles(info.name);//删除服务器原有的文件


+ 5
- 0
src/pages/shopmanage/storeAdvertisement/index.jsx View File

@@ -345,6 +345,11 @@ const PlanManage = () => {
form={form}
storeArray={storeList}
onFinish={async (value) => {
if(value?.imageUrl?.length<=0){
message.error("请选择图片");
return;
}
var success = false;
value.startTime = moment(value.planDate[0]).format('YYYY-MM-DD HH:mm:ss');
value.endTime = moment(value.planDate[1]).format('YYYY-MM-DD HH:mm:ss');


+ 1
- 1
src/pages/shopmanage/storeDesktopNumber/index.jsx View File

@@ -190,7 +190,7 @@ const storeDesktopNumber = () => {
onClick={() => {
handleModalVisible(true);
}} >
<PlusOutlined /> 编辑
<PlusOutlined /> 新建
</Button>,
]}
request={async (params) => {


+ 2
- 2
src/pages/shopmanage/storeGoodsInfo/index.jsx View File

@@ -111,14 +111,14 @@ const storeGoodsInfo = (props) => {
onConfirm={ () => {
DelShopFoodMenu(record.id).then((re) => {
if(re.statusCode==200){
actionRef.current.reload();
message.success('删除成功');
}else{
message.error(re.errors || '删除失败');
}
});
actionRef.current.reload();
}}
okText="确定"
cancelText="取消"


+ 1
- 1
src/pages/user/login/index.jsx View File

@@ -116,7 +116,7 @@ const Login = () => {
</div>

<div className={styles.main}>
<div className={styles.title}>连锁经营平台</div>
<div className={styles.title}>黑菠萝智慧门店</div>
<ProForm
initialValues={{
autoLogin: true,


Loading…
Cancel
Save