数量选择编码
This commit is contained in:
parent
4a908af19a
commit
594f7e6759
|
|
@ -334,20 +334,7 @@ const onClick = (e, item) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (e.content.text == '查看') {
|
if (e.content.text == '查看') {
|
||||||
if (item.status == 2) {//已完成
|
checkViewDetail(item)//查看
|
||||||
console.log(312)
|
|
||||||
checkViewDetail(item)//查看
|
|
||||||
}else{
|
|
||||||
console.log(31)//退回
|
|
||||||
leaseOutBack(item)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (e.index === 2) {
|
|
||||||
if (item.status == 2) {//已完成
|
|
||||||
}else{
|
|
||||||
console.log(32)
|
|
||||||
checkViewDetail(item)//查看
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(taskStatus.value==4){//出库已完成
|
if(taskStatus.value==4){//出库已完成
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="出厂厂家:" name="supplier" required>
|
<uni-forms-item label="出厂厂家:" name="supplier" required>
|
||||||
<select-one style="width: 100%; height: 90rpx" :options="supplierList" placeholder="请选择出厂厂家"
|
<select-one style="width: 100%; height: 90rpx" :options="supplierList" placeholder="请选择出厂厂家"
|
||||||
:key="supplier" @change="onSupplierChange" @clear="onSupplierClear" />
|
:key="maName" @change="onSupplierChange" @clear="onSupplierClear" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
|
|
||||||
<uni-forms-item label="检修员:" name="repairMan" required>
|
<uni-forms-item label="检修员:" name="repairMan" required>
|
||||||
|
|
@ -209,7 +209,7 @@
|
||||||
}
|
}
|
||||||
if (maCode.value.length === 0) {
|
if (maCode.value.length === 0) {
|
||||||
return uni.showToast({
|
return uni.showToast({
|
||||||
title: '请输入机具编码',
|
title: '请生成机具编码',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
<!-- 表头行 -->
|
<!-- 表头行 -->
|
||||||
<uni-tr>
|
<uni-tr>
|
||||||
<uni-th width="70px" align="center" style="font-size: 24rpx">编码</uni-th>
|
<uni-th width="70px" align="center" style="font-size: 24rpx">编码</uni-th>
|
||||||
<uni-th width="55px" align="center" style="font-size: 24rpx">状态</uni-th>
|
<!-- <uni-th width="55px" align="center" style="font-size: 24rpx">状态</uni-th> -->
|
||||||
<uni-th width="55px" align="center" style="font-size: 24rpx">录入人</uni-th>
|
<uni-th width="55px" align="center" style="font-size: 24rpx">录入人</uni-th>
|
||||||
<!-- <uni-th width="80px" align="center" style="font-size: 24rpx;">录入时间</uni-th> -->
|
<!-- <uni-th width="80px" align="center" style="font-size: 24rpx;">录入时间</uni-th> -->
|
||||||
<uni-th width="50px" align="center" style="font-size: 24rpx">操作</uni-th>
|
<uni-th width="50px" align="center" style="font-size: 24rpx">操作</uni-th>
|
||||||
|
|
@ -56,15 +56,13 @@
|
||||||
<!-- 表格数据行 -->
|
<!-- 表格数据行 -->
|
||||||
<uni-tr v-for="item in codeList" :key="item.id">
|
<uni-tr v-for="item in codeList" :key="item.id">
|
||||||
<uni-td style="font-size: 22rpx" align="center">{{ item.maCode }}</uni-td>
|
<uni-td style="font-size: 22rpx" align="center">{{ item.maCode }}</uni-td>
|
||||||
<uni-td style="font-size: 22rpx" align="center">{{ item.maStatus }}</uni-td>
|
<!-- <uni-td style="font-size: 22rpx" align="center">{{ item.maStatus }}</uni-td> -->
|
||||||
<uni-td style="font-size: 22rpx" align="center">{{ item.createBy }}</uni-td>
|
<uni-td style="font-size: 22rpx" align="center">{{ item.createBy }}</uni-td>
|
||||||
<!-- <uni-td style="font-size: 22rpx;">{{item.createTime}}</uni-td> -->
|
<!-- <uni-td style="font-size: 22rpx;">{{item.createTime}}</uni-td> -->
|
||||||
<uni-td>
|
<uni-td>
|
||||||
<view class="uni-group">
|
<div style="color: red; font-size: 20rpx;text-align: center;" @click="delRow(item)"
|
||||||
<span style="color: red; margin-left: 10px; font-size: 20rpx" @click="delRow(item)"
|
>删除</div
|
||||||
>删除</span
|
>
|
||||||
>
|
|
||||||
</view>
|
|
||||||
</uni-td>
|
</uni-td>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
</uni-table>
|
</uni-table>
|
||||||
|
|
@ -83,7 +81,7 @@
|
||||||
import { ref, reactive } from 'vue'
|
import { ref, reactive } from 'vue'
|
||||||
import { onLoad, onShow } from '@dcloudio/uni-app'
|
import { onLoad, onShow } from '@dcloudio/uni-app'
|
||||||
import {
|
import {
|
||||||
getAppBoxDetailListApi,
|
getBoxDetailListApi,
|
||||||
appUnbindMaCodeApi,
|
appUnbindMaCodeApi,
|
||||||
getMaCodeListApi,
|
getMaCodeListApi,
|
||||||
appCodeBindApi,
|
appCodeBindApi,
|
||||||
|
|
@ -117,7 +115,7 @@ const getCodeList = () => {
|
||||||
let param = {
|
let param = {
|
||||||
boxId: boxInfo.value.boxId,
|
boxId: boxInfo.value.boxId,
|
||||||
}
|
}
|
||||||
getAppBoxDetailListApi(param)
|
getBoxDetailListApi(param)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if ((res.code = 200)) {
|
if ((res.code = 200)) {
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,13 @@ export const getAppBoxDetailListApi = (data) => {
|
||||||
data:data,
|
data:data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
export const getBoxDetailListApi = (data) => {
|
||||||
|
return http({
|
||||||
|
method: 'GET',
|
||||||
|
url: '/material/bm_qrcode_box/app_box_bind_wsList',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
// 标准箱绑定编码
|
// 标准箱绑定编码
|
||||||
export const appBindMaCodeApi = (data)=> {
|
export const appBindMaCodeApi = (data)=> {
|
||||||
return http({
|
return http({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue