- 镀金标识
+ 镀金标识
{
+ this.locallyPlatedData = res.data.data;
+ console.log(res.data.data, 9898989);
+ });
+ },
getStandardList() {
getStandardList().then(res => {
this.standardList = res.data.data;
@@ -934,7 +952,7 @@ export default {
// 5. 设置选中状态
try {
this.$nextTick(() => {
- this.currentNodeKey = firstChild.id
+ this.currentNodeKey = firstChild.id;
this.$refs.tree.setCurrentKey([firstChild.id], false);
});
} catch (error) {
@@ -1016,6 +1034,19 @@ export default {
} else {
this.partType = '烧结';
}
+
+ // 如果当前零件号在局部镀金列表里面 镀金标识禁用 this.getLocallyPlatedPartList();
+ let selPart = this.locallyPlatedData.filter(item => {
+ return item.partCode == this.formData.partCode;
+ });
+
+
+ if (selPart.length > 0) {
+ if (this.partType == '热表') {
+ this.formData.goldMark = '1';
+ // this.$set(this.formData, 'goldMark', 1);
+ }
+ }
});
} else if (this.detailsType === 'taskProcessing') {
let query_ = {};
@@ -1040,6 +1071,17 @@ export default {
item.totalArea = (item.quota * item.area).toFixed(5); // 保留5位小数(字符串)
});
}
+ // 如果当前零件号在局部镀金列表里面 镀金标识禁用 this.getLocallyPlatedPartList();
+ let selPart = this.locallyPlatedData.filter(item => {
+ return item.partCode == this.formData.partCode;
+ });
+ console.log('selPart', selPart);
+ if (selPart.length > 0) {
+ if (this.partType == '热表') {
+ this.formData.goldMark = '1';
+ // this.$set(this.formData, 'goldMark', 1);
+ }
+ }
});
}
},
diff --git a/src/views/productionManagement/components/outsourceDialog.vue b/src/views/productionManagement/components/outsourceDialog.vue
index b33cefc2..dd708f4d 100644
--- a/src/views/productionManagement/components/outsourceDialog.vue
+++ b/src/views/productionManagement/components/outsourceDialog.vue
@@ -18,7 +18,9 @@
-
+
+
+
@@ -398,7 +398,7 @@ export default {
{ required: true, message: '请选择设备名称/编码', trigger: ['change', 'submit'] },
],
equipType: [{ required: true, message: '请选择设备类型', trigger: ['change', 'submit'] }],
- equipmentSort: [
+ equipOrder: [
{ required: true, message: '请输入设备排序', trigger: ['change', 'submit'] },
],
craftId: [{ required: true, message: '请选择工艺能力', trigger: ['change', 'submit'] }],
diff --git a/src/views/productionSchedulingPlan/basic/equipmentCapacity.vue b/src/views/productionSchedulingPlan/basic/equipmentCapacity.vue
index 1991a462..347589ce 100644
--- a/src/views/productionSchedulingPlan/basic/equipmentCapacity.vue
+++ b/src/views/productionSchedulingPlan/basic/equipmentCapacity.vue
@@ -149,6 +149,7 @@ export default {
width: 120,
disabled: true,
},
+
// {
// label: '设备型号',
// prop: 'equipNameType',
@@ -185,6 +186,15 @@ export default {
},
],
},
+ {
+ label: '设备排序',
+ prop: 'equipOrder',
+ search: true,
+ sortable: true,
+ span: 12,
+ width: 120,
+ disabled: true,
+ },
{
label: '工序',
prop: 'processName',
diff --git a/src/views/productionSchedulingPlan/schedulingException/index.vue b/src/views/productionSchedulingPlan/schedulingException/index.vue
index 6e426405..1bdab738 100644
--- a/src/views/productionSchedulingPlan/schedulingException/index.vue
+++ b/src/views/productionSchedulingPlan/schedulingException/index.vue
@@ -29,6 +29,9 @@
>
恢复
+
+ {{ row.demandDate ? row.demandDate.substring(0, 10) : '' }}
+
@@ -191,14 +194,14 @@ export default {
width: 150,
span: 12,
},
- {
- label: '产品型号',
- prop: 'productType',
- search: false,
- sortable: true,
- width: 150,
- span: 12,
- },
+ // {
+ // label: '产品型号',
+ // prop: 'productType',
+ // search: false,
+ // sortable: true,
+ // width: 150,
+ // span: 12,
+ // },
{
label: '批次号',
prop: 'batchNo',
diff --git a/src/views/qualityManagement/inspectionArchiving/rbFilePreserve/index.vue b/src/views/qualityManagement/inspectionArchiving/rbFilePreserve/index.vue
index 31df9d6b..df6c56f8 100644
--- a/src/views/qualityManagement/inspectionArchiving/rbFilePreserve/index.vue
+++ b/src/views/qualityManagement/inspectionArchiving/rbFilePreserve/index.vue
@@ -17,8 +17,8 @@
@size-change="sizeChange"
@refresh-change="refreshChange"
@on-load="onLoad"
- :permission="getPermission"
>
+
新增
@@ -26,7 +26,9 @@
导入
-->
- 复制
+ 复制
-
+ 删除
发布
作废
- 维护电子档案
- 电子档案详情
+ 维护电子档案
+ 电子档案详情
线上
@@ -94,7 +105,7 @@ import {
editRecords,
deleteRecords,
copyData,
- updateStatus
+ updateStatus,
} from '@/api/qualityManagement/inspectionArchiving/rbFilePreserve';
import { mapGetters } from 'vuex';
import detailRb from './detailRb2.vue';
@@ -140,9 +151,9 @@ export default {
index: true,
selection: false,
viewBtn: false,
- editBtn: true,
+ editBtn: false,
addBtn: false,
- delBtn: true,
+ delBtn: false,
editBtnText: '修改',
delBtnText: '删除',
viewBtnText: '详情',
@@ -213,6 +224,7 @@ export default {
span: 24,
type: 'select',
filterable: true,
+ hide: true,
remote: true,
dicUrl: `/api/blade-desk/bsProcessSet/list?name={{key}}`,
props: {
@@ -228,6 +240,14 @@ export default {
},
],
},
+ {
+ label: '工序',
+ prop: 'ppsName',
+ search: false,
+ sortable: true,
+ filter: true,
+ span: 24,
+ },
// {
// label: '线上/线下',
// prop: 'line',
@@ -295,33 +315,33 @@ export default {
// value: 'dictKey',
// }
},
- {
- label: '审批状态',
- prop: 'approvalStatus',
- search: true,
- sortable: true,
- filter: true,
- type: 'select',
+ // {
+ // label: '审批状态',
+ // prop: 'approvalStatus',
+ // search: true,
+ // sortable: true,
+ // filter: true,
+ // type: 'select',
- dicData: [
- {
- label: '新建',
- value: 0,
- },
- {
- label: '发布',
- value: 1,
- },
- {
- label: '使用中',
- value: 2,
- },
- {
- label: '废弃',
- value: 3,
- },
- ],
- },
+ // dicData: [
+ // {
+ // label: '新建',
+ // value: 0,
+ // },
+ // {
+ // label: '发布',
+ // value: 1,
+ // },
+ // {
+ // label: '使用中',
+ // value: 2,
+ // },
+ // {
+ // label: '废弃',
+ // value: 3,
+ // },
+ // ],
+ // },
],
},
@@ -335,27 +355,25 @@ export default {
mounted() {},
methods: {
- updateStatus(row,type) {
- this.$confirm(`即将对此模板进行${type==2?'发布':'作废'}, 是否继续?`, '提示', {
+ updateStatus(row, type) {
+ this.$confirm(`即将对此模板进行${type == 2 ? '发布' : '作废'}, 是否继续?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
})
.then(() => {
updateStatus({
- id:row.id,
- status:type
- }).then((res) => {
+ id: row.id,
+ status: type,
+ }).then(res => {
this.$message({
- message:'操作成功',
+ message: '操作成功',
type: 'success',
});
- this.onLoad(this.page, this.query)
+ this.onLoad(this.page, this.query);
});
})
- .catch(() => {
-
- });
+ .catch(() => {});
},
// 点击导入按钮