Compare commits
No commits in common. "908e37b8aedbf5568b96659bd89cb425feed93ca" and "1dca9c9fa4b0f85230f7be79ee815a644b4593e4" have entirely different histories.
908e37b8ae
...
1dca9c9fa4
@ -1,32 +0,0 @@
|
|||||||
|
|
||||||
import React from 'react';
|
|
||||||
import FormPage from '../../components/FormPage'
|
|
||||||
import { ConfirmButton } from '@woowalker/feui'
|
|
||||||
import { initQueryFilter } from "../../utils/common";
|
|
||||||
import { message } from "antd/lib/index";
|
|
||||||
import moment from 'moment';
|
|
||||||
|
|
||||||
//销售订单
|
|
||||||
export default {
|
|
||||||
btnImport: (params) => {
|
|
||||||
var selectRows = params.getSelectedRecords()
|
|
||||||
if (selectRows == null || selectRows.length < 1) {
|
|
||||||
message.success("请勾选法律法规信息后再同步!");
|
|
||||||
}
|
|
||||||
var data = {
|
|
||||||
ListModel: selectRows
|
|
||||||
}
|
|
||||||
params.dispatch({
|
|
||||||
type: 'app/getDataByPost',
|
|
||||||
payload: data,
|
|
||||||
url: "LR/LRLaw/SyncToLocal",
|
|
||||||
onComplete: (ret) => {
|
|
||||||
if (ret) {
|
|
||||||
message.success("同步成功!");
|
|
||||||
params.clearSelectedRowKeys()
|
|
||||||
params.props.data.close()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user