|
|
@ -365,10 +365,12 @@ function ParkingCardMgm(props) { |
|
|
|
}) |
|
|
|
} |
|
|
|
const [getMerchantDataName, setGetMerchantDataName] = useState([]) |
|
|
|
const [getMerchantDataName1, setGetMerchantDataName1] = useState([]) |
|
|
|
const merchantDataName = () => { |
|
|
|
ajax.getOperator().then(res => { |
|
|
|
let result = JSON.parse(JSON.stringify(res.data)) |
|
|
|
let result1 = result.filter(item => item.label != "全部") |
|
|
|
setGetMerchantDataName1(res.data) |
|
|
|
setGetMerchantDataName(result1) |
|
|
|
}) |
|
|
|
} |
|
|
@ -739,7 +741,7 @@ function ParkingCardMgm(props) { |
|
|
|
style={{ width: 270, marginLeft: 29 }} |
|
|
|
value={formData.operator_id} |
|
|
|
placeholder="请选择" |
|
|
|
options={getMerchantDataName} |
|
|
|
options={getMerchantDataName1} |
|
|
|
onChange={handleDeployType} |
|
|
|
/> |
|
|
|
</div> |
|
|
|