|
@@ -231,7 +231,7 @@ import {
|
|
|
getPickupManInfo,
|
|
|
checkPassword,
|
|
|
} from "@/api/supply/pickup";
|
|
|
-import { getDealerList } from "@/api/basic_data/dealer";
|
|
|
+import { getDealerList, getListCustomer } from "@/api/basic_data/dealer";
|
|
|
|
|
|
import PickupPrint from "@/views/supply/pickup/components/pickup_print";
|
|
|
|
|
@@ -292,7 +292,7 @@ dealerList:[],
|
|
|
},
|
|
|
|
|
|
created() {
|
|
|
- this.getDealerList()
|
|
|
+ // this.getDealerList()
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
@@ -341,9 +341,21 @@ dealerList:[],
|
|
|
this.screenForm.name = res.data.takerName;
|
|
|
this.screenForm.idCard = res.data.identity;
|
|
|
this.screenForm.manId = res.data.id;
|
|
|
+ this.getListCustomer()
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
+ getListCustomer(){
|
|
|
+ getListCustomer({
|
|
|
+ keyword:'',
|
|
|
+ phone: this.screenForm.phone,
|
|
|
+ pageNum:1,
|
|
|
+ pageSize:-1
|
|
|
+ }).then(res=>{
|
|
|
+ this.dealerList = res.data.records
|
|
|
+ this.screenForm.customerNumber = this.dataList[0].number
|
|
|
+ })
|
|
|
+
|
|
|
+},
|
|
|
// 查询列表
|
|
|
getList() {
|
|
|
if (!this.screenForm.manId) {
|