|
@@ -9,15 +9,15 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="c-row ">
|
|
|
- <text class="tit">货名</text>
|
|
|
+ <text class="tit">收货方</text>
|
|
|
<view class="con-list">
|
|
|
- <text>{{WarehouseInOutInfo.goodsName}}</text>
|
|
|
+ <text>{{WarehouseInOutInfo.consignee}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="c-row ">
|
|
|
- <text class="tit">发车净重(吨)</text>
|
|
|
+ <text class="tit">货名</text>
|
|
|
<view class="con-list">
|
|
|
- <text>{{WarehouseInOutInfo.startWeight}}</text>
|
|
|
+ <text>{{WarehouseInOutInfo.goodsName}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="c-row ">
|
|
@@ -26,6 +26,18 @@
|
|
|
<text>{{WarehouseInOutInfo1.carNo}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="c-row ">
|
|
|
+ <text class="tit">箱号</text>
|
|
|
+ <view class="con-list">
|
|
|
+ <text>{{WarehouseInOutInfo1.boxNo}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="c-row ">
|
|
|
+ <text class="tit">封号</text>
|
|
|
+ <view class="con-list">
|
|
|
+ <text>{{WarehouseInOutInfo1.titleNo}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="center">
|
|
|
<view class="title_c ">出库信息</view>
|
|
@@ -67,27 +79,15 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="c-row b-b">
|
|
|
- <text class="tit">入库类型 </text>
|
|
|
+ <text class="tit">出库类型 </text>
|
|
|
<picker @change="ruChange" :value="ruIndex" :range="ruType" class="con-list">
|
|
|
<view >
|
|
|
- {{ruIndex>-1?ruType[ruIndex]:'请选择入库类型'}}
|
|
|
+ {{ruIndex>-1?ruType[ruIndex]:'请选择出库类型'}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
|
<view class="c-row b-b">
|
|
|
- <view class="title">扣款金额</view>
|
|
|
- <view class="con-list">
|
|
|
- <input placeholder-style="font-size:14px" placeholder="请输入扣款金额" name="input" v-model="WarehouseInOutInfo.deductionAmount"></input>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="c-row b-b">
|
|
|
- <view class="title">扣款项</view>
|
|
|
- <view class="con-list">
|
|
|
- <input maxlength='16' placeholder="请输入扣款项" name="input" v-model="WarehouseInOutInfo.deductionItems"></input>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="c-row b-b">
|
|
|
- <text class="tit">入库日期</text>
|
|
|
+ <text class="tit">出库日期</text>
|
|
|
|
|
|
<view class="con-list" @click="show = true">{{WarehouseInOutInfo.inOutDate!=''?WarehouseInOutInfo.inOutDate:time}}</view>
|
|
|
<u-picker :params='params' :default-time='time' @confirm="DateChange" v-model="show" mode="time"></u-picker>
|
|
@@ -208,9 +208,9 @@ import upload from '@/components/upload.vue';
|
|
|
pinIndex: '不限(默认)',
|
|
|
pinTypes: '',
|
|
|
pinType: ['不限(默认)', '一等品', '二等品', '三等品', '等外'],
|
|
|
- ruIndex: '采购入库',
|
|
|
+ ruIndex: '销售出库',
|
|
|
rutypes: '',
|
|
|
- ruType: ['采购入库', '移库入库', '暂存入库', '贸易服务入库', '退库'],
|
|
|
+ ruType: ['销售出库', '移库出库', '暂存出库', '贸易服务出库', '采购出库'],
|
|
|
action: this.$uploadUrl,
|
|
|
maxSize: 5 * 1024 * 1024,//限制文件大小 5M
|
|
|
btnLoading: false, //防止重复点击
|
|
@@ -316,16 +316,6 @@ import upload from '@/components/upload.vue';
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- if(this.WarehouseInOutInfo.deductionAmount&&this.WarehouseInOutInfo.deductionAmount>10000||this.WarehouseInOutInfo.deductionAmount&&this.WarehouseInOutInfo.deductionAmount<0){
|
|
|
- this.$api.msg('扣款金额输入错误')
|
|
|
- return
|
|
|
- }
|
|
|
- if(this.WarehouseInOutInfo.deductionAmount&&this.WarehouseInOutInfo.deductionAmount.indexOf('.')!=-1){
|
|
|
- if(this.WarehouseInOutInfo.deductionAmount.split('.')[1].length>2){
|
|
|
- this.$api.msg('扣款金额输入错误')
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
if(this.list.qualityInspector&&this.list.qualityInspector<2||this.list.qualityInspector&&this.list.qualityInspector>10){
|
|
|
this.$api.msg('质检员姓名输入错误')
|
|
|
return
|
|
@@ -472,16 +462,6 @@ import upload from '@/components/upload.vue';
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- if(this.WarehouseInOutInfo.deductionAmount&&this.WarehouseInOutInfo.deductionAmount>10000||this.WarehouseInOutInfo.deductionAmount&&this.WarehouseInOutInfo.deductionAmount<0){
|
|
|
- this.$api.msg('扣款金额输入错误')
|
|
|
- return
|
|
|
- }
|
|
|
- if(this.WarehouseInOutInfo.deductionAmount&&this.WarehouseInOutInfo.deductionAmount.indexOf('.')!=-1){
|
|
|
- if(this.WarehouseInOutInfo.deductionAmount.split('.')[1].length>2){
|
|
|
- this.$api.msg('扣款金额输入错误')
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
if(this.list.qualityInspector&&this.list.qualityInspector<2||this.list.qualityInspector&&this.list.qualityInspector>10){
|
|
|
this.$api.msg('质检员姓名输入错误')
|
|
|
return
|