import webapi from "./webapi";
export function showStateAction(reduce, gf, data) {
  return async (dispatch, getState) => {
    reduce("showState", data);
  };
}
//凭证数据
export function getVoucherData(reduce, gf, data) {
  return async (dispatch, getState) => {
    const res = await webapi.voucherList(data);
    reduce("voucherData", res.items);
  };
}
