Ver a proveniência

营销报表、配方分类Bug修复

tags/小炒逻辑变更前
yangwenhua há 2 anos
ascendente
cometimento
39673b2abd
3 ficheiros alterados com 11 adições e 4 eliminações
  1. +2
    -2
      src/pages/bom/bomtype/components/CreateForm.jsx
  2. +5
    -1
      src/pages/order/order-revenue-statement/index.jsx
  3. +4
    -1
      src/pages/order/order-revenue-statement/service.js

+ 2
- 2
src/pages/bom/bomtype/components/CreateForm.jsx Ver ficheiro

@@ -31,8 +31,8 @@ const CreateForm = (props) => {
name="pertain"
label="归属"
defaultValue={props?.values?.pertain}
rules={[{ required: true, message: '请选择类型归宿' }]} >
<Select placeholder="请选择类型归宿">
rules={[{ required: true, message: '请选择类型归' }]} >
<Select placeholder="请选择类型归">
<Option value="1">无</Option>
<Option value="2">TMC </Option>
</Select>


+ 5
- 1
src/pages/order/order-revenue-statement/index.jsx Ver ficheiro

@@ -115,7 +115,11 @@ export default function Index() {
//获取营销报表列表
const onQueryMarketing = async () => {
setShowLoading(true);
const response = await reportAPI.getReportStatisticsMarketing();
const response = await reportAPI.getReportStatisticsMarketing({
sTime: timeRange[0]._i,
eTime: timeRange[1]._i,
key: [currentOrg.key || ""]
});
setShowLoading(false);
if (response.statusCode === 200) {
setReportActivity(response.data.activity);


+ 4
- 1
src/pages/order/order-revenue-statement/service.js Ver ficheiro

@@ -9,9 +9,12 @@ export default {
},

//获取营销报表
getReportStatisticsMarketing() {
getReportStatisticsMarketing(params) {
return request(`/kitchen/api/report-statistics/marketing`, {
method: 'POST',
data: {
...params
}
});
}
};

Carregando…
Cancelar
Guardar