Commit 0397b3f9 authored by wanglianghe's avatar wanglianghe

线路价格管理

parent 94ba1400
...@@ -52,6 +52,14 @@ export function getCurrencyPage(query) { ...@@ -52,6 +52,14 @@ export function getCurrencyPage(query) {
}) })
} }
// 获取所有
export function getCurrencyList() {
return request({
url: '/ecw/currency/list',
method: 'get'
})
}
// 导出 Excel // 导出 Excel
export function exportCurrencyExcel(query) { export function exportCurrencyExcel(query) {
return request({ return request({
......
...@@ -52,6 +52,14 @@ export function getUnitPage(query) { ...@@ -52,6 +52,14 @@ export function getUnitPage(query) {
}) })
} }
// 获得所有计量单位
export function getUnitList() {
return request({
url: '/ecw/unit/list',
method: 'get'
})
}
// 导出计量单位 Excel // 导出计量单位 Excel
export function exportUnitExcel(query) { export function exportUnitExcel(query) {
return request({ return request({
......
...@@ -9,6 +9,7 @@ export const DICT_TYPE = { ...@@ -9,6 +9,7 @@ export const DICT_TYPE = {
USER_TYPE: 'user_type', USER_TYPE: 'user_type',
COMMON_STATUS: 'common_status', COMMON_STATUS: 'common_status',
AUDIT_STATUS: 'audit_status', AUDIT_STATUS: 'audit_status',
ADVANCE_STATUS: 'advance_status',
// ========== SYSTEM 模块 ========== // ========== SYSTEM 模块 ==========
SYSTEM_USER_SEX: 'system_user_sex', SYSTEM_USER_SEX: 'system_user_sex',
......
...@@ -247,12 +247,11 @@ export default { ...@@ -247,12 +247,11 @@ export default {
/**跳转价格管理 */ /**跳转价格管理 */
toPriceManager(row) { toPriceManager(row) {
this.$router.push({ localStorage.setItem('product', JSON.stringify(row));
name:'ProductPrice', localStorage.setItem('typeList', JSON.stringify(this.typeList));
params: { this.$router.push({
product:row name:'ProductPrice'
} })
})
}, },
handleStatusChange(row, statusType) { handleStatusChange(row, statusType) {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment