|
@ -1,4 +1,4 @@ |
|
|
import { getStanderOne } from "@/server/api.js"; |
|
|
|
|
|
|
|
|
import { get, getStanderOne } from "@/server/api.js"; |
|
|
import { getMpsModeList } from "@/server/productionPlanning/customerForecastDemandReview"; |
|
|
import { getMpsModeList } from "@/server/productionPlanning/customerForecastDemandReview"; |
|
|
|
|
|
|
|
|
const customerForecastDemandReview = { |
|
|
const customerForecastDemandReview = { |
|
@ -55,6 +55,10 @@ const customerForecastDemandReview = { |
|
|
// 设置需求表格高度
|
|
|
// 设置需求表格高度
|
|
|
articleCharHeight: "100%", |
|
|
articleCharHeight: "100%", |
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
transLabel:{}, |
|
|
|
|
|
|
|
|
|
|
|
transLabel1:{}, |
|
|
|
|
|
|
|
|
// 是否显示表单
|
|
|
// 是否显示表单
|
|
|
showChar: false, |
|
|
showChar: false, |
|
@ -221,6 +225,19 @@ const customerForecastDemandReview = { |
|
|
SET_publicButtonClass(state, payload) { |
|
|
SET_publicButtonClass(state, payload) { |
|
|
state.publicButtonClass = payload |
|
|
state.publicButtonClass = payload |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 初始化最大覆盖期类型选项
|
|
|
|
|
|
SET_transLabel(state, payload) { |
|
|
|
|
|
|
|
|
|
|
|
state.transLabel = payload |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
SET_transLabel1(state, payload) { |
|
|
|
|
|
|
|
|
|
|
|
state.transLabel1 = payload |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TOGGLE_showChar(state) { |
|
|
TOGGLE_showChar(state) { |
|
|
state.showChar = !state.showChar |
|
|
state.showChar = !state.showChar |
|
|
}, |
|
|
}, |
|
@ -257,6 +274,16 @@ const customerForecastDemandReview = { |
|
|
}) |
|
|
}) |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
getTransLabel({ commit }) { |
|
|
|
|
|
get('/user/week_to_date_mps').then(({data})=>{ |
|
|
|
|
|
commit('SET_transLabel', data || {}) |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
getTransLabel1({ commit }) { |
|
|
|
|
|
get('/user/week_to_date').then(({data})=>{ |
|
|
|
|
|
commit('SET_transLabel1', data || {}) |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
// 获得Mps规则选项
|
|
|
// 获得Mps规则选项
|
|
|
getMpsRuleOptions({ commit }) { |
|
|
getMpsRuleOptions({ commit }) { |
|
|
commit('INIT_mpsRuleOptions') |
|
|
commit('INIT_mpsRuleOptions') |
|
|