页面修改

This commit is contained in:
zzyuan 2025-07-22 17:28:46 +08:00
parent cab3f8cf41
commit 7401dba03f
5 changed files with 23 additions and 20 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="dashboard-editor-container">
<h3 style="font-weight: 600;">数据总览11</h3>
<h3 style="font-weight: 600;">数据总览</h3>
<panel-group :topData="topAreaOptions"/>
<el-row>
<el-col :span="12">
@ -24,7 +24,7 @@
<div>
<el-radio-group v-model="type3" @change="changType3" size="mini">
<el-radio-button :label="1">出库</el-radio-button>
<el-radio-button :label="2">入库</el-radio-button>
<el-radio-button :label="2">入库</el-radio-button>
</el-radio-group>
</div>
</div>
@ -38,7 +38,7 @@
</div>
</el-col>
<el-col :span="6">
<div style="background: #fff;padding: 10px;margin: 5px;margin-bottom: 10px;border-radius: 4px;">
<div style="background: #fff;padding: 10px;margin: 5px;margin-bottom: 10px;border-radius: 4px;">
<div style="display: flex;justify-content: space-between;align-items: center;height: 32px;">
<div style="border-left: 4px solid #00594F;padding-left: 10px;font-weight: 600;">供应商评分排名</div>
</div>
@ -47,7 +47,7 @@
<div style="background: #fff;padding: 10px;margin: 5px;margin-bottom: 10px;border-radius: 4px;">
<div style="display: flex;justify-content: space-between;align-items: center;">
<div style="border-left: 4px solid #00594F;padding-left: 10px;font-weight: 600">货品库存正常/临期/过期占比图</div>
</div>
</div>
<div id="barChartSix" style="width: 100%;height: 235px;margin-bottom: 20px;"></div>
</div>
</el-col>
@ -557,7 +557,7 @@ export default {
{
type: "category",
inverse: true,
offset: -50,
offset: -20,
axisTick: "none",
axisLine: "none",
show: true,
@ -913,7 +913,7 @@ export default {
{
type: "category",
inverse: true,
offset: -50,
offset: -20,
axisTick: "none",
axisLine: "none",
show: true,

View File

@ -364,12 +364,13 @@ export default {
};
},
created() {
this.getAreaTreeData()
this.getMaterialTree()
this.attachmentList=[]
if(this.$route.query.purchaseInspectionRowData){
this.purchaseInspectionRowData = JSON.parse(this.$route.query.purchaseInspectionRowData)
this.getContractInfo()
}else{
this.getAreaTreeData()
this.getMaterialTree()
this.attachmentList=[]
}
},
watch:{

View File

@ -406,12 +406,13 @@ export default {
},
};
},
created() {
this.getAreaTreeData()
this.getMaterialTree()
created() {
if(this.$route.query.purchaseOrderRowData){
this.purchaseOrderRowData = JSON.parse(this.$route.query.purchaseOrderRowData)
this.getContractInfo()
this.purchaseOrderRowData = JSON.parse(this.$route.query.purchaseOrderRowData)
this.getContractInfo()
}else{
this.getAreaTreeData()
this.getMaterialTree()
}
},
watch:{
@ -454,11 +455,11 @@ export default {
});
supplierPageApi({ isPaging:1,areaIdList:[this.baseInfo.areaId] }).then((response) => {
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) => {
this.wareHouseOptions = response.rows||[];
this.$set(this.baseInfo,'warehouseId',this.baseInfo.warehouseId)
this.wareHouseOptions = response.rows||[];
this.$set(this.baseInfo,"warehouseId",response.data.warehouseId)
});
});
},

View File

@ -327,11 +327,12 @@ export default {
};
},
created() {
this.getAreaTreeData()
this.getMaterialTree()
if(this.$route.query.inRowData){
this.inRowData = JSON.parse(this.$route.query.inRowData)
this.getContractInfo()
}else{
this.getAreaTreeData()
this.getMaterialTree()
}
},
watch:{

View File

@ -538,7 +538,7 @@ export default {
{
type: "category",
inverse: true,
offset: -50,
offset: -20,
axisTick: "none",
axisLine: "none",
show: true,