问题修改

dev-scheduling
zhangdi 1 month ago
parent 0d3dc89c75
commit 9b367d37f9
  1. 3
      src/views/orderManagement/components/mold/addMoldDailog.vue
  2. 6
      src/views/orderManagement/planYieIdOrder.vue
  3. 8
      src/views/orderManagement/sinTerYieIdOrder.vue
  4. 9
      src/views/processManagement/components/processMainte/dsPartBasicInfo.vue
  5. 46
      src/views/processManagement/components/processMainte/partDetails.vue
  6. 13
      src/views/productionManagement/components/outsourceDialog.vue
  7. 2
      src/views/productionManagement/reworkOrder/index.vue
  8. 8
      src/views/productionSchedulingPlan/basic/components/addEquipment.vue
  9. 10
      src/views/productionSchedulingPlan/basic/equipmentCapacity.vue
  10. 19
      src/views/productionSchedulingPlan/schedulingException/index.vue
  11. 106
      src/views/qualityManagement/inspectionArchiving/rbFilePreserve/index.vue

@ -340,8 +340,9 @@ export default {
this.quaLevelList = res.data.data
})
},
},
getUser(){
getUserByRoleAlias({roleAlias:'保管员'}).then(res =>{
getUserByRoleAlias({roleAlias:'dq_custodian'}).then(res =>{
this.keeperList = res.data.data
})
},

@ -58,9 +58,9 @@
<template #demandDate="{ row }">
{{ row.demandDate ? row.demandDate.substring(0, 10) : '' }}
</template>
<template #releaseDate="{ row }">
<!-- <template #releaseDate="{ row }">
{{ row.releaseDate ? row.releaseDate.substring(0, 10) : '' }}
</template>
</template> -->
</avue-crud>
<!-- 加急 -->
@ -532,7 +532,7 @@ export default {
},
{
label: '计划员',
prop: 'planUserName',
prop: 'planUser',
search: false,
sortable: true,
width: 120,

@ -78,9 +78,9 @@
<template #demandDate="{ row }">
{{ row.demandDate ? row.demandDate.substring(0, 10) : '' }}
</template>
<template #releaseDate="{ row }">
<!-- <template #releaseDate="{ row }">
{{ row.releaseDate ? row.releaseDate.substring(0, 10) : '' }}
</template>
</template> -->
</avue-crud>
<!-- 加急 -->
@ -538,7 +538,7 @@ export default {
},
{
label: '需求数量',
prop: 'poQty',
prop: 'ypQty',
search: false,
sortable: true,
width: 120,
@ -592,7 +592,7 @@ export default {
},
{
label: '计划员',
prop: 'planUserName',
prop: 'planUser',
search: false,
sortable: true,
width: 120,

@ -839,11 +839,12 @@ export default {
let selPart = this.locallyPlatedData.filter(item => {
return item.partCode == this.formData.partCode;
});
if (selPart.lenght > 0) {
if (this.partType == '') {
this.formData.goldMark = true;
if (selPart.length > 0) {
if (this.partType == '热表') {
this.formData.goldMark = '1';
// this.$set(this.formData, 'goldMark', 1);
}
}
}
// this.formData.isClassCake = true;
});
},

@ -204,7 +204,13 @@
<el-col :span="24">
<el-form-item label="工艺校验:" prop="sinTer">
<div style="width: 100%">
<el-checkbox v-model="formData.goldMark" disabled>镀金标识</el-checkbox>
<el-checkbox
v-model="formData.goldMark"
:true-label="'1'"
:false-label="'0'"
disabled
>镀金标识</el-checkbox
>
<el-checkbox
disabled
v-model="formData.markingsTest"
@ -587,6 +593,8 @@ import {
getVersion,
getPlatingList,
getProject,
getLocallyPlatedPartList,
getStandardList,
} from '@/api/processManagement/taskProcessing';
export default {
@ -631,6 +639,7 @@ export default {
processLevel: '1',
rankList: [],
rank: '2',
partType: '',
priorityList: [
{
label: '本次使用',
@ -795,10 +804,12 @@ export default {
projectOptions: [],
standardList: [], //
tabLoading: false, //
locallyPlatedData: [], //
};
},
mounted() {
this.setCrewShow = this.isOpen;
this.getLocallyPlatedPartList();
if (this.detailsType == 'processPlanning') {
this.version = this.rowData.partVersion;
this.partChange(this.rowData.id);
@ -811,6 +822,13 @@ export default {
//
},
methods: {
//
getLocallyPlatedPartList() {
getLocallyPlatedPartList().then(res => {
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);
}
}
});
}
},

@ -18,7 +18,9 @@
</el-form-item>
</el-form>
<el-table :data="outsourceData" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection"></el-table-column>
<el-table-column align="center" type="selection" :selectable="checkSelectable" >
</el-table-column>
<el-table-column
align="center"
label="工序号"
@ -77,6 +79,15 @@ export default {
this.getListProProcess();
},
methods: {
checkSelectable(row, index) {
// handle true ( 1, )
//
// handle true /
return row.handle === true;
// handle handle 'Y'
// return row.handle === 'Y';
},
//
getListProProcess() {
let params = {

@ -59,6 +59,7 @@ export default {
components: { updateMakeQty, reworkDetails },
data() {
return {
loading:false,
searchCode: '', //
updateMakeQtyVisible: false,
itemData: {},
@ -332,6 +333,7 @@ export default {
},
currentChange(currentPage) {
this.page.currentPage = currentPage;
this.onLoad(this.page, this.query);
},
sizeChange(pageSize) {

@ -300,11 +300,11 @@
</template>
<template #default="scope">
<el-form-item
:prop="`tableData[${scope.$index}].equipmentSort`"
:rules="formRules.equipmentSort"
:prop="`tableData[${scope.$index}].equipOrder`"
:rules="formRules.equipOrder"
>
<el-input-number
v-model="scope.row.equipmentSort"
v-model="scope.row.equipOrder"
style="width: 100%"
:min="0"
></el-input-number>
@ -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'] }],

@ -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',

@ -29,6 +29,9 @@
>
<el-button type="text" size="mini" @click="recoveryFn(scope.row)">恢复</el-button>
</template>
<template #demandDate="{ row }">
{{ row.demandDate ? row.demandDate.substring(0, 10) : '' }}
</template>
</avue-crud>
</basic-container>
</template>
@ -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',

@ -17,8 +17,8 @@
@size-change="sizeChange"
@refresh-change="refreshChange"
@on-load="onLoad"
:permission="getPermission"
>
<!-- :permission="getPermission" -->
<template #menu-left>
<el-button type="primary" @click="handleAdd">新增</el-button>
</template>
@ -26,7 +26,9 @@
<el-button type="primary" @click="handleImport()">导入</el-button>
</template> -->
<template #menu="scope">
<el-button type="text" @click="copyClick(scope.row)" v-if="scope.row.status == 2">复制</el-button>
<el-button type="text" @click="copyClick(scope.row)" v-if="scope.row.status == 2"
>复制</el-button
>
<!-- <el-button
type="text"
@click="upgradedVersion(scope.row.rfpId)"
@ -36,15 +38,24 @@
<!-- v-if="
(scope.row.rfpStatus == 1 || scope.row.rfpStatus == 4) && scope.row.approvalStatus != 0
" -->
<el-button type="text" @click="rowDel(scope.row)" v-if="scope.row.status == 1"
>删除</el-button
>
<el-button type="text" @click="updateStatus(scope.row, 2)" v-if="scope.row.status == 1"
>发布</el-button
>
<el-button type="text" @click="updateStatus(scope.row, 3)" v-if="scope.row.status == 2"
>作废</el-button
>
<el-button type="text" @click="templatePreserve(scope.row)" v-if="scope.row.status != 3">维护电子档案</el-button>
<el-button type="text" @click="detailClick(scope.row)">电子档案详情</el-button>
<el-button type="text" @click="templatePreserve(scope.row)" v-if="scope.row.status == 2"
>维护电子档案</el-button
>
<el-button
type="text"
@click="detailClick(scope.row)"
v-if="scope.row.status == 2 || scope.row.status == 3"
>电子档案详情</el-button
>
</template>
<template #line="{ row }">
<el-tag v-if="row.line == 1">线上</el-tag>
@ -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(() => {});
},
//

Loading…
Cancel
Save