Commit 2ecb5e84 authored by 张子雨's avatar 张子雨

feat: 时效2.0开发

parent c3fe8eab
...@@ -2,15 +2,15 @@ const isProduction = process.env.NODE_ENV === 'production'; ...@@ -2,15 +2,15 @@ const isProduction = process.env.NODE_ENV === 'production';
const isPre = process.env.PRE_ENV === 'pre'; const isPre = process.env.PRE_ENV === 'pre';
const envAPi = { const envAPi = {
api: '//backstms-test9.liangkebang.net', api: '//backstms-test4.liangkebang.net',
kdspOpApi: 'https://kdsp-operation-test9.liangkebang.net', kdspOpApi: 'https://kdsp-operation-test4.liangkebang.net',
kdspApi: 'https://sc-op-api-test9.liangkebang.net', kdspApi: 'https://sc-op-api-test4.liangkebang.net',
goodsApi: 'https://sc-op-api-test9.liangkebang.net', goodsApi: 'https://sc-op-api-test4.liangkebang.net',
querysApi: 'https://sc-settlement-api-test9.liangkebang.net', querysApi: 'https://sc-settlement-api-test4.liangkebang.net',
// goodsApi: '//192.168.188.111:7000', // goodsApi: '//192.168.188.111:7000',
prologueDomain: 'https://mall-test9.liangkebang.net', prologueDomain: 'https://mall-test4.liangkebang.net',
qiniuHost: 'https://appsync.lkbang.net', qiniuHost: 'https://appsync.lkbang.net',
opapiHost: 'https://opapi-test9.liangkebang.net', opapiHost: 'https://opapi-test4.liangkebang.net',
}; };
const prodApi = { const prodApi = {
......
...@@ -78,7 +78,7 @@ const Admin = () => { ...@@ -78,7 +78,7 @@ const Admin = () => {
}} }}
> >
<strong>{pendingNum?.afterOrderPendingAuditNum || 0}</strong> <strong>{pendingNum?.afterOrderPendingAuditNum || 0}</strong>
<p>退款待审核</p> <p>退款待审核{'<'}24小时</p>
</Link> </Link>
</Col> </Col>
</Row> </Row>
......
...@@ -144,6 +144,9 @@ class goodsManage extends Component { ...@@ -144,6 +144,9 @@ class goodsManage extends Component {
<Button type="primary" className={styles.button} onClick={() => this.setArea(0)}> <Button type="primary" className={styles.button} onClick={() => this.setArea(0)}>
批量设置不支持配送区域 批量设置不支持配送区域
</Button> </Button>
<Button type="primary" className={styles.button}>
批量操作
</Button>
<Button type="primary" className={styles.button} onClick={this.addSpu}> <Button type="primary" className={styles.button} onClick={this.addSpu}>
新增商品 新增商品
</Button> </Button>
......
...@@ -173,3 +173,9 @@ export async function getTemplateList(params) { ...@@ -173,3 +173,9 @@ export async function getTemplateList(params) {
}); });
return data; return data;
} }
// 查询供应商售后地址
export async function queryAllAfterAddress() {
return request.get('/supplier/after/queryAllAfterAddress', {
prefix: goodsApi,
});
}
...@@ -169,6 +169,17 @@ const AddressForm = props => { ...@@ -169,6 +169,17 @@ const AddressForm = props => {
onOk={handleSubmit} onOk={handleSubmit}
> >
<Form {...layout} name="formData"> <Form {...layout} name="formData">
<FormItem label="售后地址名称">
{getFieldDecorator('addressName', {
initialValue: formData.addressName,
rules: [
{
required: true,
message: '请输入售后地址名称!',
},
],
})(<Input placeholder="请输入售后地址名称" maxLength={20} />)}
</FormItem>
<FormItem label="供应商名称"> <FormItem label="供应商名称">
{getFieldDecorator('shopId', { {getFieldDecorator('shopId', {
initialValue: formData.shopId, initialValue: formData.shopId,
......
...@@ -54,6 +54,12 @@ const TableList = () => { ...@@ -54,6 +54,12 @@ const TableList = () => {
} }
}; };
const columns = [ const columns = [
{
title: '售后地址名称',
dataIndex: 'addressName',
key: 'addressName',
hideInSearch: true,
},
{ {
title: '供应商名称', title: '供应商名称',
dataIndex: 'shopId', dataIndex: 'shopId',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment