|
@@ -276,6 +276,7 @@ export default {
|
|
status: 0,
|
|
status: 0,
|
|
customerName: '',
|
|
customerName: '',
|
|
warehouse: '',
|
|
warehouse: '',
|
|
|
|
+ customerId:''
|
|
},
|
|
},
|
|
statusList: [
|
|
statusList: [
|
|
{ label: "未打单", value: 0 },
|
|
{ label: "未打单", value: 0 },
|
|
@@ -463,6 +464,7 @@ export default {
|
|
this.screenForm.idCard = res.data[0].identity;
|
|
this.screenForm.idCard = res.data[0].identity;
|
|
this.screenForm.manId = res.data[0].id;
|
|
this.screenForm.manId = res.data[0].id;
|
|
this.screenForm.customerName = res.data[0].customerName
|
|
this.screenForm.customerName = res.data[0].customerName
|
|
|
|
+ this.screenForm.customerId = res.data[0].customerId
|
|
this.userList = res.data
|
|
this.userList = res.data
|
|
this.getListCustomer()
|
|
this.getListCustomer()
|
|
});
|
|
});
|
|
@@ -476,6 +478,7 @@ export default {
|
|
this.screenForm.idCard = userInfo[0].identity;
|
|
this.screenForm.idCard = userInfo[0].identity;
|
|
this.screenForm.manId = userInfo[0].id;
|
|
this.screenForm.manId = userInfo[0].id;
|
|
this.screenForm.customerName = userInfo[0].customerName
|
|
this.screenForm.customerName = userInfo[0].customerName
|
|
|
|
+ this.screenForm.customerId = userInfo[0].customerId
|
|
},
|
|
},
|
|
|
|
|
|
getListCustomer(){
|
|
getListCustomer(){
|
|
@@ -492,13 +495,14 @@ export default {
|
|
|
|
|
|
// 查询列表
|
|
// 查询列表
|
|
getList() {
|
|
getList() {
|
|
|
|
+
|
|
|
|
+ console.log(this.screenForm.customerId);
|
|
if (!this.screenForm.manId) {
|
|
if (!this.screenForm.manId) {
|
|
return this.$errorMsg("请先查询提货人信息");
|
|
return this.$errorMsg("请先查询提货人信息");
|
|
}
|
|
}
|
|
if (!this.screenForm.warehouse) {
|
|
if (!this.screenForm.warehouse) {
|
|
return this.$errorMsg("请选择仓库");
|
|
return this.$errorMsg("请选择仓库");
|
|
}
|
|
}
|
|
-
|
|
|
|
this.listLoading = true;
|
|
this.listLoading = true;
|
|
|
|
|
|
let params = {
|
|
let params = {
|
|
@@ -509,6 +513,7 @@ export default {
|
|
takerPhone: this.screenForm.phone,
|
|
takerPhone: this.screenForm.phone,
|
|
// customerName:this.screenForm.customerName,
|
|
// customerName:this.screenForm.customerName,
|
|
correspondId: this.screenForm.warehouse,
|
|
correspondId: this.screenForm.warehouse,
|
|
|
|
+ customerId:this.screenForm.customerId
|
|
};
|
|
};
|
|
getPickupList(params).then((res) => {
|
|
getPickupList(params).then((res) => {
|
|
this.dataList = res.data.records;
|
|
this.dataList = res.data.records;
|