41 lines
726 B
Vue
41 lines
726 B
Vue
<!-- 仓库配料 -->
|
|
<template>
|
|
<view>
|
|
<u--text text="仓库配料表单" size="50"></u--text>
|
|
<u-line></u-line>
|
|
<u-scroll-list>
|
|
<view v-for="(item, index) in start_point_positions" :key="index">
|
|
<u-tag :text="item"></u-tag>
|
|
</view>
|
|
</u-scroll-list>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {achievestartpoints } from '@/api/materialManagement/MaterialProductionInput.js';
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
start_point_positions: []
|
|
};
|
|
},
|
|
mounted() {
|
|
this.get_startpoints()
|
|
},
|
|
methods: {
|
|
// todo 获取上料起点
|
|
|
|
get_startpoints(){
|
|
achievestartpoints().then((res)=>{
|
|
if(res.code==200){
|
|
this.start_point_positions=red.data;
|
|
}
|
|
})
|
|
}
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style></style>
|