|
@@ -28,6 +28,7 @@ import { salesList } from "@/dataDic.js"
|
|
import DepartmentList from "../../../common/departmentList";
|
|
import DepartmentList from "../../../common/departmentList";
|
|
import OrderItemStatus from "../../../common/orderItemStatus";
|
|
import OrderItemStatus from "../../../common/orderItemStatus";
|
|
import OrderDesc from "../../financialManage/orderDetail/orderDesc";
|
|
import OrderDesc from "../../financialManage/orderDetail/orderDesc";
|
|
|
|
+import Cascaders from "../../../common/cascaders";
|
|
|
|
|
|
const IntentionCustomer = Form.create()(
|
|
const IntentionCustomer = Form.create()(
|
|
React.createClass({
|
|
React.createClass({
|
|
@@ -49,7 +50,7 @@ const IntentionCustomer = Form.create()(
|
|
name: this.state.customerName, //名称
|
|
name: this.state.customerName, //名称
|
|
orderNo: this.state.orderNo, //订单编号
|
|
orderNo: this.state.orderNo, //订单编号
|
|
contractNo: this.state.contractNo,
|
|
contractNo: this.state.contractNo,
|
|
- depId: this.state.departmenttSearch, //订单部门
|
|
|
|
|
|
+ deps: this.state.departmenttSearch, //订单部门
|
|
adminName: this.state.adminName, //责任人名称
|
|
adminName: this.state.adminName, //责任人名称
|
|
starTime: this.state.releaseDate[0], //开始时间
|
|
starTime: this.state.releaseDate[0], //开始时间
|
|
endTime: this.state.releaseDate[1], //结束时间
|
|
endTime: this.state.releaseDate[1], //结束时间
|
|
@@ -489,16 +490,17 @@ const IntentionCustomer = Form.create()(
|
|
this.setState({
|
|
this.setState({
|
|
signBillVisible: false,
|
|
signBillVisible: false,
|
|
});
|
|
});
|
|
- this.state.orderNo = "";
|
|
|
|
- this.state.contractNo = "";
|
|
|
|
- this.state.customerName = "";
|
|
|
|
- this.state.adminName = "";
|
|
|
|
|
|
+ this.state.orderNo = undefined;
|
|
|
|
+ this.state.contractNo = undefined;
|
|
|
|
+ this.state.customerName = undefined;
|
|
|
|
+ this.state.adminName = undefined;
|
|
this.state.departmenttSearch = undefined;
|
|
this.state.departmenttSearch = undefined;
|
|
this.state.releaseDate[0] = undefined;
|
|
this.state.releaseDate[0] = undefined;
|
|
this.state.releaseDate[1] = undefined;
|
|
this.state.releaseDate[1] = undefined;
|
|
this.state.amountStatus = undefined;
|
|
this.state.amountStatus = undefined;
|
|
this.state.approval = undefined;
|
|
this.state.approval = undefined;
|
|
this.state.memberType = undefined;
|
|
this.state.memberType = undefined;
|
|
|
|
+ this.Cascaders.empty();
|
|
this.loadData();
|
|
this.loadData();
|
|
},
|
|
},
|
|
resets() {
|
|
resets() {
|
|
@@ -641,35 +643,34 @@ const IntentionCustomer = Form.create()(
|
|
<div className="content-title" style={{ marginBottom: 10 }}>
|
|
<div className="content-title" style={{ marginBottom: 10 }}>
|
|
<span style={{ fontWeight: 900, fontSize: 16 }}>催款节点统计</span>
|
|
<span style={{ fontWeight: 900, fontSize: 16 }}>催款节点统计</span>
|
|
</div>
|
|
</div>
|
|
- <div className="user-search">
|
|
|
|
- <Tabs
|
|
|
|
- defaultActiveKey="1"
|
|
|
|
- onChange={this.callback}
|
|
|
|
- className="test"
|
|
|
|
- >
|
|
|
|
- <TabPane tab="导出催款列表" key="2">
|
|
|
|
- <Button
|
|
|
|
- type="primary"
|
|
|
|
- onClick={this.exportExec}
|
|
|
|
- style={{
|
|
|
|
- float: "left",
|
|
|
|
- marginTop: 10,
|
|
|
|
- marginBottom: 10,
|
|
|
|
- marginLeft: 10,
|
|
|
|
- marginRight: 10,
|
|
|
|
- }}
|
|
|
|
- >
|
|
|
|
- 导出催款列表
|
|
|
|
- </Button>
|
|
|
|
- </TabPane>
|
|
|
|
- <TabPane tab="搜索" key="1">
|
|
|
|
|
|
+ <Tabs
|
|
|
|
+ defaultActiveKey="1"
|
|
|
|
+ onChange={this.callback}
|
|
|
|
+ className="test"
|
|
|
|
+ >
|
|
|
|
+ <TabPane tab="导出催款列表" key="2">
|
|
|
|
+ <Button
|
|
|
|
+ type="primary"
|
|
|
|
+ onClick={this.exportExec}
|
|
|
|
+ style={{
|
|
|
|
+ float: "left",
|
|
|
|
+ marginTop: 10,
|
|
|
|
+ marginBottom: 10,
|
|
|
|
+ marginLeft: 10,
|
|
|
|
+ marginRight: 10,
|
|
|
|
+ }}
|
|
|
|
+ >
|
|
|
|
+ 导出催款列表
|
|
|
|
+ </Button>
|
|
|
|
+ </TabPane>
|
|
|
|
+ <TabPane tab="搜索" key="1">
|
|
|
|
+ <div className="user-search" style={{ padding: "0 10px" }}>
|
|
<Input
|
|
<Input
|
|
placeholder="客户名称"
|
|
placeholder="客户名称"
|
|
style={{
|
|
style={{
|
|
width: 170,
|
|
width: 170,
|
|
marginBottom: 10,
|
|
marginBottom: 10,
|
|
marginRight: 15,
|
|
marginRight: 15,
|
|
- marginLeft: 15,
|
|
|
|
}}
|
|
}}
|
|
value={this.state.customerName}
|
|
value={this.state.customerName}
|
|
onChange={(e) => {
|
|
onChange={(e) => {
|
|
@@ -712,12 +713,25 @@ const IntentionCustomer = Form.create()(
|
|
this.setState({ contractNo: e.target.value });
|
|
this.setState({ contractNo: e.target.value });
|
|
}}
|
|
}}
|
|
/>
|
|
/>
|
|
- <DepartmentList
|
|
|
|
|
|
+ <Cascaders
|
|
|
|
+ ref={node => this.Cascaders = node}
|
|
|
|
+ placeholder="订单部门"
|
|
|
|
+ id="id"
|
|
|
|
+ name="name"
|
|
|
|
+ children="list"
|
|
|
|
+ height={28}
|
|
|
|
+ onSel={(e) => {
|
|
|
|
+ this.setState({
|
|
|
|
+ departmenttSearch: JSON.stringify(e),
|
|
|
|
+ });
|
|
|
|
+ }}
|
|
|
|
+ />
|
|
|
|
+ {/* <DepartmentList
|
|
value={this.state.departmenttSearch}
|
|
value={this.state.departmenttSearch}
|
|
onChange={(e) => {
|
|
onChange={(e) => {
|
|
this.setState({ departmenttSearch: e });
|
|
this.setState({ departmenttSearch: e });
|
|
}}
|
|
}}
|
|
- />
|
|
|
|
|
|
+ /> */}
|
|
<Select
|
|
<Select
|
|
placeholder="选择催款节点类型"
|
|
placeholder="选择催款节点类型"
|
|
style={{ width: 170, marginRight: 15, marginLeft: 5 }}
|
|
style={{ width: 170, marginRight: 15, marginLeft: 5 }}
|
|
@@ -763,7 +777,7 @@ const IntentionCustomer = Form.create()(
|
|
<Option value="4">全部特批</Option>
|
|
<Option value="4">全部特批</Option>
|
|
</Select>
|
|
</Select>
|
|
<Select
|
|
<Select
|
|
- style={{ width: 170, marginRight: 30 }}
|
|
|
|
|
|
+ style={{ width: 170, marginRight: 15 }}
|
|
placeholder="会员"
|
|
placeholder="会员"
|
|
value={this.state.memberType}
|
|
value={this.state.memberType}
|
|
onChange={(e) => {
|
|
onChange={(e) => {
|
|
@@ -775,7 +789,7 @@ const IntentionCustomer = Form.create()(
|
|
<Option value="0">否</Option>
|
|
<Option value="0">否</Option>
|
|
<Option value="1">是</Option>
|
|
<Option value="1">是</Option>
|
|
</Select>
|
|
</Select>
|
|
- <span style={{ marginRight: 15, marginLeft: 15 }}>下单时间 :</span>
|
|
|
|
|
|
+ <span style={{ marginRight: 15, }}>下单时间 :</span>
|
|
<RangePicker
|
|
<RangePicker
|
|
value={[
|
|
value={[
|
|
this.state.releaseDate[0]
|
|
this.state.releaseDate[0]
|
|
@@ -797,20 +811,20 @@ const IntentionCustomer = Form.create()(
|
|
搜索
|
|
搜索
|
|
</Button>
|
|
</Button>
|
|
<Button onClick={this.reset}>重置</Button>
|
|
<Button onClick={this.reset}>重置</Button>
|
|
- </TabPane>
|
|
|
|
- <TabPane tab="更改表格显示数据" key="3">
|
|
|
|
- <div style={{ marginLeft: 10 }}>
|
|
|
|
- <ChooseList
|
|
|
|
- columns={this.state.columns}
|
|
|
|
- changeFn={this.changeList}
|
|
|
|
- changeList={this.state.changeList}
|
|
|
|
- top={55}
|
|
|
|
- margin={11}
|
|
|
|
- />
|
|
|
|
- </div>
|
|
|
|
- </TabPane>
|
|
|
|
- </Tabs>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ </TabPane>
|
|
|
|
+ <TabPane tab="更改表格显示数据" key="3">
|
|
|
|
+ <div style={{ marginLeft: 10 }}>
|
|
|
|
+ <ChooseList
|
|
|
|
+ columns={this.state.columns}
|
|
|
|
+ changeFn={this.changeList}
|
|
|
|
+ changeList={this.state.changeList}
|
|
|
|
+ top={55}
|
|
|
|
+ margin={11}
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+ </TabPane>
|
|
|
|
+ </Tabs>
|
|
<div className="patent-table">
|
|
<div className="patent-table">
|
|
<Spin spinning={this.state.loading}>
|
|
<Spin spinning={this.state.loading}>
|
|
<Table
|
|
<Table
|