退料删除,规格型号错位
This commit is contained in:
parent
69c7bb86e1
commit
6341b13cf9
|
|
@ -109,14 +109,14 @@ const options = ref([
|
||||||
fontSize: '30rpx',
|
fontSize: '30rpx',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// text: '删除',
|
text: '删除',
|
||||||
// style: {
|
style: {
|
||||||
// backgroundColor: '#ed6042',
|
backgroundColor: '#ed6042',
|
||||||
// color: '#fff',
|
color: '#fff',
|
||||||
// fontSize: '30rpx',
|
fontSize: '30rpx',
|
||||||
// },
|
},
|
||||||
// },
|
},
|
||||||
])
|
])
|
||||||
|
|
||||||
// 右滑按钮组
|
// 右滑按钮组
|
||||||
|
|
@ -191,8 +191,9 @@ const onClick = (e, item, itemIndex) => {
|
||||||
}
|
}
|
||||||
// 2. 删除
|
// 2. 删除
|
||||||
if (index === 1) {
|
if (index === 1) {
|
||||||
|
console.log("xxxxxxxxxxxxxxx",item)
|
||||||
let param = {
|
let param = {
|
||||||
id:item.id,
|
typeId:item.typeId,
|
||||||
parentId:item.parentId
|
parentId:item.parentId
|
||||||
}
|
}
|
||||||
deleteNumType(param).then(res => {
|
deleteNumType(param).then(res => {
|
||||||
|
|
|
||||||
|
|
@ -45,8 +45,8 @@
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</uni-col>
|
</uni-col>
|
||||||
</uni-row> -->
|
</uni-row> -->
|
||||||
<view style="width:100%;">
|
<!-- <view style="width:100%;">
|
||||||
<uni-table border stripe emptyText="">
|
<uni-table border stripe emptyText="" >
|
||||||
<uni-tr>
|
<uni-tr>
|
||||||
<uni-th style="font-size: 20rpx;" width="45px" align="center" >序号</uni-th>
|
<uni-th style="font-size: 20rpx;" width="45px" align="center" >序号</uni-th>
|
||||||
<uni-th style="font-size: 20rpx;" width="70px" align="center">机具名称</uni-th>
|
<uni-th style="font-size: 20rpx;" width="70px" align="center">机具名称</uni-th>
|
||||||
|
|
@ -57,17 +57,18 @@
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<uni-tr></uni-tr>
|
<uni-tr></uni-tr>
|
||||||
</uni-table>
|
</uni-table>
|
||||||
</view>
|
</view> -->
|
||||||
<scroll-view scroll-y class="scroll-container" @scrolltolower="onScrollTolower">
|
<scroll-view scroll-y class="scroll-container" @scrolltolower="onScrollTolower">
|
||||||
<uni-table border stripe emptyText="暂无更多数据" sticky>
|
|
||||||
<!-- <uni-tr>
|
<uni-table border stripe emptyText="暂无更多数据" sticky>
|
||||||
<uni-th style="font-size: 20rpx;" width="50px" align="center" >序号</uni-th>
|
<uni-tr>
|
||||||
<uni-th style="font-size: 20rpx;" width="80px" align="center">机具名称</uni-th>
|
<uni-th style="font-size: 20rpx;" width="45px" align="center" >序号</uni-th>
|
||||||
<uni-th style="font-size: 20rpx;" width="80px" align="center">规格型号</uni-th>
|
<uni-th style="font-size: 20rpx;" width="70px" align="center">机具名称</uni-th>
|
||||||
<uni-th style="font-size: 20rpx;" width="80px" align="center">单位</uni-th>
|
<uni-th style="font-size: 20rpx;" width="70px" align="center">规格型号</uni-th>
|
||||||
|
<uni-th style="font-size: 20rpx;" width="70px" align="center">单位</uni-th>
|
||||||
<uni-th style="font-size: 20rpx;" width="50px" align="center">库存</uni-th>
|
<uni-th style="font-size: 20rpx;" width="50px" align="center">库存</uni-th>
|
||||||
<uni-th style="font-size: 20rpx;" width="50px" align="center">在用</uni-th>
|
<uni-th style="font-size: 20rpx;" width="50px" align="center">在用</uni-th>
|
||||||
</uni-tr> -->
|
</uni-tr>
|
||||||
<!-- 表格数据行 -->
|
<!-- 表格数据行 -->
|
||||||
<uni-tr v-for="(item,index) in tableList" :key="index">
|
<uni-tr v-for="(item,index) in tableList" :key="index">
|
||||||
<uni-td style="width: 45px;font-size: 20rpx;text-align: center;">{{(index+1)}}</uni-td>
|
<uni-td style="width: 45px;font-size: 20rpx;text-align: center;">{{(index+1)}}</uni-td>
|
||||||
|
|
@ -77,7 +78,7 @@
|
||||||
<uni-td style="width: 50px;font-size: 20rpx;text-align: center;">{{item.storeNum}}</uni-td>
|
<uni-td style="width: 50px;font-size: 20rpx;text-align: center;">{{item.storeNum}}</uni-td>
|
||||||
<uni-td style="width: 50px;font-size: 20rpx;text-align: center;color: #409EFF" @click="goToUseDetails(item)">{{item.usNum}}</uni-td>
|
<uni-td style="width: 50px;font-size: 20rpx;text-align: center;color: #409EFF" @click="goToUseDetails(item)">{{item.usNum}}</uni-td>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
</uni-table>
|
</uni-table>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue