|
@@ -70,12 +70,16 @@
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-model-item label="收货人" prop="consignee">
|
|
|
- <j-search-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
|
|
|
placeholder="请选择收货人"
|
|
|
v-model="addPreBook.consigneeAll"
|
|
|
@change="consigneeSelectChange"
|
|
|
dict="receiving_goods_info">
|
|
|
- </j-search-select-tag>
|
|
|
+ </j-search-select-tag> -->
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
|
|
@@ -583,7 +587,7 @@ export default {
|
|
|
totalPrice:data.totalPrice,
|
|
|
containerCode:data.containerCode,
|
|
|
containerNumber:data.containerNumber,
|
|
|
-
|
|
|
+ custor:data.customer,
|
|
|
itemNumber:data.itemNumber,
|
|
|
};
|
|
|
ret.push(sub);
|
|
@@ -594,14 +598,13 @@ export default {
|
|
|
},
|
|
|
// 收货人下拉框
|
|
|
consigneeSelectChange(value){
|
|
|
-
|
|
|
if(value !=null && value !='' &&value != 'undefined'){
|
|
|
- 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];
|
|
|
+ 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];
|
|
|
}else{
|
|
|
this.$message.error('收货信息维护有问题,请检查!')
|
|
|
}
|