erp 新洋电子
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
1.6 KiB

4 years ago
<template>
<view>
<view class="card" v-for="(item,index) in 10" :key="index">
<view class="card-left">
<view class="card-up-list">
<view class="card-up-list-list">
<view>物料名称:</view><text>123-SDdshjdfjhfdjh-15</text>
</view>
<!-- <view class="card-right">
<image src="../../static/search.png"></image>
</view> -->
</view>
<view class="card-up-list">
<view class="card-up-list-list">
<view>物料编号:</view><text>16*16*12</text>
</view>
</view>
<view class="card-dow-list">
<view class="card-up-list-list">
<view>规格:</view><text>16*16*12</text>
</view>
<view class="card-up-list-list">
<view>产线:</view><text>产线A</text>
</view>
</view>
</view>
<view class="btn-grounp">
<view>开线</view>
<view class="btn-tx" @tap="stopLine()">停线</view>
<view class="btn-xx" @tap="offLine()">下线</view>
<view class="btn-blp" @tap="badProduct()">不良品统计</view>
<view class="btn-back" @tap="rework()">返修</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
},methods:{
stopLine(){
uni.navigateTo({
url: '../stopLine/stopLine'
});
},
offLine(){
uni.navigateTo({
url: '../offLine/offLine'
});
},
badProduct(){
uni.navigateTo({
url: '../badProduct/badProduct'
});
}
,
rework(){
uni.navigateTo({
url: '../rework/rework'
});
}
}
}
</script>
<style lang="scss">
@import "./index.scss";
</style>