|
|
|
|
@ -11,61 +11,61 @@ |
|
|
|
|
<span class="goodsItemValue">{{ result.orderNo}}</span> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="titleValue"> |
|
|
|
|
<view class="titleValue global-font"> |
|
|
|
|
<span class="title">商品编号:</span> |
|
|
|
|
<span class="value" v-if="result.businInReceivingDForPdaVo">{{result.businInReceivingDForPdaVo.bgGoodNo}}</span> |
|
|
|
|
</view> |
|
|
|
|
<view class="titleValue"> |
|
|
|
|
<view class="titleValue global-font"> |
|
|
|
|
<span class="title">商品名称:</span> |
|
|
|
|
<span class="value" |
|
|
|
|
v-if="result.businInReceivingDForPdaVo">{{result.businInReceivingDForPdaVo.bgGoodName}}</span> |
|
|
|
|
</view> |
|
|
|
|
<view class="titleValue"> |
|
|
|
|
<span class="title">规 格:</span> |
|
|
|
|
<view class="titleValue global-font"> |
|
|
|
|
<span class="title" >规 格:</span> |
|
|
|
|
<span class="value" |
|
|
|
|
v-if="result.businInReceivingDForPdaVo">{{result.businInReceivingDForPdaVo.bgSpecifications}}</span> |
|
|
|
|
</view> |
|
|
|
|
<view class="titleValue"> |
|
|
|
|
<view class="titleValue global-font"> |
|
|
|
|
<span class="title">件装量:</span> |
|
|
|
|
<span v-if="result.businInReceivingDForPdaVo"> {{result.businInReceivingDForPdaVo.bpPackageQty}}</span> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="titleValue"> |
|
|
|
|
<view class="titleValue global-font"> |
|
|
|
|
<span class="title">单 位:</span> |
|
|
|
|
<span class="value" v-if="result.businInReceivingDForPdaVo">{{result.businInReceivingDForPdaVo.unitName}}</span> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="titleValue"> |
|
|
|
|
<view class="titleValue global-font"> |
|
|
|
|
<span class="title">未验数量:</span> |
|
|
|
|
<span class="value" v-if="result.businInReceivingDForPdaVo">{{result.businInReceivingDForPdaVo.ableQty}}</span> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="titleValue"> |
|
|
|
|
<view class="titleValue global-font"> |
|
|
|
|
<span class="title">验收数量:</span> |
|
|
|
|
<span class="value" v-if="result.businInReceivingDForPdaVo">{{dataForm.actualQty}}</span> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="titleValue"> |
|
|
|
|
<view class="titleValue global-font"> |
|
|
|
|
<span class="title">件 数:</span> |
|
|
|
|
<u-input v-model="dataForm.actualCaseQty" border placeholder="请输入件数" @input="changeCase"></u-input> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="titleValue"> |
|
|
|
|
<view class="titleValue global-font"> |
|
|
|
|
<span class="title">库 别:</span> |
|
|
|
|
<u-input v-model="kubevalue" type="select" placeholder="请选择库别" class="u-input" placeholder-style="color:#000000" |
|
|
|
|
@click="kube = true" /> |
|
|
|
|
<u-select v-model="kube" :list="storageList" @confirm="confirmKube"></u-select> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="titleValue"> |
|
|
|
|
<view class="titleValue global-font"> |
|
|
|
|
<span class="title">容 器:</span> |
|
|
|
|
<u-input v-model="dataForm.containerCode" border placeholder="请输入或扫描容器条码"></u-input> |
|
|
|
|
</view> |
|
|
|
|
<view class="titleValue"> |
|
|
|
|
<view class="titleValue global-font"> |
|
|
|
|
<span class="title">抽检件数:</span> |
|
|
|
|
<u-input v-model="dataForm.checkCaseQty" :disabled="true" border placeholder="请输入数量"></u-input> |
|
|
|
|
</view> |
|
|
|
|
<view class="titleValue"> |
|
|
|
|
<view class="titleValue global-font"> |
|
|
|
|
<span class="title">抽检零散数:</span> |
|
|
|
|
<u-input v-model="dataForm.checkPieceQty" :disabled="true" border placeholder="请输入数量"></u-input> |
|
|
|
|
</view> |
|
|
|
|
@ -122,8 +122,6 @@ |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
onLoad: function(options) { |
|
|
|
|
|
|
|
|
|
console.log(options) |
|
|
|
|
this.sid = options.sid |
|
|
|
|
this.detailId = options.did |
|
|
|
|
this.getList(options) |
|
|
|
|
@ -174,7 +172,6 @@ |
|
|
|
|
//处理原因 |
|
|
|
|
getByDicAcceptanceReason() { |
|
|
|
|
this.$u.api.getByDicAcceptanceReason().then(res => { |
|
|
|
|
// console.log(res) |
|
|
|
|
if (res.code === 200) { |
|
|
|
|
this.resustlist = res.data.map((item) => ({ |
|
|
|
|
label: item.dictLabel, |
|
|
|
|
@ -197,14 +194,12 @@ |
|
|
|
|
this.storageList.push(obj); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
// console.log(this.storageList) |
|
|
|
|
}, |
|
|
|
|
// 提报异常 |
|
|
|
|
confirmError() { |
|
|
|
|
this.$u.api.acceptance.confirmError({ |
|
|
|
|
id: this.sid |
|
|
|
|
}).then((res) => { |
|
|
|
|
console.log(res) |
|
|
|
|
if (res.code === 200) { |
|
|
|
|
this.$u.toast('提报异常成功'); |
|
|
|
|
this.dataForm = { |
|
|
|
|
@ -276,8 +271,6 @@ |
|
|
|
|
// this.$u.toast('请选择有效期至'); |
|
|
|
|
// return |
|
|
|
|
// } |
|
|
|
|
console.log('这里执行了吗') |
|
|
|
|
console.log(this.billingStatusValue) |
|
|
|
|
this.$u.api.acceptance.confirmBilling({ |
|
|
|
|
id: this.sid, |
|
|
|
|
businInReceivingDetailTransBo: { |
|
|
|
|
@ -285,7 +278,6 @@ |
|
|
|
|
id: this.detailId |
|
|
|
|
} |
|
|
|
|
}).then(res => { |
|
|
|
|
console.log(res) |
|
|
|
|
if (res.code === 200) { |
|
|
|
|
this.$u.toast('验收成功'); |
|
|
|
|
this.result = {} |
|
|
|
|
@ -312,7 +304,6 @@ |
|
|
|
|
}, |
|
|
|
|
getList(params) { |
|
|
|
|
this.$u.api.acceptance.getReceiving(params).then(res => { |
|
|
|
|
console.log(res) |
|
|
|
|
if (res.code === 200) { |
|
|
|
|
this.result = res.data |
|
|
|
|
if (!this.result.businInReceivingDForPdaVo) { |
|
|
|
|
@ -348,28 +339,24 @@ |
|
|
|
|
this.endtime = true |
|
|
|
|
}, |
|
|
|
|
change(e) { |
|
|
|
|
console.log(e.result) |
|
|
|
|
this.endTimeValue = e.result |
|
|
|
|
this.endtime = false |
|
|
|
|
this.dataForm.expiredDate = e.result |
|
|
|
|
}, |
|
|
|
|
// 确定库别 |
|
|
|
|
confirmKube(e) { |
|
|
|
|
console.log(e) |
|
|
|
|
this.kube = false |
|
|
|
|
this.kubevalue = e[0].label |
|
|
|
|
this.dataForm.storageId = e[0].value |
|
|
|
|
}, |
|
|
|
|
// 验收结果 |
|
|
|
|
confirmClusion(e) { |
|
|
|
|
console.log(e) |
|
|
|
|
this.receonclusion = false |
|
|
|
|
this.billingStatusValue = e[0].label |
|
|
|
|
this.dataForm.billingStatus = e[0].value |
|
|
|
|
}, |
|
|
|
|
// 处理原因 |
|
|
|
|
confirmResult(e) { |
|
|
|
|
console.log(e) |
|
|
|
|
this.resust = false |
|
|
|
|
this.resustValue = e[0].label |
|
|
|
|
this.dataForm.reason = e[0].value |
|
|
|
|
@ -379,7 +366,6 @@ |
|
|
|
|
var pages = getCurrentPages(); //当前页面栈 |
|
|
|
|
if (pages.length > 1) { |
|
|
|
|
var beforePage = pages[pages.length - 1]; //获取上一个页面实例对象 |
|
|
|
|
console.log(beforePage) |
|
|
|
|
beforePage._data.refreshIfNeeded = true; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@ -446,7 +432,7 @@ |
|
|
|
|
.titleValue { |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
font-size: 28rpx; |
|
|
|
|
font-size: 32rpx; |
|
|
|
|
padding: 0 50rpx; |
|
|
|
|
margin-bottom: 20rpx; |
|
|
|
|
|
|
|
|
|
|