|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<view class="page-wraper"> |
|
|
|
<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 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;"> |
|
|
@ -272,10 +272,10 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
commit() { |
|
|
|
// if (this.toLocationCode == "") { |
|
|
|
// this.showMessage("请先选择目标库位") |
|
|
|
// return; |
|
|
|
// } |
|
|
|
if (this.customerName == ""||this.customerName == "请选择退货客户") { |
|
|
|
this.showErrorMessage("请选择退货客户") |
|
|
|
return; |
|
|
|
} |
|
|
|
if (this.detailSource.length > 0 && this.detailSource[0].subList.length > 0) { |
|
|
|
//查询管理模式 |
|
|
|
uni.showLoading({ |
|
|
@ -368,7 +368,7 @@ |
|
|
|
|
|
|
|
this.dataContent.subList = subList; |
|
|
|
this.dataContent.creator = creator; |
|
|
|
this.dataContent.customerCode = 'CF'; |
|
|
|
this.dataContent.customerCode = this.customerCode; |
|
|
|
this.dataContent.fromWarehouseCode = this.fromLocation.warehouseCode; |
|
|
|
this.dataContent.toWarehouseCode = this.toWarehouseCode; |
|
|
|
|
|
|
@ -424,6 +424,8 @@ |
|
|
|
this.toLocationCode = ''; |
|
|
|
this.dataContent = {} |
|
|
|
this.toWarehouseCode = "" |
|
|
|
this.customerName ="请选择退货客户" |
|
|
|
this.customerCode ="" |
|
|
|
}, |
|
|
|
|
|
|
|
updateData() { |
|
|
|