fix:光芯已完成退火检验恢复

This commit is contained in:
shijing 2026-03-05 09:03:32 +08:00
parent 04ae10aa40
commit fdacb84301
2 changed files with 4 additions and 2 deletions

View File

@ -640,6 +640,7 @@
style="width: 100%" style="width: 100%"
placeholder="不合格数量" placeholder="不合格数量"
controls-position="right" controls-position="right"
@change="count_notok_change"
></el-input-number> ></el-input-number>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -1210,6 +1211,7 @@ export default {
if(this.form.count_notok>count_notok){ if(this.form.count_notok>count_notok){
this.form.count_n_qt = this.form.count_notok-count_notok; this.form.count_n_qt = this.form.count_notok-count_notok;
} }
this.form.count_ok = this.form.count - this.form.count_notok;
}, },
getMaterialItem(){ getMaterialItem(){
let that = this; let that = this;

View File

@ -130,14 +130,14 @@
@click="table_Check(scope.row)" @click="table_Check(scope.row)"
v-auth="'ftestwork.create'" v-auth="'ftestwork.create'"
type="primary" type="primary"
v-if="(scope.row.state == 10||scope.row.state == 34)&&scope.row.mgroup_name !== '退火'" v-if="scope.row.state == 10||scope.row.state == 34"
>检验</el-button> >检验</el-button>
<!-- v-if="(scope.row.mgroup_name == '黑化'||scope.row.mgroup_name == '退火'||scope.row.mgroup_name == '外观检验')&&(scope.row.state == 10||scope.row.state == 20||scope.row.state == 34)" --> <!-- v-if="(scope.row.mgroup_name == '黑化'||scope.row.mgroup_name == '退火'||scope.row.mgroup_name == '外观检验')&&(scope.row.state == 10||scope.row.state == 20||scope.row.state == 34)" -->
<el-button <el-button
link size="small" link size="small"
type="warning" type="warning"
@click="tableCheckList(scope.row)" @click="tableCheckList(scope.row)"
v-if="(scope.row.state == 10||scope.row.state == 34)&&scope.row.mgroup_name !== '退火'" v-if="scope.row.state == 10||scope.row.state == 34"
>检验记录</el-button> >检验记录</el-button>
<el-button @click="printMaterial(scope.row)" type="text">打签</el-button> <el-button @click="printMaterial(scope.row)" type="text">打签</el-button>
</template> </template>