站点管理
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
v-for="item in group"
|
||||
:key="item.point_code"
|
||||
class="point-item"
|
||||
:class="item.status === '2' ? 'has-goods' : 'no-goods'"
|
||||
:class="item.point_status === '2' ? 'has-goods' : 'no-goods'"
|
||||
>
|
||||
<!-- 左上角状态标识 -->
|
||||
<!-- <view class="status-indicator" :class="item.status === '2' ? 'has-goods' : 'no-goods'"></view> -->
|
||||
@@ -72,91 +72,91 @@
|
||||
dataList: [
|
||||
{
|
||||
"point_code": "R6_01_01",
|
||||
"status": "1", //1-无货 2-有货
|
||||
"point_status": "1", //1-无货 2-有货
|
||||
"row_num": "1",
|
||||
"point_name": "1区域01排01列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_01_02",
|
||||
"status": "2",
|
||||
"point_status": "2",
|
||||
"row_num": "1",
|
||||
"point_name": "1区域01排02列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_01_03",
|
||||
"status": "1",
|
||||
"point_status": "1",
|
||||
"row_num": "1",
|
||||
"point_name": "1区域01排03列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_01_04",
|
||||
"status": "2",
|
||||
"point_status": "2",
|
||||
"row_num": "1",
|
||||
"point_name": "1区域01排04列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_01_05",
|
||||
"status": "1",
|
||||
"point_status": "1",
|
||||
"row_num": "1",
|
||||
"point_name": "1区域01排05列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_01_06",
|
||||
"status": "2",
|
||||
"point_status": "2",
|
||||
"row_num": "1",
|
||||
"point_name": "1区域01排06列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_02_01",
|
||||
"status": "2",
|
||||
"point_status": "2",
|
||||
"row_num": "2",
|
||||
"point_name": "1区域02排01列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_02_02",
|
||||
"status": "1",
|
||||
"point_status": "1",
|
||||
"row_num": "2",
|
||||
"point_name": "1区域02排02列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_02_03",
|
||||
"status": "2",
|
||||
"point_status": "2",
|
||||
"row_num": "2",
|
||||
"point_name": "1区域02排03列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_02_04",
|
||||
"status": "1",
|
||||
"point_status": "1",
|
||||
"row_num": "2",
|
||||
"point_name": "1区域02排04列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_02_05",
|
||||
"status": "2",
|
||||
"point_status": "2",
|
||||
"row_num": "2",
|
||||
"point_name": "1区域02排05列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_03_01",
|
||||
"status": "1",
|
||||
"point_status": "1",
|
||||
"row_num": "3",
|
||||
"point_name": "1区域03排01列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_03_02",
|
||||
"status": "2",
|
||||
"point_status": "2",
|
||||
"row_num": "3",
|
||||
"point_name": "1区域03排02列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_03_03",
|
||||
"status": "2",
|
||||
"point_status": "2",
|
||||
"row_num": "3",
|
||||
"point_name": "1区域03排03列"
|
||||
},
|
||||
{
|
||||
"point_code": "R6_03_04",
|
||||
"status": "1",
|
||||
"point_status": "1",
|
||||
"row_num": "3",
|
||||
"point_name": "1区域03排04列"
|
||||
}
|
||||
@@ -181,7 +181,7 @@
|
||||
}
|
||||
},
|
||||
created () {
|
||||
// this._selectRegions()
|
||||
this._selectRegions()
|
||||
},
|
||||
methods: {
|
||||
async _selectRegions () {
|
||||
@@ -199,13 +199,14 @@
|
||||
selectChange (e) {
|
||||
this.index = e
|
||||
this.searchList()
|
||||
},
|
||||
searchList () {
|
||||
this.dataList = []
|
||||
setTimeout(() => {
|
||||
this._selectPointInfo()
|
||||
}, 9000)
|
||||
},
|
||||
searchList () {
|
||||
this.dataList = []
|
||||
this._selectPointInfo()
|
||||
},
|
||||
async _selectPointInfo () {
|
||||
let res = await selectPointInfo(this.index)
|
||||
if (res.code === '200') {
|
||||
|
||||
Reference in New Issue
Block a user