Browse Source

plm BMM

master
ruanqi 1 year ago
parent
commit
93de407484
  1. 20
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue
  2. 26
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue

20
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue

@ -58,6 +58,16 @@
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>
</template>
</el-table-column>
<el-table-column
fixed="right"
header-align="center"
align="center"
width="90"
label="操作">
<template slot-scope="scope">
<a type="text" size="small" @click="jumpPeifang(scope.row)">跳转配方</a>
</template>
</el-table-column>
</el-table>
</el-form>
@ -534,6 +544,16 @@
localStorage.setItem('bomData', JSON.stringify(inData))
window.open('#/part-bomManagement');
},
jumpPeifang(row){
let inData={
site:row.site,
partNo:row.componentPart,
bomType:'Manufacturing',
}
localStorage.setItem('recipeData', JSON.stringify(inData))
window.open('#/part-recipeManagement');
},
//
getNodeAuthority (row) {
getBMStatusDesc(this.searchData).then(({data})=>{

26
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue

@ -185,7 +185,31 @@
//this.searchData.type= JSON.parse(JSON.stringify(this.type));
//
this.$nextTick(()=>{
this.searchTable();
// this.searchTable();
getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp
})
searchBMPropertiesValue(this.searchData).then(({data}) => {
this.tableData = data.rows;
// this.$message({
// message: '',
// type: 'success',
// duration: 1500,
// onClose: () => {
// }
// })
});
searchBMPropertiesHeaderForBM(this.searchData).then(({data}) => {
// this.searchData.propertiesCodeNo = data.row.propertiesCodeNo;
this.$set(this.searchData, 'propertiesCodeNo', data.row.propertiesCodeNo);
});
tsdBasicInformationSearch(this.searchData).then(({data}) => {
this.baseForm=data.row;
this.getNodeAuthority(data.row)
})
this.$clearHighLight()
} )

Loading…
Cancel
Save