Merge branch 'main-cq' of http://192.168.0.56:3000/hywen/SmartStorage into main-cq
This commit is contained in:
commit
54a2d757da
|
|
@ -12,7 +12,7 @@
|
|||
<checkbox :checked="fetch.checked" />
|
||||
</checkbox-group>
|
||||
</view>
|
||||
<view class="info-cont">
|
||||
<view class="info-cont" >
|
||||
<view>
|
||||
<span>类型名称</span>
|
||||
<h4>{{ fetch.typeName }}</h4>
|
||||
|
|
@ -23,9 +23,9 @@
|
|||
</view>
|
||||
<view>
|
||||
<span>待退料数量</span>
|
||||
<h4>{{ fetch.num }}</h4>
|
||||
<h4>{{ fetch.maxBackNum }}</h4>
|
||||
</view>
|
||||
<h5 @click="openPopup(fetch)" v-if="fetch.num * 1 > 0">
|
||||
<h5 @click="openPopup(fetch)" v-if="fetch.maxBackNum * 1 > 0">
|
||||
点击退料
|
||||
</h5>
|
||||
</view>
|
||||
|
|
@ -172,11 +172,11 @@
|
|||
openPopup(list) {
|
||||
console.log(list);
|
||||
this.infoList = list;
|
||||
this.rfidNum = list.num;
|
||||
this.rfidNum = list.maxBackNum;
|
||||
this.transMaCode = list.code;
|
||||
this.sendTypeId = list.typeId;
|
||||
this.parentId = list.id;
|
||||
if (Number(list.num) == 0) {
|
||||
if (Number(list.maxBackNum) == 0) {
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
title: "待退料数据为0,请勿再点击",
|
||||
|
|
|
|||
|
|
@ -68,8 +68,9 @@
|
|||
cartList: [],
|
||||
agreementId: "",
|
||||
submitList: {
|
||||
parentId: "",
|
||||
backApplyDetails: "",
|
||||
parentId: "",
|
||||
companyId:101,
|
||||
backApplyDetails: "",
|
||||
},
|
||||
};
|
||||
},
|
||||
|
|
@ -158,7 +159,9 @@
|
|||
that.cartList = that.list.filter((item) => {
|
||||
return item.checked == true && item.offNum > 0;
|
||||
});
|
||||
console.log(1111111111111);
|
||||
console.log(that.cartList);
|
||||
|
||||
if (that.cartList.length == 0) {
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
|
|
@ -171,7 +174,7 @@
|
|||
confirmText: "提交",
|
||||
success: (modalRes) => {
|
||||
if (modalRes.confirm) {
|
||||
console.log(this.cartList);
|
||||
console.log(this.cartList)
|
||||
that.submitList.backApplyDetails =
|
||||
that.cartList.map((item) => {
|
||||
return {
|
||||
|
|
@ -183,6 +186,7 @@
|
|||
companyId: item["companyId"],
|
||||
};
|
||||
});
|
||||
console.log(33333333333);
|
||||
console.log(that.submitList);
|
||||
// 提交退料清单
|
||||
that.$api.exitMaterial
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
</view>
|
||||
<h4 class="tit">业务办理</h4>
|
||||
<view class="secs">
|
||||
<view
|
||||
<!-- <view 重庆不需要领料申请
|
||||
@click="jumpUrl('fetchMaterial')"
|
||||
v-if="
|
||||
store.includes('picking:apply:apply') ||
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
">
|
||||
<image src="/static/fetchMaterial.png" mode=""></image>
|
||||
<span>领料申请</span>
|
||||
</view>
|
||||
</view> -->
|
||||
<view
|
||||
@click="jumpUrl('exitMaterial')"
|
||||
v-if="
|
||||
|
|
@ -58,12 +58,12 @@
|
|||
companyName: "",
|
||||
iptVal: "",
|
||||
benchList: [
|
||||
{
|
||||
name: "领料审批",
|
||||
pic: "/static/fetchExam.png",
|
||||
url: "fetchExam",
|
||||
isShow: "receive:examine:fgs",
|
||||
},
|
||||
// {
|
||||
// name: "领料审批",
|
||||
// pic: "/static/fetchExam.png",
|
||||
// url: "fetchExam",
|
||||
// isShow: "receive:examine:fgs",
|
||||
// },
|
||||
{
|
||||
name: "领料审批",
|
||||
pic: "/static/fetchExam.png",
|
||||
|
|
|
|||
Loading…
Reference in New Issue