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

View File

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