fix:车间物料检验时数量显示为count_cando

This commit is contained in:
shijing 2024-09-18 14:50:28 +08:00
parent 747c22fc02
commit 17c50f7b27
2 changed files with 7 additions and 8 deletions

View File

@ -347,10 +347,10 @@ export default {
};
},
mounted() {
this.batchCount = this.itemObj.count;
this.batchCount = this.itemObj.count_cando;
this.form.batch = this.itemObj.batch;
this.form.wm = this.itemObj.id;
this.form.count = this.itemObj.count;
this.form.count = this.itemObj.count_cando;
this.form.supplier = this.itemObj.supplier;
this.deptID = this.$TOOL.data.get('gx_deptID');
this.getUsers();
@ -361,7 +361,6 @@ export default {
this.mode = mode;
this.modeTitle = mode+'抽检';
this.visible = true;
return this;
},
getUsers(){

View File

@ -72,10 +72,10 @@
>放行审批</el-button>
</div>
</el-card>
<!-- 物料消耗 -->
<!-- 输入物料 -->
<el-card
style="width: 100%; margin: 1vh 0"
header="物料消耗"
header="输入物料"
shadow="never"
>
<div>
@ -141,7 +141,7 @@
</el-table-column>
</scTable>
</el-card>
<!-- 物料消耗编辑 -->
<!-- 输入物料编辑 -->
<el-dialog v-model="saveInDialog" title="编辑">
<el-form
:model="saveInForm"
@ -181,8 +181,8 @@
>
</template>
</el-dialog>
<!-- 出物料 -->
<el-card style="width: 100%" header="出物料" shadow="never">
<!-- 出物料 -->
<el-card style="width: 100%" header="出物料" shadow="never">
<scTable
ref="tableOut"
:apiObj="apiObj"