生产处置单提交

dev-scheduling
jinna 2 weeks ago
parent 6c724a7709
commit 66b8f77b1c
  1. 12
      src/views/productionDisposition/hearingDialog.vue

@ -288,12 +288,12 @@
<template #footer> <template #footer>
<span class="dialog-footer"> <span class="dialog-footer">
<el-button plain @click="closeDialog">取消</el-button> <el-button plain @click="closeDialog">取消</el-button>
<el-button type="primary" v-if="testType == 1 && type != 'view'" @click="submit(21)">保存</el-button> <el-button type="primary" v-if="testType == 1 && type != 'view'" @click="submit(-1)">保存</el-button>
<el-button type="primary" v-if="testType == 2 && type != 'view'" @click="submitInside">提交</el-button> <el-button type="primary" v-if="testType == 2 && type != 'view'" @click="submitInside">提交</el-button>
<el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(22)">提交质保</el-button> <el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(1)">提交质保</el-button>
<el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(23)">提交工艺</el-button> <el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(2)">提交工艺</el-button>
<el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(24)">提交设计</el-button> <el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(3)">提交设计</el-button>
<el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(25)">提交设计变更</el-button> <el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(4)">提交设计变更</el-button>
</span> </span>
</template> </template>
</el-dialog> </el-dialog>
@ -613,7 +613,7 @@ export default {
console.log('detail---------------------',this.detailInfo) console.log('detail---------------------',this.detailInfo)
createProductionDisposition(this.detailInfo).then(res =>{ createProductionDisposition(this.detailInfo).then(res =>{
if(res.data.code == 200){ if(res.data.code == 200){
this.$message.success(val == '21' ? '保存成功' : '提交成功') this.$message.success(val == '-1' ? '保存成功' : '提交成功')
this.closeDialog(true) this.closeDialog(true)
} }
}) })

Loading…
Cancel
Save