|
@@ -70,16 +70,16 @@
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-model-item label="收货人" prop="consignee">
|
|
|
- <j-dict-select-tag
|
|
|
+ <!-- <j-dict-select-tag
|
|
|
style="width:100%;margin-bottom: 10px;" v-model="addPreBook.consigneeAll"
|
|
|
dictCode="sys_dict_item,item_text,description,dict_id in(select id from sys_dict where dict_code='receiving_goods_info')"
|
|
|
- @change="consigneeSelectChange"/>
|
|
|
- <!-- <j-search-select-tag
|
|
|
+ @change="consigneeSelectChange"/> -->
|
|
|
+ <j-search-select-tag
|
|
|
placeholder="请选择收货人"
|
|
|
- v-model="addPreBook.consigneeAll"
|
|
|
+ v-model="addPreBook.consignee"
|
|
|
@change="consigneeSelectChange"
|
|
|
dict="receiving_goods_info">
|
|
|
- </j-search-select-tag> -->
|
|
|
+ </j-search-select-tag>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
|
|
@@ -617,12 +617,12 @@ export default {
|
|
|
// 收货人下拉框
|
|
|
consigneeSelectChange(value){
|
|
|
if(value !=null && value !='' &&value != 'undefined'){
|
|
|
- var valueArr = value.split("+")
|
|
|
- this.addPreBook.consignee = valueArr[0];
|
|
|
- if (valueArr.length == 4){
|
|
|
- this.addPreBook.consigneeAddress = valueArr[1];
|
|
|
- this.addPreBook.notifyParty = valueArr[2];
|
|
|
- this.addPreBook.notifyPartyAddress = valueArr[3];
|
|
|
+ var arr = value.split("+");
|
|
|
+ this.addPreBook.consignee = arr[0]
|
|
|
+ if(arr.length == 4){
|
|
|
+ this.addPreBook.consigneeAddress = arr[1]
|
|
|
+ this.addPreBook.notifyParty = arr[2]
|
|
|
+ this.addPreBook.notifyPartyAddress = arr[3]
|
|
|
}else{
|
|
|
this.$message.error('收货信息维护有问题,请检查!')
|
|
|
}
|