|
@@ -347,7 +347,8 @@
|
|
|
del,
|
|
del,
|
|
|
updatePriority,
|
|
updatePriority,
|
|
|
getPlanStatistics,
|
|
getPlanStatistics,
|
|
|
- factoryDelete
|
|
|
|
|
|
|
+ factoryDelete,
|
|
|
|
|
+ planIsReview
|
|
|
} from '@/api/productionPlan/index.js';
|
|
} from '@/api/productionPlan/index.js';
|
|
|
import productionPlanSearch from './components/productionPlan-search.vue';
|
|
import productionPlanSearch from './components/productionPlan-search.vue';
|
|
|
import unpackDialog from './components/unpackDialog.vue';
|
|
import unpackDialog from './components/unpackDialog.vue';
|
|
@@ -363,6 +364,7 @@
|
|
|
import { debounce } from 'lodash';
|
|
import { debounce } from 'lodash';
|
|
|
import tabMixins from '@/mixins/tableColumnsMixin';
|
|
import tabMixins from '@/mixins/tableColumnsMixin';
|
|
|
import importDialog from '@/components/upload/import-dialog.vue';
|
|
import importDialog from '@/components/upload/import-dialog.vue';
|
|
|
|
|
+ import { parameterGetByCode } from '@/api/mainData/index';
|
|
|
|
|
|
|
|
import {
|
|
import {
|
|
|
findBomCategoryByCategoryId,
|
|
findBomCategoryByCategoryId,
|
|
@@ -378,7 +380,8 @@
|
|
|
disassemblePlanPop,
|
|
disassemblePlanPop,
|
|
|
factoryAdd,
|
|
factoryAdd,
|
|
|
homogeneityInspectDialog,
|
|
homogeneityInspectDialog,
|
|
|
- homogeneityInspectInstallDialog,importDialog
|
|
|
|
|
|
|
+ homogeneityInspectInstallDialog,
|
|
|
|
|
+ importDialog
|
|
|
},
|
|
},
|
|
|
props: {
|
|
props: {
|
|
|
timeDimensionPlanType: { type: Number, default: 1 },
|
|
timeDimensionPlanType: { type: Number, default: 1 },
|
|
@@ -439,7 +442,8 @@
|
|
|
factoryType: 3,
|
|
factoryType: 3,
|
|
|
factoryObj: {},
|
|
factoryObj: {},
|
|
|
cardSpan: 3,
|
|
cardSpan: 3,
|
|
|
- columnsVersion: 1
|
|
|
|
|
|
|
+ columnsVersion: 1,
|
|
|
|
|
+ isReview: false
|
|
|
// homogeneityDialog: false
|
|
// homogeneityDialog: false
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
@@ -882,6 +886,7 @@
|
|
|
this.$store.state.user.info.clientEnvironmentId;
|
|
this.$store.state.user.info.clientEnvironmentId;
|
|
|
|
|
|
|
|
this.getPlanStatistics();
|
|
this.getPlanStatistics();
|
|
|
|
|
+ this.getplannedReleaseRequire('planned_release_require');
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
handleSele(e) {
|
|
handleSele(e) {
|
|
@@ -892,6 +897,15 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+ async getplannedReleaseRequire(code) {
|
|
|
|
|
+ parameterGetByCode({ code }).then((res) => {
|
|
|
|
|
+ if (res) {
|
|
|
|
|
+ this.isReview = res.value == '1' ? true : false;
|
|
|
|
|
+ console.log(this.isReview, 'isReview');
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
async getPlanStatistics() {
|
|
async getPlanStatistics() {
|
|
|
let res = await getPlanStatistics();
|
|
let res = await getPlanStatistics();
|
|
|
console.log(res);
|
|
console.log(res);
|