|
@@ -32,7 +32,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="item">
|
|
<div class="item">
|
|
- <div class="left">出库日期</div>
|
|
|
|
|
|
+ <div class="left"><span>*</span>出库日期</div>
|
|
<div class="right" @tap="dateShow = true">
|
|
<div class="right" @tap="dateShow = true">
|
|
<text v-if="shipmentDto.shipmentDate">{{shipmentDto.shipmentDate}} ></text>
|
|
<text v-if="shipmentDto.shipmentDate">{{shipmentDto.shipmentDate}} ></text>
|
|
<text class="tip" v-else>请选择 ></text>
|
|
<text class="tip" v-else>请选择 ></text>
|
|
@@ -45,7 +45,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="item">
|
|
<div class="item">
|
|
- <div class="left">领料人</div>
|
|
|
|
|
|
+ <div class="left"><span>*</span>领料人</div>
|
|
<div class="right">
|
|
<div class="right">
|
|
<input type="text" placeholder-class="storage-inp-ph" placeholder="请输入" v-model="shipmentDto.collector" @blur="e=>setShipment(e,'collector')">
|
|
<input type="text" placeholder-class="storage-inp-ph" placeholder="请输入" v-model="shipmentDto.collector" @blur="e=>setShipment(e,'collector')">
|
|
</div>
|
|
</div>
|
|
@@ -245,6 +245,8 @@
|
|
if(!this.shipmentDto.orderNo) return this.$showToast('请输入出库单号');
|
|
if(!this.shipmentDto.orderNo) return this.$showToast('请输入出库单号');
|
|
if(!this.shipmentDto.warehouseId) return this.$showToast('请选择仓库');
|
|
if(!this.shipmentDto.warehouseId) return this.$showToast('请选择仓库');
|
|
if(!this.shipmentDto.optType) return this.$showToast('请选择出库类型');
|
|
if(!this.shipmentDto.optType) return this.$showToast('请选择出库类型');
|
|
|
|
+ if(!this.shipmentDto.shipmentDate) return this.$showToast('请选择出库日期');
|
|
|
|
+ if(!this.shipmentDto.collector) return this.$showToast('请输入领料人');
|
|
|
|
|
|
let temp = JSON.parse(JSON.stringify(this.shipmentDto.details));
|
|
let temp = JSON.parse(JSON.stringify(this.shipmentDto.details));
|
|
let details = temp.map(d=>{
|
|
let details = temp.map(d=>{
|