Commit 0397b3f9 authored by wanglianghe's avatar wanglianghe

线路价格管理

parent 94ba1400
......@@ -52,6 +52,14 @@ export function getCurrencyPage(query) {
})
}
// 获取所有
export function getCurrencyList() {
return request({
url: '/ecw/currency/list',
method: 'get'
})
}
// 导出 Excel
export function exportCurrencyExcel(query) {
return request({
......
......@@ -52,6 +52,14 @@ export function getUnitPage(query) {
})
}
// 获得所有计量单位
export function getUnitList() {
return request({
url: '/ecw/unit/list',
method: 'get'
})
}
// 导出计量单位 Excel
export function exportUnitExcel(query) {
return request({
......
......@@ -9,6 +9,7 @@ export const DICT_TYPE = {
USER_TYPE: 'user_type',
COMMON_STATUS: 'common_status',
AUDIT_STATUS: 'audit_status',
ADVANCE_STATUS: 'advance_status',
// ========== SYSTEM 模块 ==========
SYSTEM_USER_SEX: 'system_user_sex',
......
......@@ -247,12 +247,11 @@ export default {
/**跳转价格管理 */
toPriceManager(row) {
this.$router.push({
name:'ProductPrice',
params: {
product:row
}
})
localStorage.setItem('product', JSON.stringify(row));
localStorage.setItem('typeList', JSON.stringify(this.typeList));
this.$router.push({
name:'ProductPrice'
})
},
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