lynn 7 months ago
commit 1fb48e07cd

@ -2,7 +2,7 @@
<div> <div>
<div class="map" id="map" :style="{'height':mapHeight+'px'}"> <div class="map" id="map" :style="{'height':mapHeight+'px'}">
<div class="teamsTab"> <div class="teamsTab">
<span>防汛队伍{{this.makerObj.teams.length}}</span> <span>防汛队伍{{makerObj.teams.length}}</span>
<span>在册人员{{totalPerson}}</span> <span>在册人员{{totalPerson}}</span>
</div> </div>
<div class="tabs"> <div class="tabs">
@ -108,119 +108,101 @@
fixed: 'left', fixed: 'left',
width: 80 width: 80
}, },
// {
// label: "",
// width: 120,
// prop: 'guanliancangku',
// align: 'center',
// },
// {
// label: "",
// width: 220,
// prop: 'cangkumingcheng',
// align: 'left',
// },
{
label: "物资代码",
width: 120,
prop: 'wuzidaima',
align: 'left'
},
{ {
label: "现物资名称", label: "物资编码",
width: 120, width: 120,
prop: 'xianwuzimingcheng', prop: 'wuzibianma',
align: 'center' align: 'center',
}, },
{ {
label: "原物资名称", label: "资产名称",
width: 120, width: 180,
prop: 'yuanwuzimingcheng', prop: 'zichanmingcheng',
align: 'left' align: 'left'
}, },
{ {
label: "规格型号", label: "物资类型",
width: 120, width: 180,
prop: 'guigexinghao', prop: 'wuzileixing',
align: 'center'
},
{
label: "数量",
width: 80,
prop: 'shuliang',
align: 'center'
},
{
label: "单位",
width: 80,
prop: 'danwei',
align: 'center' align: 'center'
}, },
{ {
label: "价值(元)", label: "规格型号",
width: 80, width: 180,
prop: 'jiazhiyuan', prop: 'guigexinghao',
align: 'center' align: 'left'
}, },
{ {
label: "生产日期", label: "分类",
width: 120, width: 180,
prop: 'shengchanriqi', prop: 'fenlei',
align: 'center' align: 'center'
}, },
// {
// label: "",
// width: 180,
// prop: 'zhuangtai',
// align: 'center'
// },
{ {
label: "入库日期", label: "计量单位",
width: 120, width: 180,
prop: 'rukuriqi', prop: 'jiliangdanwei',
align: 'center' align: 'center'
}, },
{ {
label: "储备年限", label: "所在仓库",
width: 80, width: 180,
prop: 'chubeinianxian', prop: 'storages_id_materialstorages_id_relation.cangkumingcheng',
align: 'center' align: 'center'
}, },
// {
// label: "",
// width: 180,
// prop: 'suozaihuojia',
// align: 'center'
// },
{ {
label: "状态", label: "入库时间",
width: 80, width: 180,
prop: 'zhuangtai', prop: 'rukushijian',
align: 'center' align: 'center'
}, },
// {
// label: "",
// width: 180,
// prop: 'zichanyuanzhi',
// align: 'center'
// },
{ {
label: "资金来源", label: "使用年限",
width: 120, width: 180,
prop: 'zijinlaiyuan', prop: 'shiyongnianxian',
align: 'center' align: 'center'
}, },
// {
// label: "使",
// width: 180,
// prop: 'shiyongbumen',
// align: 'center'
// },
{ {
label: "储备方式", label: "是否为固定资产",
width: 120, width: 180,
prop: 'chubeifangshi', prop: 'shifouweigudingzichan',
align: 'center' align: 'center'
}, },
{ {
label: "储备地点", label: "库存",
width: 180, width: 180,
prop: 'chubeididian', prop: 'inventorys_total',
align: 'left' align: 'center'
}, },
{ {
label: "备注", label: "备注",
width: 180, width: 240,
prop: 'beizhu', prop: 'beizhu',
align: 'left' align: 'left'
},
{
label: "储备层级",
width: 120,
prop: 'chubeicengji',
align: 'left'
},
{
label: "是否展示",
width: 120,
prop: 'shifouzhanshi',
align: 'left'
} }
] ]
} }
@ -319,7 +301,7 @@
await index({ await index({
page: 1, page: 1,
page_size: 9999, page_size: 9999,
table_name: 'flood_storages', table_name: 'materialstorages',
filter: [{ filter: [{
key: 'quyu_id', key: 'quyu_id',
op: 'eq', op: 'eq',
@ -346,9 +328,9 @@
const res = await index({ const res = await index({
page: 1, page: 1,
page_size: 9999, page_size: 9999,
table_name: "flood_materials", table_name: "material_infos",
filter: [{ filter: [{
"key": "guanliancangku", "key": "storages_id",
"op": "eq", "op": "eq",
"value": id "value": id
}], }],

@ -141,9 +141,9 @@
</div> </div>
<div class="xy-table-item-content"> <div class="xy-table-item-content">
<el-upload class="upload-demo" :action="action" :on-success="handleSuccess" :on-remove="handleRemove" <el-upload class="upload-demo" :action="action" :on-success="handleSuccess" :on-remove="handleRemove"
multiple :limit="10" :file-list="fileList"> multiple :limit="1" :file-list="fileList">
<el-button size="small" type="primary">点击上传</el-button> <el-button size="small" type="primary">点击上传</el-button>
<div slot="tip" class="el-upload__tip">只能上传jpg/png文件且不超过500kb</div> <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件且不超过500kb</div> -->
</el-upload> </el-upload>
</div> </div>
</div> </div>

Loading…
Cancel
Save