生产管理接口问题修改

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

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

@ -30,6 +30,7 @@
<el-button type="success" plain @click="queryOrdersHandle('15')">已完工</el-button>
</template>
<template #menu="scope">
<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="priorityFn(scope.row)" v-if="scope.row.runStatus === 2"

Loading…
Cancel
Save