|
@@ -18,7 +18,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="item">
|
|
|
- <div class="left">入库类型</div>
|
|
|
+ <div class="left"><span>*</span>入库类型</div>
|
|
|
<div class="right" @tap="selectReceiptType">
|
|
|
<text v-if="receiptDto.optTypeName">{{receiptDto.optTypeName}} ></text>
|
|
|
<text class="tip" v-else>请选择 ></text>
|
|
@@ -258,6 +258,7 @@
|
|
|
saveReceipt(){
|
|
|
if(!this.receiptDto.orderNo) return this.$showToast('请输入入库单号');
|
|
|
if(!this.receiptDto.warehouseId) return this.$showToast('请选择仓库');
|
|
|
+ if(!this.receiptDto.optType) return this.$showToast('请选择入库类型');
|
|
|
|
|
|
let temp = JSON.parse(JSON.stringify(this.receiptDto.details));
|
|
|
let details = temp.map(d=>{
|