|
@@ -135,29 +135,24 @@ export default {
|
|
|
menuTag(value, action) {
|
|
|
if (action === "remove") {
|
|
|
let { tag, key } = this.findTag(value);
|
|
|
- if (tag.label == "发货单(E)") {
|
|
|
+ if (tag.label == "发货单(E)") {
|
|
|
this.$store.commit("OUT_OUT_DETAIL");
|
|
|
}
|
|
|
if (tag.label == "收货单(E)") {
|
|
|
this.$store.commit("REC_OUT_DETAIL");
|
|
|
}
|
|
|
- if(tag.label=="国内发货单"){
|
|
|
- this.$store.commit("IN_OUT_DETAIL");
|
|
|
- }
|
|
|
- if(tag.label=="发货单(I)"){
|
|
|
- this.$store.commit("GO_OUT_DETAIL");
|
|
|
- }
|
|
|
- if(tag.label=="收货单(I)"){
|
|
|
- this.$store.commit("TAKE_OUT_DETAIL");
|
|
|
- }
|
|
|
- if(tag.label=="付款管理"){
|
|
|
- this.$store.commit("PAY_OUT_DETAIL");
|
|
|
- }
|
|
|
- this.$store.commit("DEL_TAG", tag);
|
|
|
- if (tag.value === this.tag.value) {
|
|
|
- tag = this.tagList[key === 0 ? key : key - 1]; //如果关闭本标签让前推一个
|
|
|
- this.openTag(tag);
|
|
|
- }
|
|
|
+ if (tag.label == "国内发货单") {
|
|
|
+ this.$store.commit("IN_OUT_DETAIL");
|
|
|
+ }
|
|
|
+ if (tag.label == "发货单(I)") {
|
|
|
+ this.$store.commit("GO_OUT_DETAIL");
|
|
|
+ }
|
|
|
+ if (tag.label == "收货单(I)") {
|
|
|
+ this.$store.commit("TAKE_OUT_DETAIL");
|
|
|
+ }
|
|
|
+ if (tag.label == "付款管理") {
|
|
|
+ this.$store.commit("PAY_OUT_DETAIL");
|
|
|
+ }
|
|
|
this.$store.commit("DEL_TAG", tag);
|
|
|
if (tag.value === this.tag.value) {
|
|
|
tag = this.tagList[key === 0 ? key : key - 1]; //如果关闭本标签让前推一个
|