生产报工修改。

This commit is contained in:
DESKTOP-J7ED0MB\yinjinlu 2022-11-05 20:47:02 +08:00
parent 622c0277ae
commit 8f625fd283

View File

@ -284,7 +284,7 @@
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="cancel" v-if="optType =='view' || form.status !='PREPARE' ">返回</el-button> <el-button type="primary" @click="cancel" v-if="optType =='view' || form.status !='PREPARE' ">返回</el-button>
<el-button type="primary" @click="submitForm" v-if="form.status =='PREPARE' && optType !='view' "> </el-button> <el-button type="primary" @click="submitForm" v-if="form.status =='PREPARE' && optType !='view' "> </el-button>
<el-button type="success" @click="handleExecute" v-if="form.status =='PREPARE' && optType !='view' && form.feedbackId !=null"> </el-button> <el-button type="success" @click="handleExecute" v-if="form.status =='PREPARE' && optType !='view' && form.recordId !=null"> </el-button>
<el-button @click="cancel"> </el-button> <el-button @click="cancel"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
@ -496,11 +496,14 @@ export default {
if (this.form.recordId != null) { if (this.form.recordId != null) {
updateFeedback(this.form).then(response => { updateFeedback(this.form).then(response => {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open=false;
this.getList(); this.getList();
}); });
} else { } else {
addFeedback(this.form).then(response => { addFeedback(this.form).then(response => {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open=false;
this.getList(); this.getList();
}); });
} }