|
|
@@ -12,7 +12,7 @@
|
|
|
<div class="top-title">库存可视化</div>
|
|
|
<div class="query-content">
|
|
|
<el-form :inline="true" :model="formInline" class="demo-form-inline">
|
|
|
- <el-form-item label="仓库名称:">
|
|
|
+ <el-form-item label="仓库区域:">
|
|
|
<el-select
|
|
|
v-model="formInline.cang_ku_ming_chen_value"
|
|
|
placeholder="请选择样品"
|
|
|
@@ -26,7 +26,7 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item style="margin-left: 50px" label="区域名称:">
|
|
|
+ <el-form-item style="margin-left: 50px" label="货架名称:">
|
|
|
<el-select
|
|
|
v-model="formInline.qu_yu_value"
|
|
|
placeholder="请选择区域名称"
|
|
|
@@ -301,7 +301,7 @@ export default {
|
|
|
},
|
|
|
async loadQueryData() {
|
|
|
//查询选择仓库数据查询
|
|
|
- var sqlString = "select distinct cang_ku_ming_chen from t_ck ";
|
|
|
+ var sqlString = "select distinct cang_ku_ming_chen from t_ck ORDER BY cang_ku_ming_chen DESC";
|
|
|
var this_ = this;
|
|
|
await curdPost("sql", sqlString).then((response) => {
|
|
|
this_.cangkuOption = response.variables.data;
|
|
|
@@ -310,6 +310,8 @@ export default {
|
|
|
this_.cangkuOption.splice(index, 1);
|
|
|
}
|
|
|
});
|
|
|
+ this_.cangkuOption[0] = this_.cangkuOption.splice(1,1,this_.cangkuOption[0])[0];
|
|
|
+ this_.cangkuOption[3] = this_.cangkuOption.splice(4,1,this_.cangkuOption[3])[0];
|
|
|
});
|
|
|
},
|
|
|
onSubmits() {
|