materilDetailAndEditmateril

This commit is contained in:
shijing 2022-04-28 17:15:44 +08:00
parent 87d004b60c
commit da2b2950b5
2 changed files with 6 additions and 5 deletions

View File

@ -24,7 +24,7 @@
{{ materialdetail.count }}
</el-descriptions-item>
<el-descriptions-item label="文件">
<el-link :href="materialdetail.file_.path">{{materialdetail.file_.name}}</el-link>
<el-link v-if="materialdetail.file_" :href="materialdetail.file_.path">{{materialdetail.file_.name}}</el-link>
</el-descriptions-item>
</el-descriptions>
</el-card>
@ -486,6 +486,8 @@ getpickList()
getMaterial() {
getMaterial(this.material).then((response) => {
if (response.data) {
debugger;
this.materialdetail = response.data; //物料基本信息
}
});

View File

@ -633,8 +633,7 @@
getMaterial,
getInputmaterialList,
createInputmaterial,
updateInputmaterial
,
updateInputmaterial,
deleteInputmaterial,
getOutputmaterialList,
createOutputmaterial,
@ -648,8 +647,7 @@
gettechdocList,
createtechdoc,
updatetechdoc,
deletetechdoc
,
deletetechdoc,
getsubproducationList,
createsubproducation,
updatesubproducation,
@ -763,6 +761,7 @@
let hei = document.getElementsByClassName('app-main')[0].clientHeight;
let h = document.getElementById('processCard').clientHeight;
that.halfHeight = (hei - h - 176) / 2;
this.getmaterialList();//物料列表
},
methods: {
checkPermission,