|
@@ -24,6 +24,7 @@ const ifdetail = {
|
|
|
officeLyStatus: false, //办公领用
|
|
|
handOverStatus: false, // 交接单
|
|
|
reimbursementStatus: false, // 报销
|
|
|
+ dealerSaleStatus: false, //经销商销售
|
|
|
},
|
|
|
actions: {},
|
|
|
mutations: {
|
|
@@ -212,6 +213,13 @@ const ifdetail = {
|
|
|
BX_OUT_DETAIL(state) {
|
|
|
state.reimbursementStatus = false;
|
|
|
},
|
|
|
+ // 经销商销售
|
|
|
+ JXSSALE_IN_DETAIL(state) {
|
|
|
+ state.dealerSaleStatus = true;
|
|
|
+ },
|
|
|
+ JXSSALE_OUT_DETAIL(state) {
|
|
|
+ state.dealerSaleStatus = false;
|
|
|
+ },
|
|
|
//关闭所有
|
|
|
DEL_ALL_DETAIL(state) {
|
|
|
for (let item in state) {
|
|
@@ -286,6 +294,18 @@ const ifdetail = {
|
|
|
if (tag.label == '采购申请') {
|
|
|
state.officePurchaseStatus = true
|
|
|
}
|
|
|
+ if (tag.label == '领用') {
|
|
|
+ state.officeLyStatus = true
|
|
|
+ }
|
|
|
+ if (tag.label == '交接单') {
|
|
|
+ state.handOverStatus = true
|
|
|
+ }
|
|
|
+ if (tag.label == '报销') {
|
|
|
+ state.reimbursementStatus = true
|
|
|
+ }
|
|
|
+ if (tag.label == '销售订单(D)') {
|
|
|
+ state.dealerSaleStatus = true
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|