|
@@ -90,15 +90,35 @@
|
|
|
</el-row>
|
|
|
<el-row style="padding: 0">
|
|
|
<el-col :span="18" style="width: 340px; padding: 0">
|
|
|
+ <!-- <search-customer
|
|
|
+ :value="supplierNo"
|
|
|
+ :size="searchSize"
|
|
|
+ :code="parmValue.supplierNo"
|
|
|
+ :companyNo="parmValue.supplierNo"
|
|
|
+ :placeholder="'供应商公司名称'"
|
|
|
+ :is-detail="true"
|
|
|
+ :disabled="false"
|
|
|
+ :names="''"
|
|
|
+ @searchChange="supplierChange"
|
|
|
+ /> -->
|
|
|
<search-customer
|
|
|
+ :value="supplierNo"
|
|
|
:size="searchSize"
|
|
|
- :code="supplierNo"
|
|
|
+ :code="parmValue.supplierNo"
|
|
|
:placeholder="'供应商公司名称'"
|
|
|
:is-detail="false"
|
|
|
:disabled="false"
|
|
|
:names="''"
|
|
|
@searchChange="supplierChange"
|
|
|
/>
|
|
|
+ <!-- <search-customer
|
|
|
+ :value="supplierNo"
|
|
|
+ :size="searchSize"
|
|
|
+
|
|
|
+ :placeholder="'供应商公司名称'"
|
|
|
+ :disabled="false"
|
|
|
+ @searchChange="supplierChange"
|
|
|
+ /> -->
|
|
|
</el-col>
|
|
|
|
|
|
<el-col
|
|
@@ -248,7 +268,7 @@ export default {
|
|
|
start: "", //新建起始时间
|
|
|
end: "", //新建结束时间
|
|
|
mobile: "", //手机号
|
|
|
- contactor: "", //联系人
|
|
|
+ contactor_name: "", //联系人
|
|
|
},
|
|
|
tableData: [],
|
|
|
passwordModel: false,
|
|
@@ -333,10 +353,13 @@ export default {
|
|
|
|
|
|
methods: {
|
|
|
supplierChange(e) {
|
|
|
+
|
|
|
if (e && e.id) {
|
|
|
+ this.supplierNo = [e.code];
|
|
|
this.parmValue.supplierNo = e.code; //供应商编码
|
|
|
} else {
|
|
|
this.parmValue.supplierNo = "";
|
|
|
+ this.supplierNo = [];
|
|
|
}
|
|
|
this.parmValue.page = 1;
|
|
|
this.searchList();
|
|
@@ -374,7 +397,7 @@ export default {
|
|
|
start: "", //新建起始时间
|
|
|
end: "", //新建结束时间
|
|
|
mobile: "", //手机号
|
|
|
- contactor: "", //联系人
|
|
|
+ contactor_name: "", //联系人
|
|
|
page: 1, // 页码
|
|
|
size: 15, // 每页显示条数
|
|
|
};
|
|
@@ -396,10 +419,11 @@ export default {
|
|
|
}
|
|
|
this.loading = true;
|
|
|
this.parmValue.wsm_code = this.select === "1" ? this.input : "";
|
|
|
- this.parmValue.contactor = this.select === "2" ? this.input : "";
|
|
|
+ this.parmValue.contactor_name = this.select === "2" ? this.input : "";
|
|
|
this.parmValue.mobile = this.select === "3" ? this.input : "";
|
|
|
const res = await asyncRequest.list(this.parmValue);
|
|
|
if (res && res.code === 0 && res.data) {
|
|
|
+ console.log("aaaaaaaaaaaaaaaa",res)
|
|
|
this.tableData = res.data.list;
|
|
|
this.pageInfo.total = Number(res.data.count);
|
|
|
} else if (res && res.code >= 100 && res.code <= 104) {
|