0602
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<template>
|
||||
<view class="page-container">
|
||||
<scroll-view class="page-body" scroll-y>
|
||||
<view class="data-list">
|
||||
<view class="data-card" v-for="(item, index) in storeList" :key="index">
|
||||
<view class="data-card-header">
|
||||
<text class="data-card-title">{{ item.name }}</text>
|
||||
<text class="data-card-tag green">正常</text>
|
||||
</view>
|
||||
<view class="data-card-row">
|
||||
<text>绑定经办人</text>
|
||||
<text class="val">{{ item.operator }}</text>
|
||||
</view>
|
||||
<view class="data-card-row">
|
||||
<text>仓位数</text>
|
||||
<text class="val">{{ item.positions }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<!-- 贮存设施 -->
|
||||
<script>
|
||||
import { api } from '@/api'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
storeList: [
|
||||
{ name: '1号暂存间', operator: '李伟', positions: '3个(A/B/C区)' },
|
||||
{ name: '2号暂存间', operator: '张明', positions: '2个(A/B区)' }
|
||||
]
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getData() {
|
||||
api.facility().then(res => {
|
||||
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user