生产管理接口问题修改

dev-scheduling
zhangdi 3 weeks ago
parent 4dbab3c822
commit fb1e39ae12
  1. 6
      src/views/productionManagement/components/closedDialog.vue
  2. 12
      src/views/productionManagement/productionMonitoring/index.vue
  3. 1
      src/views/productionManagement/sinTerWorkOrder/index.vue

@ -45,7 +45,7 @@ export default {
prop: 'memo', prop: 'memo',
type: 'textarea', type: 'textarea',
span: 24, span: 24,
rows: 2, // rows: 2,
rules: [ rules: [
{ {
required: true, required: true,
@ -58,7 +58,9 @@ export default {
}, },
}; };
}, },
mounted() {}, mounted() {
console.log(this.itemData,this.showClose);
},
methods: { methods: {
// //
closeDialog() { closeDialog() {

@ -8,7 +8,6 @@
v-model="form" v-model="form"
v-model:page="page" v-model:page="page"
ref="crud" ref="crud"
@row-del="rowDel"
@search-change="searchChange" @search-change="searchChange"
@search-reset="searchReset" @search-reset="searchReset"
@selection-change="selectionChange" @selection-change="selectionChange"
@ -116,12 +115,12 @@
@closeDialog="closeDialog" @closeDialog="closeDialog"
></batches-dialog> ></batches-dialog>
<!-- 关闭弹窗 --> <!-- 关闭弹窗 -->
<closed-dialog <closedDialog
v-if="showClose" v-if="showClose"
:show-close="showClose" :show-close="showClose"
@closeDialog="closeDialog" @closeDialog="closeDialog"
:itemData="itemData" :itemData="itemData"
></closed-dialog> ></closedDialog>
<!-- 异常处理 --> <!-- 异常处理 -->
<abnormalDialog <abnormalDialog
v-if="showAbnormal" v-if="showAbnormal"
@ -150,7 +149,7 @@
import outsourceDialog from '../components/outsourceDialog.vue'; import outsourceDialog from '../components/outsourceDialog.vue';
import productionDialog from '../components/productionDialog.vue'; import productionDialog from '../components/productionDialog.vue';
import batchesDialog from '../components/batchesDialog.vue'; import batchesDialog from '../components/batchesDialog.vue';
import closedDialog from '../components/abnormalDialog.vue'; import closedDialog from '../components/closedDialog.vue';
import abnormalDialog from '../components/abnormalDialog.vue'; import abnormalDialog from '../components/abnormalDialog.vue';
import productionMonitoringDialog from '../components/productionMonitoringDialog.vue'; import productionMonitoringDialog from '../components/productionMonitoringDialog.vue';
import workRate from '@/views/workRate/index.vue'; import workRate from '@/views/workRate/index.vue';
@ -656,6 +655,7 @@ export default {
handleClose(row) { handleClose(row) {
this.itemData = [row]; this.itemData = [row];
this.showClose = true; this.showClose = true;
}, },
// //
@ -666,8 +666,8 @@ export default {
type: 'warning', type: 'warning',
}).then(() => { }).then(() => {
let query = { let query = {
id: row.woId, id: row.yoId,
yieldType: '12001', yieldType: '12002',
}; };
turnType(query).then(res => { turnType(query).then(res => {
this.$message.success('转烧结成功'); this.$message.success('转烧结成功');

@ -30,6 +30,7 @@
<el-button type="success" plain @click="queryOrdersHandle('15')">已完工</el-button> <el-button type="success" plain @click="queryOrdersHandle('15')">已完工</el-button>
</template> </template>
<template #menu="scope"> <template #menu="scope">
<el-button type="text" @click="clickProduction(scope.row)">生产监控</el-button> <el-button type="text" @click="clickProduction(scope.row)">生产监控</el-button>
<el-button type="text" @click="printCraftCard_new(scope.row)">工艺流程卡</el-button> <el-button type="text" @click="printCraftCard_new(scope.row)">工艺流程卡</el-button>
<el-button type="text" @click="priorityFn(scope.row)" v-if="scope.row.runStatus === 2" <el-button type="text" @click="priorityFn(scope.row)" v-if="scope.row.runStatus === 2"

Loading…
Cancel
Save