Commit 81339a3cc7ccb66ec07a9a9dc66149b017f50cb7

Authored by jiangwei
1 parent 5a18280d

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

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