Commit 49b63540 authored by 耿迪迪's avatar 耿迪迪

货架位置调整

parent 934f7441
...@@ -100,17 +100,17 @@ ...@@ -100,17 +100,17 @@
methods:{ methods:{
getList(){ getList(){
locationListInfo(this.queryParams).then(res => { locationListInfo(this.queryParams).then(res => {
// 1 正 1-80 反 241-320 this.shelfInfo = res.data;
// 2 正 81-160 反 321-400 // 1 正 1-80 反 161-240
// 3 正 161-240 反 401-480 // 2 正 81-160 反 241-320
// 3 正 321-400 反 401-480
// 4 正 481-528 // 4 正 481-528
// 5 正 529-576 // 5 正 529-576
this.shelfInfo = res.data;
this.shelfLayoutList.push(this.shelfInfo.slice(0,80)); this.shelfLayoutList.push(this.shelfInfo.slice(0,80));
this.shelfLayoutList.push(this.shelfInfo.slice(240,320)); this.shelfLayoutList.push(this.shelfInfo.slice(160,240));
this.shelfLayoutList.push(this.shelfInfo.slice(80,160)); this.shelfLayoutList.push(this.shelfInfo.slice(80,160));
this.shelfLayoutList.push(this.shelfInfo.slice(240,320));
this.shelfLayoutList.push(this.shelfInfo.slice(320,400)); this.shelfLayoutList.push(this.shelfInfo.slice(320,400));
this.shelfLayoutList.push(this.shelfInfo.slice(160,240));
this.shelfLayoutList.push(this.shelfInfo.slice(400,480)); this.shelfLayoutList.push(this.shelfInfo.slice(400,480));
this.shelfLayoutList.push(this.shelfInfo.slice(480,528)); this.shelfLayoutList.push(this.shelfInfo.slice(480,528));
this.shelfLayoutList.push(this.shelfInfo.slice(528)); this.shelfLayoutList.push(this.shelfInfo.slice(528));
......
...@@ -100,17 +100,17 @@ ...@@ -100,17 +100,17 @@
methods:{ methods:{
getList(){ getList(){
locationListInfo(this.queryParams).then(res => { locationListInfo(this.queryParams).then(res => {
// 1 正 1-80 反 241-320 this.shelfInfo = res.data;
// 2 正 81-160 反 321-400 // 1 正 1-80 反 161-240
// 3 正 161-240 反 401-480 // 2 正 81-160 反 241-320
// 3 正 321-400 反 401-480
// 4 正 481-528 // 4 正 481-528
// 5 正 529-576 // 5 正 529-576
this.shelfInfo = res.data;
this.shelfLayoutList.push(this.shelfInfo.slice(0,80)); this.shelfLayoutList.push(this.shelfInfo.slice(0,80));
this.shelfLayoutList.push(this.shelfInfo.slice(240,320)); this.shelfLayoutList.push(this.shelfInfo.slice(160,240));
this.shelfLayoutList.push(this.shelfInfo.slice(80,160)); this.shelfLayoutList.push(this.shelfInfo.slice(80,160));
this.shelfLayoutList.push(this.shelfInfo.slice(240,320));
this.shelfLayoutList.push(this.shelfInfo.slice(320,400)); this.shelfLayoutList.push(this.shelfInfo.slice(320,400));
this.shelfLayoutList.push(this.shelfInfo.slice(160,240));
this.shelfLayoutList.push(this.shelfInfo.slice(400,480)); this.shelfLayoutList.push(this.shelfInfo.slice(400,480));
this.shelfLayoutList.push(this.shelfInfo.slice(480,528)); this.shelfLayoutList.push(this.shelfInfo.slice(480,528));
this.shelfLayoutList.push(this.shelfInfo.slice(528)); this.shelfLayoutList.push(this.shelfInfo.slice(528));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment