Compare commits

...

5 Commits

5 changed files with 26 additions and 6 deletions

5
.gitignore vendored
View File

@ -7,6 +7,8 @@ node_modules
/public/glb/
/dist
.VSCodeCounter/
.claude/
.codex/
# local env files
.env.local
@ -14,6 +16,7 @@ node_modules
.env.production
.env.development
# Log files
npm-debug.log*
yarn-debug.log*
@ -28,5 +31,7 @@ pnpm-debug.log*
*.njsproj
*.sln
*.sw?
*.bat
/package-lock.json
/vue.config.js

View File

@ -126,7 +126,13 @@
<span v-if="scope.row.data.喷码_磨床开台_操作人">{{scope.row.data.喷码_磨床开台_操作人}}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" class-name="colorheader2">
<el-table-column label="开台设备" align="center" class-name="colorheader2">
<template #default="scope">
<span v-if="scope.row.data.喷码_一体刀_使用设备">{{scope.row.data.喷码_一体刀_使用设备}}</span>
<span v-if="scope.row.data.喷码_磨床开台_使用设备">{{scope.row.data.喷码_磨床开台_使用设备}}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" class-name="colorheader3">
<template #default="scope">
<span>{{ scope.row.data.分检_缺陷项_备注 }}</span>
</template>

View File

@ -540,7 +540,7 @@ export default {
let that = this;
var req = {
page: 0,
state:10,
state__in:'10,34',
tag:that.tag,
mgroupx:that.mgroupId
};

View File

@ -677,11 +677,18 @@ export default {
}
that.materialIn = res.material_in!==null?res.material_in:res.mlogb_full[0]?res.mlogb_full[0].material_in:null;
that.deptId = res.belong_dept;
that.checkTableShow = true;
that.apiObjWm = that.$API.wpm.wmaterial.list;
that.$API.wpm.mlogb.list.req(that.paramsOut).then((res) => {
that.tableData2 = res;
if(res.qct!==null){
that.checkTableShow = true;
}else{
that.$API.wpm.mlogb.list.req(that.paramsOut).then((res_out) => {
that.tableData2 = res_out;
if(res.is_fix&&res_out[0].qct!==null){
that.mlogItem.qct = res_out[0].qct;
}
that.checkTableShow = true;
})
}
if(!res.is_fix){
that.getcutCount(res.material_in);
that.$API.mtm.routepack.list.req({page:0,search:res.routepack_name}).then((res) => {

View File

@ -536,6 +536,8 @@ export default {
}).catch(()=>{
that.getList();
})
}else{
that.getList();
}
}
that.visible = true;