materilDetailAndEditmateril
This commit is contained in:
parent
87d004b60c
commit
da2b2950b5
|
@ -24,7 +24,7 @@
|
||||||
{{ materialdetail.count }}
|
{{ materialdetail.count }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="文件">
|
<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-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
@ -486,6 +486,8 @@ getpickList()
|
||||||
getMaterial() {
|
getMaterial() {
|
||||||
getMaterial(this.material).then((response) => {
|
getMaterial(this.material).then((response) => {
|
||||||
if (response.data) {
|
if (response.data) {
|
||||||
|
debugger;
|
||||||
|
|
||||||
this.materialdetail = response.data; //物料基本信息
|
this.materialdetail = response.data; //物料基本信息
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -633,8 +633,7 @@
|
||||||
getMaterial,
|
getMaterial,
|
||||||
getInputmaterialList,
|
getInputmaterialList,
|
||||||
createInputmaterial,
|
createInputmaterial,
|
||||||
updateInputmaterial
|
updateInputmaterial,
|
||||||
,
|
|
||||||
deleteInputmaterial,
|
deleteInputmaterial,
|
||||||
getOutputmaterialList,
|
getOutputmaterialList,
|
||||||
createOutputmaterial,
|
createOutputmaterial,
|
||||||
|
@ -648,8 +647,7 @@
|
||||||
gettechdocList,
|
gettechdocList,
|
||||||
createtechdoc,
|
createtechdoc,
|
||||||
updatetechdoc,
|
updatetechdoc,
|
||||||
deletetechdoc
|
deletetechdoc,
|
||||||
,
|
|
||||||
getsubproducationList,
|
getsubproducationList,
|
||||||
createsubproducation,
|
createsubproducation,
|
||||||
updatesubproducation,
|
updatesubproducation,
|
||||||
|
@ -763,6 +761,7 @@
|
||||||
let hei = document.getElementsByClassName('app-main')[0].clientHeight;
|
let hei = document.getElementsByClassName('app-main')[0].clientHeight;
|
||||||
let h = document.getElementById('processCard').clientHeight;
|
let h = document.getElementById('processCard').clientHeight;
|
||||||
that.halfHeight = (hei - h - 176) / 2;
|
that.halfHeight = (hei - h - 176) / 2;
|
||||||
|
this.getmaterialList();//物料列表
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
checkPermission,
|
checkPermission,
|
||||||
|
|
Loading…
Reference in New Issue