|
@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class="page-wraper"> |
|
|
<view class="page-wraper"> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<com-blank-view @goScan='getLocation' v-if="detailSource.length==0"></com-blank-view> |
|
|
<com-blank-view @goScan='showFromLocationPopup' v-if="detailSource.length==0"></com-blank-view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="page-wraper" v-if="detailSource.length>0"> |
|
|
<view class="page-wraper" v-if="detailSource.length>0"> |
|
|
<view class="uni-flex uni-row padding title u-col-center" @click="showSelect" style="font-size: 35rpx;"> |
|
|
<view class="uni-flex uni-row padding title u-col-center" @click="showSelect" style="font-size: 35rpx;"> |
|
@ -272,10 +272,10 @@ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
commit() { |
|
|
commit() { |
|
|
// if (this.toLocationCode == "") { |
|
|
if (this.customerName == ""||this.customerName == "请选择退货客户") { |
|
|
// this.showMessage("请先选择目标库位") |
|
|
this.showErrorMessage("请选择退货客户") |
|
|
// return; |
|
|
return; |
|
|
// } |
|
|
} |
|
|
if (this.detailSource.length > 0 && this.detailSource[0].subList.length > 0) { |
|
|
if (this.detailSource.length > 0 && this.detailSource[0].subList.length > 0) { |
|
|
//查询管理模式 |
|
|
//查询管理模式 |
|
|
uni.showLoading({ |
|
|
uni.showLoading({ |
|
@ -368,7 +368,7 @@ |
|
|
|
|
|
|
|
|
this.dataContent.subList = subList; |
|
|
this.dataContent.subList = subList; |
|
|
this.dataContent.creator = creator; |
|
|
this.dataContent.creator = creator; |
|
|
this.dataContent.customerCode = 'CF'; |
|
|
this.dataContent.customerCode = this.customerCode; |
|
|
this.dataContent.fromWarehouseCode = this.fromLocation.warehouseCode; |
|
|
this.dataContent.fromWarehouseCode = this.fromLocation.warehouseCode; |
|
|
this.dataContent.toWarehouseCode = this.toWarehouseCode; |
|
|
this.dataContent.toWarehouseCode = this.toWarehouseCode; |
|
|
|
|
|
|
|
@ -424,6 +424,8 @@ |
|
|
this.toLocationCode = ''; |
|
|
this.toLocationCode = ''; |
|
|
this.dataContent = {} |
|
|
this.dataContent = {} |
|
|
this.toWarehouseCode = "" |
|
|
this.toWarehouseCode = "" |
|
|
|
|
|
this.customerName ="请选择退货客户" |
|
|
|
|
|
this.customerCode ="" |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
updateData() { |
|
|
updateData() { |
|
|