|
|
|
|
@ -15,7 +15,7 @@ |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<view class='recommend'> |
|
|
|
|
<text class='recommend-title global-font'>待盘点物料信息</text> |
|
|
|
|
<text class='recommend-title global-font'>待商品物料信息</text> |
|
|
|
|
</view> |
|
|
|
|
<!-- {{dataList}} --> |
|
|
|
|
<view class="all-card"> |
|
|
|
|
@ -26,8 +26,8 @@ |
|
|
|
|
<!-- <button class="sh-button" @click="delBtn(index)">X</button> --> |
|
|
|
|
<view class="card-content" > |
|
|
|
|
<view class="card-content-item"> |
|
|
|
|
<text class="item-title">物料编号:</text> |
|
|
|
|
<text class="item-value">{{item.ptPart}}</text> |
|
|
|
|
<text class="item-title">商品编号:</text> |
|
|
|
|
<text class="item-value">{{item.goodNo}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
@ -40,47 +40,44 @@ |
|
|
|
|
|
|
|
|
|
<view class="card-content"> |
|
|
|
|
<view class="card-content-item"> |
|
|
|
|
<text class="item-title">物料名称:</text> |
|
|
|
|
<text class="item-value">{{item.ptName}}</text> |
|
|
|
|
<text class="item-title">商品名称:</text> |
|
|
|
|
<text class="item-value">{{item.goodName}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="card-content"> |
|
|
|
|
<view class="card-content-item"> |
|
|
|
|
<text class="item-title" style="width: 80px;">物料数量:</text> |
|
|
|
|
<text class="item-value">{{item.qty}}</text> |
|
|
|
|
<text class="item-title" style="width: 55px;">库存数量:</text> |
|
|
|
|
<text class="item-value">{{item.quantity}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="card-content-item"> |
|
|
|
|
<text class="item-title" style="width: 80px;">盘点数量:</text> |
|
|
|
|
<text class="item-title" style="width: 55px;">盘点数量:</text> |
|
|
|
|
<text class="item-value">{{item.invQty}}</text> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<u-popup v-model="show" width='90%' height="260px" :mask="true" @close="close" @open="open" mode="center"> |
|
|
|
|
<view style="height: 44px;text-align: center;line-height: 44px;font-size: 18px;margin-bottom: 18px;"> |
|
|
|
|
<text>物料修改</text> |
|
|
|
|
<text>商品修改</text> |
|
|
|
|
</view> |
|
|
|
|
<view style="width: 100%;display: flex;align-items: baseline;"> |
|
|
|
|
<text style="margin: 0px 20px 0px;">物料编码:</text> <input v-model="form.ptPart" placeholder="请扫描物料编码" style="border:1px solid #000;padding-right: 20px;"></u-input> |
|
|
|
|
<text style="margin: 0px 20px 0px;">商品编码:</text> <input v-model="form.goodNo" placeholder="请扫描商品编码" style="border:1px solid #000;padding-right: 20px;"></u-input> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<view style="width: 100%;display: flex;align-items: baseline;"> |
|
|
|
|
<!-- <view style="width: 100%;display: flex;align-items: baseline;"> |
|
|
|
|
<text style="margin: 10px 20px 10px;">批次日期:</text> |
|
|
|
|
|
|
|
|
|
<u-input v-model="form.batch" style="padding-right: 30px;" type="select" placeholder="请选择批次日期" prop="batch" class="u-input" |
|
|
|
|
<u-input v-model="form.batch" style="margin-right: 30px;" type="select" placeholder="请选择批次日期" prop="batch" class="u-input" |
|
|
|
|
placeholder-style="color:#000000" @click="selShow = true" /> |
|
|
|
|
<u-select :mask-close-able="false" :safe-area-inset-bottom="true" v-model="selShow" |
|
|
|
|
mode="single-column" :list="lockstockBatch" @confirm="confirm" /> |
|
|
|
|
<!-- <u-select v-model="selShow" placeholder="请选择批次日期" mode="single-column" :list="batchList" @confirm="confirm"></u-select> --> |
|
|
|
|
<!-- <input v-model="selShow" placeholder="请选择批次日期" style="border:1px solid #000;padding-right: 20px;"></u-input> --> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
</view> --> |
|
|
|
|
<view style="width: 100%;display: flex;align-items: baseline;"> |
|
|
|
|
<text style="margin: 0px 20px 0px;">缴库数量:</text> <input v-model="form.invQty" style="border:1px solid #000;padding-right: 20px;"></u-input> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<view style="width: 100%; display: flex;margin-top: 40px;font-size: 14px;"> |
|
|
|
|
<button style="width: 30%; font-size: 16px;line-height: 44px;" class="btn1" type="default" @click="noEnter()">取消</button> |
|
|
|
|
<button style="width: 30%;font-size: 16px;line-height: 44px;;" type="default" @click="enterUp(item)">确认</button> |
|
|
|
|
<button style="width: 30%;font-size: 16px;line-height: 44px;" class="btn1" type="default" @click="noEnter()">取消</button> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
</u-popup> |
|
|
|
|
@ -124,13 +121,21 @@ |
|
|
|
|
containerId:'', |
|
|
|
|
dtlAddBos:[] |
|
|
|
|
}, |
|
|
|
|
dataList: [], |
|
|
|
|
dataList: [ |
|
|
|
|
{ |
|
|
|
|
goodNo:'123', |
|
|
|
|
containerCode:'2250', |
|
|
|
|
goodName:'物品', |
|
|
|
|
quantity:25, |
|
|
|
|
invQty:20 |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
query: { |
|
|
|
|
current: 1, |
|
|
|
|
size: 20 |
|
|
|
|
}, |
|
|
|
|
form:{ |
|
|
|
|
ptPart:'', |
|
|
|
|
goodNo:'', |
|
|
|
|
batch:'', |
|
|
|
|
invQty:'' |
|
|
|
|
}, |
|
|
|
|
@ -210,12 +215,12 @@ |
|
|
|
|
}, |
|
|
|
|
qtyEnter(item){ |
|
|
|
|
this.show=true |
|
|
|
|
this.form.batch=item.batchNo |
|
|
|
|
this.form.ptPart=item.ptPart |
|
|
|
|
this.form.invQty=item.qty |
|
|
|
|
this.form.invOrderNo=item.invOrderNo |
|
|
|
|
this.form.goodNo=item.goodNo |
|
|
|
|
this.form.containerCode=item.containerCode |
|
|
|
|
this.invQty=item.qty |
|
|
|
|
this.form.quantity=item.quantity |
|
|
|
|
this.form.goodName=item.goodName |
|
|
|
|
this.form.invQty=item.invQty |
|
|
|
|
// this.invQty=item.qty |
|
|
|
|
this.invid=item.id |
|
|
|
|
}, |
|
|
|
|
noEnter(){ |
|
|
|
|
@ -306,14 +311,14 @@ |
|
|
|
|
// this.$u.api.inv.entrySave(this.) |
|
|
|
|
// item.qty=this.invQty |
|
|
|
|
// console.log(item); |
|
|
|
|
if(this.form.ptPart === null |
|
|
|
|
|| this.form.ptPart === '' |
|
|
|
|
|| this.form.ptPart === 0 |
|
|
|
|
|| this.form.ptPart === undefined |
|
|
|
|
|| this.form.ptPart ==='undefined'){ |
|
|
|
|
this.$u.toast("请扫描物料编码"); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
// if(this.form.ptPart === null |
|
|
|
|
// || this.form.ptPart === '' |
|
|
|
|
// || this.form.ptPart === 0 |
|
|
|
|
// || this.form.ptPart === undefined |
|
|
|
|
// || this.form.ptPart ==='undefined'){ |
|
|
|
|
// this.$u.toast("请扫描物料编码"); |
|
|
|
|
// return; |
|
|
|
|
// } |
|
|
|
|
if(this.form.batch === null |
|
|
|
|
|| this.form.batch === '' |
|
|
|
|
|| this.form.batch === 0 |
|
|
|
|
|