|
|
@@ -338,6 +338,7 @@
|
|
|
import kittingCompleteClient9 from './kittingCompleteClient9.vue';
|
|
|
import auxiliaryMaterial from './auxiliaryMaterial.vue';
|
|
|
import { setFileUrl } from '@/components/addDoc/util.js';
|
|
|
+ import { parameterGetByCode } from '@/api/mainData/index';
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
|
@@ -495,6 +496,7 @@
|
|
|
],
|
|
|
groupList: [],
|
|
|
leaderList: [],
|
|
|
+ production_readiness: '',
|
|
|
form: {
|
|
|
executeGroupName: '',
|
|
|
executeGroupId: '',
|
|
|
@@ -529,6 +531,11 @@
|
|
|
|
|
|
created() {
|
|
|
this.getGs();
|
|
|
+ parameterGetByCode({
|
|
|
+ code: 'production_readiness'
|
|
|
+ }).then((res) => {
|
|
|
+ this.production_readiness = res.value;
|
|
|
+ });
|
|
|
},
|
|
|
|
|
|
computed: {
|
|
|
@@ -540,6 +547,9 @@
|
|
|
if (this.type == 'plan') {
|
|
|
return this.preReleaseList.filter((item) => item.preType != 6);
|
|
|
}
|
|
|
+ if (this.type == 'order') {
|
|
|
+ return this.preReleaseList.filter((item) => item.preType != 7);
|
|
|
+ }
|
|
|
return this.preReleaseList;
|
|
|
},
|
|
|
columns() {
|
|
|
@@ -861,7 +871,7 @@
|
|
|
this.itemData.productionPlanId =
|
|
|
this.itemData.productionPlanId || this.itemData.id;
|
|
|
const list = [this.itemData];
|
|
|
- if (this.clientEnvironmentId == 9) {
|
|
|
+ if (this.production_readiness == 2) {
|
|
|
this.$refs.kittingCompleteClient9Ref.open(
|
|
|
list,
|
|
|
undefined,
|