|
@@ -59,7 +59,7 @@
|
|
|
|
|
|
<el-col :span="4" style="width: 380px; padding: 0px 0 0 10px">
|
|
|
<search-customer
|
|
|
- :value="parmValue.khNo"
|
|
|
+ :value="parmValue.customer_code"
|
|
|
:size="searchSize"
|
|
|
:placeholder="'企业客户'"
|
|
|
@searchChange="customerChange"
|
|
@@ -182,7 +182,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
- <script>
|
|
|
+<script>
|
|
|
import mixinPage from "@/mixins/elPaginationHandle";
|
|
|
import resToken from "@/mixins/resToken";
|
|
|
import asyncRequest from "@/apis/service/sellOut/bargainList";
|
|
@@ -218,7 +218,7 @@ export default {
|
|
|
modelId: 0,
|
|
|
parmValue: {
|
|
|
supplierName: "",
|
|
|
- khNo: "",
|
|
|
+ customer_code: "",
|
|
|
bidsNo: "", // 反馈编号
|
|
|
infoNo: "", // 竞价单编号
|
|
|
status: "", // 状态
|
|
@@ -259,8 +259,8 @@ export default {
|
|
|
// this.parmValue.start = start || last_start;
|
|
|
// this.parmValue.end = end || last_end;
|
|
|
|
|
|
- // if(this.parmValue.khNo.length>0){
|
|
|
- // this.customerCode = [this.parmValue.khNo] ;
|
|
|
+ // if(this.parmValue.customer_code.length>0){
|
|
|
+ // this.customerCode = [this.parmValue.customer_code] ;
|
|
|
// }
|
|
|
|
|
|
this.pageInfo= {
|
|
@@ -379,7 +379,7 @@ export default {
|
|
|
|
|
|
const res = await asyncRequest.list({
|
|
|
...this.parmValue,
|
|
|
- khNo: Array.isArray(this.parmValue.khNo) ? this.parmValue.khNo[0] : "",
|
|
|
+ customer_code: Array.isArray(this.parmValue.customer_code) ? this.parmValue.customer_code[0] : "",
|
|
|
needRela: true
|
|
|
});
|
|
|
|
|
@@ -446,7 +446,7 @@ export default {
|
|
|
},
|
|
|
async customerChange(e) {
|
|
|
const { code } = e;
|
|
|
- this.parmValue.khNo = code ? [code] : [];
|
|
|
+ this.parmValue.customer_code = code ? [code] : [];
|
|
|
// this.parmValue.supplierName = e.label;
|
|
|
this.pageInfo.curr = 1;
|
|
|
this.parmValue.page = 1;
|