|
@@ -175,26 +175,26 @@
|
|
@selection-change="handleSelectionChange"
|
|
@selection-change="handleSelectionChange"
|
|
>
|
|
>
|
|
<el-table-column show-overflow-tooltip type="selection" width="55" />
|
|
<el-table-column show-overflow-tooltip type="selection" width="55" />
|
|
- <el-table-column show-overflow-tooltip label="仓库属性" align="center" prop="warehouseProperty"/>
|
|
|
|
|
|
+ <el-table-column show-overflow-tooltip label="仓库属性" align="center" width="200" prop="warehouseProperty" :formatter="formatterWarehouseProperty"/>
|
|
<el-table-column show-overflow-tooltip label="仓库档案名称" align="center" width="200" prop="warehouseName"/>
|
|
<el-table-column show-overflow-tooltip label="仓库档案名称" align="center" width="200" prop="warehouseName"/>
|
|
- <el-table-column show-overflow-tooltip label="收货仓库编码" align="center" prop="code" width="150"/>
|
|
|
|
- <el-table-column show-overflow-tooltip label="收货仓库名称" align="center" width="150" prop="name"/>
|
|
|
|
- <el-table-column show-overflow-tooltip label="详细地址" align="center" width="150" prop="address"/>
|
|
|
|
- <el-table-column show-overflow-tooltip label="物料分类" align="center" width="150" prop="materialClassifyName" />
|
|
|
|
- <el-table-column show-overflow-tooltip label="联系人" align="center" width="150" prop="contactsName" />
|
|
|
|
- <el-table-column show-overflow-tooltip label="联系人电话" align="center" prop="contactsPhone" width="150" />
|
|
|
|
- <el-table-column show-overflow-tooltip label="NC档案ID" align="center" width="150" prop="createTime" />
|
|
|
|
|
|
+ <el-table-column show-overflow-tooltip label="收货仓库编码" align="center" prop="code" width="200"/>
|
|
|
|
+ <el-table-column show-overflow-tooltip label="收货仓库名称" align="center" width="200" prop="name"/>
|
|
|
|
+ <el-table-column show-overflow-tooltip label="详细地址" align="center" width="200" prop="address"/>
|
|
|
|
+ <el-table-column show-overflow-tooltip label="物料分类" align="center" width="200" prop="materialClassifyName" />
|
|
|
|
+ <el-table-column show-overflow-tooltip label="联系人" align="center" width="200" prop="contactsName" />
|
|
|
|
+ <el-table-column show-overflow-tooltip label="联系人电话" align="center" prop="contactsPhone" width="200" />
|
|
|
|
+ <el-table-column show-overflow-tooltip label="NC档案ID" align="center" width="200" prop="createTime" />
|
|
<el-table-column show-overflow-tooltip label="备注" align="center" width="120" prop="remark" />
|
|
<el-table-column show-overflow-tooltip label="备注" align="center" width="120" prop="remark" />
|
|
- <el-table-column show-overflow-tooltip label="创建人" align="center" width="150" prop="createByName" />
|
|
|
|
- <el-table-column show-overflow-tooltip label="创建时间" align="center" width="150" prop="createTime" />
|
|
|
|
- <el-table-column show-overflow-tooltip label="修改人" align="center" width="150" prop="updateByName" />
|
|
|
|
- <el-table-column show-overflow-tooltip label="修改时间" align="center" width="150" prop="updateTime" />
|
|
|
|
- <el-table-column show-overflow-tooltip label="同步状态" align="center" width="150" prop="sendStatus">
|
|
|
|
|
|
+ <el-table-column show-overflow-tooltip label="创建人" align="center" width="200" prop="createByName" />
|
|
|
|
+ <el-table-column show-overflow-tooltip label="创建时间" align="center" width="200" prop="createTime" />
|
|
|
|
+ <el-table-column show-overflow-tooltip label="修改人" align="center" width="200" prop="updateByName" />
|
|
|
|
+ <el-table-column show-overflow-tooltip label="修改时间" align="center" width="200" prop="updateTime" />
|
|
|
|
+ <el-table-column show-overflow-tooltip label="同步状态" align="center" width="200" prop="sendStatus">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ scope.row.sendStatus == 'Y' ? '已同步' : '未同步'}}
|
|
{{ scope.row.sendStatus == 'Y' ? '已同步' : '未同步'}}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column show-overflow-tooltip label="启用" align="center" width="150" prop="status">
|
|
|
|
|
|
+ <el-table-column show-overflow-tooltip label="启用" align="center" width="200" prop="status">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ scope.row.status == 'Y' ? '启用' : '停用' }}
|
|
{{ scope.row.status == 'Y' ? '启用' : '停用' }}
|
|
</template>
|
|
</template>
|
|
@@ -203,7 +203,7 @@
|
|
fixed="right"
|
|
fixed="right"
|
|
label="操作"
|
|
label="操作"
|
|
align="center"
|
|
align="center"
|
|
- width="150"
|
|
|
|
|
|
+ width="200"
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button type="text" size="mini" @click="check(scope.row)">查看</el-button>
|
|
<el-button type="text" size="mini" @click="check(scope.row)">查看</el-button>
|
|
@@ -304,6 +304,21 @@ export default {
|
|
this.getList(this.queryParams)
|
|
this.getList(this.queryParams)
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 格式化表格内容
|
|
|
|
+ formatterWarehouseProperty(row) {
|
|
|
|
+ switch (row.warehouseProperty) {
|
|
|
|
+ case '1':
|
|
|
|
+ return '电商库存'
|
|
|
|
+ case '2':
|
|
|
|
+ return '区域分仓公共库存'
|
|
|
|
+ case '3':
|
|
|
|
+ return '各项目仓库存'
|
|
|
|
+ case '4':
|
|
|
|
+ return '中心仓公共库存'
|
|
|
|
+ case '5':
|
|
|
|
+ return '事业发展部仓库'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
getList(params){
|
|
getList(params){
|
|
getAddressList(params).then(res => {
|
|
getAddressList(params).then(res => {
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|