Browse Source

仓库地区、管理区域回显问题

test
kilo 2 years ago
parent
commit
d34f428c5b
  1. 2
      src/option/basicdata/basicdataWarehouse.js
  2. 12
      src/views/basicdata/warehouse/warehouse/basicdataWarehouse.vue

2
src/option/basicdata/basicdataWarehouse.js

@ -243,7 +243,6 @@ export default {
}, },
labelWidth:'120', labelWidth:'120',
width:'100', width:'100',
showAllLevels:false
}, },
{ {
@ -301,7 +300,6 @@ export default {
editDisplay: false, editDisplay: false,
viewDisplay: true, viewDisplay: true,
hide: false, hide: false,
showAllLevels:false
}, },
{ {
label: "仓库地址", label: "仓库地址",

12
src/views/basicdata/warehouse/warehouse/basicdataWarehouse.vue

@ -35,7 +35,7 @@
</el-button> </el-button>
</template> </template>
<template #menu="{size,row,index}"> <template #menu="{size,row,index}">
<el-button type="primary" text icon="el-icon-view" @click="editDeline(row)">查看地图</el-button> <!-- <el-button type="primary" text icon="el-icon-view" @click="editDeline(row)">查看地图</el-button>-->
<!-- <el-button type="primary" text @click="showDialog"> 弹窗表单</el-button>--> <!-- <el-button type="primary" text @click="showDialog"> 弹窗表单</el-button>-->
</template> </template>
</avue-crud> </avue-crud>
@ -282,6 +282,7 @@
// this.form.administrativeAreas.push(data.manageCode) // this.form.administrativeAreas.push(data.manageCode)
// } // }
// //
console.log('>>>>>>>>>',data);
this.form = res.data.data; this.form = res.data.data;
console.log("this.form>>>>>>",this.form); console.log("this.form>>>>>>",this.form);
@ -416,6 +417,7 @@
b.join(",") b.join(",")
item.addressInfo=b; item.addressInfo=b;
}) })
console.log("data>>>>>>>>>>>>>",data);
this.data = data.records; this.data = data.records;
this.loading = false; this.loading = false;
this.selectionClear(); this.selectionClear();
@ -426,10 +428,10 @@
</script> </script>
<style> <style>
.avue-input-map__content-box { /*.avue-input-map__content-box {*/
position: relative; /* position: relative;*/
z-index: -1; /* z-index: -1;*/
} /*}*/
/*.amap-ui-poi-picker-search-results-container, .amap-ui-poi-picker-sugg-container {*/ /*.amap-ui-poi-picker-search-results-container, .amap-ui-poi-picker-sugg-container {*/
/* position: absolute;*/ /* position: absolute;*/
/* -webkit-box-sizing: border-box;*/ /* -webkit-box-sizing: border-box;*/

Loading…
Cancel
Save