Commit 81339a3cc7ccb66ec07a9a9dc66149b017f50cb7

Authored by jiangwei
1 parent 5a18280d

客户订件进度增加筛选条件

src/pages/pms/partPlan/CustBuyPlanProcess/api.ts
@@ -32,6 +32,9 @@ export interface Params{ @@ -32,6 +32,9 @@ export interface Params{
32 status?:number 32 status?:number
33 shopId?:number 33 shopId?:number
34 keywords?:string 34 keywords?:string
  35 + serviceName?:string
  36 + plateNo?:string
  37 + vin?:string
35 } 38 }
36 39
37 export interface ProgressVO { 40 export interface ProgressVO {
src/pages/pms/partPlan/CustBuyPlanProcess/index.tsx
@@ -35,14 +35,31 @@ export default function Index() { @@ -35,14 +35,31 @@ export default function Index() {
35 <div style={{ display: 'flex', alignItems: 'center', marginBottom: 20 }}> 35 <div style={{ display: 'flex', alignItems: 'center', marginBottom: 20 }}>
36 <Search 36 <Search
37 allowClear 37 allowClear
38 - enterButton  
39 placeholder="配件名称/编码搜索" 38 placeholder="配件名称/编码搜索"
40 style={{ width: 220, marginRight: 10 }} 39 style={{ width: 220, marginRight: 10 }}
41 onSearch={e => setParams({keywords: e}, true)} 40 onSearch={e => setParams({keywords: e}, true)}
42 /> 41 />
  42 + <Search
  43 + allowClear
  44 + placeholder="顾问名称搜索"
  45 + style={{ width: 200, marginRight: 10 }}
  46 + onSearch={e => setParams({ serviceName: e}, true)}
  47 + />
  48 + <Search
  49 + allowClear
  50 + placeholder="车牌号搜索"
  51 + style={{ width: 200, marginRight: 10 }}
  52 + onSearch={e => setParams({ plateNo: e}, true)}
  53 + />
  54 + <Search
  55 + allowClear
  56 + placeholder="VIN搜索"
  57 + style={{ width: 200, marginRight: 10 }}
  58 + onSearch={e => setParams({ vin: e}, true)}
  59 + />
43 <Select 60 <Select
44 allowClear 61 allowClear
45 - placeholder="选择品牌" 62 + placeholder="品牌筛选"
46 style={{ width: 200, marginRight: 10 }} 63 style={{ width: 200, marginRight: 10 }}
47 onChange={v => setParams({ brandId: v }, true)} 64 onChange={v => setParams({ brandId: v }, true)}
48 showSearch 65 showSearch
@@ -52,7 +69,7 @@ export default function Index() { @@ -52,7 +69,7 @@ export default function Index() {
52 </Select> 69 </Select>
53 <Select 70 <Select
54 allowClear 71 allowClear
55 - placeholder="选择门店" 72 + placeholder="门店筛选"
56 style={{ width: 200, marginRight: 10 }} 73 style={{ width: 200, marginRight: 10 }}
57 onChange={v => setParams({shopId: v }, true)} 74 onChange={v => setParams({shopId: v }, true)}
58 showSearch 75 showSearch
@@ -91,6 +108,7 @@ export default function Index() { @@ -91,6 +108,7 @@ export default function Index() {
91 <Column title="工单号" dataIndex="remark" /> 108 <Column title="工单号" dataIndex="remark" />
92 <Column title="品牌" dataIndex="brandName" /> 109 <Column title="品牌" dataIndex="brandName" />
93 <Column title="门店名称" dataIndex="shopName" /> 110 <Column title="门店名称" dataIndex="shopName" />
  111 + <Column title="服务顾问" dataIndex="userName" />
94 <Column title="状态" dataIndex="status" /> 112 <Column title="状态" dataIndex="status" />
95 113
96 {/* <Column title="接车服务顾问" dataIndex="userName" /> */} 114 {/* <Column title="接车服务顾问" dataIndex="userName" /> */}
src/pages/pms/partPlan/PlanShipping/components/UploadExcel.tsx
@@ -31,6 +31,8 @@ export default function UploadExcel({ getList, importVisible, setImportVisible, @@ -31,6 +31,8 @@ export default function UploadExcel({ getList, importVisible, setImportVisible,
31 useEffect(() => { 31 useEffect(() => {
32 if (!importVisible) { 32 if (!importVisible) {
33 setUploadResult(null); 33 setUploadResult(null);
  34 + setParam({ brandId: null, storageId: null, supplierId: null, settleShopId: null });
  35 + setFileList([]);
34 } 36 }
35 }, [importVisible]); 37 }, [importVisible]);
36 38