|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="qualityControl">
|
|
|
- <div v-if="(!readonly && shiFouGuoShen) || daiBianZhi" class="btn">
|
|
|
+ <div v-if="!readonly && shiFouGuoShen" class="btn">
|
|
|
<el-button type="primary" icon="ibps-icon-plus" @click="onAddClick"
|
|
|
>添加</el-button
|
|
|
>
|
|
|
@@ -60,7 +60,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="是否合格" prop="shiFouHeGe" />
|
|
|
<el-table-column
|
|
|
- v-if="(!readonly && shiFouGuoShen) || daiBianZhi"
|
|
|
+ v-if="!readonly && shiFouGuoShen"
|
|
|
label="操作栏位"
|
|
|
fixed="right"
|
|
|
>
|
|
|
@@ -145,18 +145,12 @@ export default {
|
|
|
if (
|
|
|
!this.formData.shiFouGuoShen ||
|
|
|
this.formData.shiFouGuoShen === '已退回' ||
|
|
|
- this.formData.shiFouGuoShen === '已暂存'
|
|
|
+ this.formData.shiFouGuoShen === '已暂存' ||
|
|
|
+ this.formData.shiFouGuoShen === '待编制'
|
|
|
) {
|
|
|
return true
|
|
|
}
|
|
|
return false
|
|
|
- },
|
|
|
- daiBianZhi() {
|
|
|
- if (this.formData.shiFouGuoShen == '待编制') {
|
|
|
- return true
|
|
|
- } else {
|
|
|
- return false
|
|
|
- }
|
|
|
}
|
|
|
},
|
|
|
watch: {
|