页面修改
This commit is contained in:
parent
cab3f8cf41
commit
7401dba03f
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="dashboard-editor-container">
|
<div class="dashboard-editor-container">
|
||||||
<h3 style="font-weight: 600;">数据总览11</h3>
|
<h3 style="font-weight: 600;">数据总览</h3>
|
||||||
<panel-group :topData="topAreaOptions"/>
|
<panel-group :topData="topAreaOptions"/>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
|
|
@ -557,7 +557,7 @@ export default {
|
||||||
{
|
{
|
||||||
type: "category",
|
type: "category",
|
||||||
inverse: true,
|
inverse: true,
|
||||||
offset: -50,
|
offset: -20,
|
||||||
axisTick: "none",
|
axisTick: "none",
|
||||||
axisLine: "none",
|
axisLine: "none",
|
||||||
show: true,
|
show: true,
|
||||||
|
|
@ -913,7 +913,7 @@ export default {
|
||||||
{
|
{
|
||||||
type: "category",
|
type: "category",
|
||||||
inverse: true,
|
inverse: true,
|
||||||
offset: -50,
|
offset: -20,
|
||||||
axisTick: "none",
|
axisTick: "none",
|
||||||
axisLine: "none",
|
axisLine: "none",
|
||||||
show: true,
|
show: true,
|
||||||
|
|
|
||||||
|
|
@ -364,12 +364,13 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getAreaTreeData()
|
|
||||||
this.getMaterialTree()
|
|
||||||
this.attachmentList=[]
|
|
||||||
if(this.$route.query.purchaseInspectionRowData){
|
if(this.$route.query.purchaseInspectionRowData){
|
||||||
this.purchaseInspectionRowData = JSON.parse(this.$route.query.purchaseInspectionRowData)
|
this.purchaseInspectionRowData = JSON.parse(this.$route.query.purchaseInspectionRowData)
|
||||||
this.getContractInfo()
|
this.getContractInfo()
|
||||||
|
}else{
|
||||||
|
this.getAreaTreeData()
|
||||||
|
this.getMaterialTree()
|
||||||
|
this.attachmentList=[]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
|
|
|
||||||
|
|
@ -407,11 +407,12 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getAreaTreeData()
|
|
||||||
this.getMaterialTree()
|
|
||||||
if(this.$route.query.purchaseOrderRowData){
|
if(this.$route.query.purchaseOrderRowData){
|
||||||
this.purchaseOrderRowData = JSON.parse(this.$route.query.purchaseOrderRowData)
|
this.purchaseOrderRowData = JSON.parse(this.$route.query.purchaseOrderRowData)
|
||||||
this.getContractInfo()
|
this.getContractInfo()
|
||||||
|
}else{
|
||||||
|
this.getAreaTreeData()
|
||||||
|
this.getMaterialTree()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
|
|
@ -454,11 +455,11 @@ export default {
|
||||||
});
|
});
|
||||||
supplierPageApi({ isPaging:1,areaIdList:[this.baseInfo.areaId] }).then((response) => {
|
supplierPageApi({ isPaging:1,areaIdList:[this.baseInfo.areaId] }).then((response) => {
|
||||||
this.supplierOptions = response.rows||[];
|
this.supplierOptions = response.rows||[];
|
||||||
this.$set(this.baseInfo,'supplierId',this.baseInfo.supplierId)
|
this.$set(this.baseInfo,"supplierId",response.data.supplierId)
|
||||||
});
|
});
|
||||||
drpWareHousePageApi({ areaId:this.baseInfo.areaId }).then((response) => {
|
drpWareHousePageApi({ areaId:this.baseInfo.areaId }).then((response) => {
|
||||||
this.wareHouseOptions = response.rows||[];
|
this.wareHouseOptions = response.rows||[];
|
||||||
this.$set(this.baseInfo,'warehouseId',this.baseInfo.warehouseId)
|
this.$set(this.baseInfo,"warehouseId",response.data.warehouseId)
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -327,11 +327,12 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getAreaTreeData()
|
|
||||||
this.getMaterialTree()
|
|
||||||
if(this.$route.query.inRowData){
|
if(this.$route.query.inRowData){
|
||||||
this.inRowData = JSON.parse(this.$route.query.inRowData)
|
this.inRowData = JSON.parse(this.$route.query.inRowData)
|
||||||
this.getContractInfo()
|
this.getContractInfo()
|
||||||
|
}else{
|
||||||
|
this.getAreaTreeData()
|
||||||
|
this.getMaterialTree()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
|
|
|
||||||
|
|
@ -538,7 +538,7 @@ export default {
|
||||||
{
|
{
|
||||||
type: "category",
|
type: "category",
|
||||||
inverse: true,
|
inverse: true,
|
||||||
offset: -50,
|
offset: -20,
|
||||||
axisTick: "none",
|
axisTick: "none",
|
||||||
axisLine: "none",
|
axisLine: "none",
|
||||||
show: true,
|
show: true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue