| | |
| | | } |
| | | }) |
| | | }, |
| | | getContactFilter({commit},newData){ |
| | | getContactFilter({ commit }, newData) { |
| | | commit("contactNameList", newData) |
| | | }, |
| | | geChance(context) { |
| | |
| | | }, |
| | | geProductList(context) { |
| | | getProductList({ productName: "", productNumber: "", page: 1, pageSize: 10 }).then((res) => { |
| | | if (res.data.code == 200) { |
| | | console.log(res.data.data.data) |
| | | context.commit("productList", res.data.data.data) |
| | | if (res.code == 200) { |
| | | console.log(res.data.data) |
| | | context.commit("productList", res.data.data) |
| | | } else { |
| | | Message.error(res.msg) |
| | | } |