|
...
|
...
|
@@ -14,51 +14,11 @@ |
|
|
|
<a-input placeholder="请输入物料长描述" v-model="queryParam.miaoshu"></a-input>
|
|
|
|
</a-form-item>
|
|
|
|
</a-col>
|
|
|
|
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
|
|
|
|
<!-- <a-form-item label="需求交货期">-->
|
|
|
|
<!-- <j-date v-model="queryParam.xqjhq" placeholder="请选择计划完成日期" />-->
|
|
|
|
<!-- </a-form-item>-->
|
|
|
|
<!-- </a-col>-->
|
|
|
|
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
|
|
|
|
<!-- <a-form-item label="询单状态">-->
|
|
|
|
<!-- <a-select v-model="queryParam.xdzt" placeholder="请选择" allowClear>-->
|
|
|
|
<!-- <a-select-option value="未完成">未完成</a-select-option>-->
|
|
|
|
<!-- <a-select-option value="已完成">已完成</a-select-option>-->
|
|
|
|
<!-- </a-select>-->
|
|
|
|
<!-- </a-form-item>-->
|
|
|
|
<!-- </a-col>-->
|
|
|
|
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
|
|
|
|
<!-- <a-form-item label="是否投标">-->
|
|
|
|
<!-- <a-select v-model="queryParam.sftb" placeholder="请选择" allowClear>-->
|
|
|
|
<!-- <a-select-option value="是">是</a-select-option>-->
|
|
|
|
<!-- <a-select-option value="否">否</a-select-option>-->
|
|
|
|
<!-- </a-select>-->
|
|
|
|
<!-- </a-form-item>-->
|
|
|
|
<!-- </a-col>-->
|
|
|
|
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
|
|
|
|
<!-- <a-form-item label="是否中标">-->
|
|
|
|
<!-- <a-select v-model="queryParam.sfzb" placeholder="请选择" allowClear>-->
|
|
|
|
<!-- <a-select-option value="是">是</a-select-option>-->
|
|
|
|
<!-- <a-select-option value="否">否</a-select-option>-->
|
|
|
|
<!-- </a-select>-->
|
|
|
|
<!-- </a-form-item>-->
|
|
|
|
<!-- </a-col>-->
|
|
|
|
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
|
|
|
|
<!-- <a-form-item label="是否采购">-->
|
|
|
|
<!-- <a-select v-model="queryParam.sfcg" placeholder="请选择" allowClear>-->
|
|
|
|
<!-- <a-select-option value="是">是</a-select-option>-->
|
|
|
|
<!-- <a-select-option value="否">否</a-select-option>-->
|
|
|
|
<!-- </a-select>-->
|
|
|
|
<!-- </a-form-item>-->
|
|
|
|
<!-- </a-col>-->
|
|
|
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
|
|
|
<a-button type="primary" @click="searchQuery(1)" icon="search">查询</a-button>
|
|
|
|
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
|
|
|
|
<!-- <a @click="handleToggleSearch" style="margin-left: 8px">
|
|
|
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
|
|
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
|
|
|
</a> -->
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</a-col>
|
|
|
|
</a-row>
|
|
...
|
...
|
@@ -105,9 +65,11 @@ |
|
|
|
:dataSource="dataSource"
|
|
|
|
:pagination="ipagination"
|
|
|
|
:loading="loading"
|
|
|
|
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: handleRowClick, type:'radio'}"
|
|
|
|
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: handleRadioClick, type:'radio'}"
|
|
|
|
:customRow="clickThenSelect"
|
|
|
|
@change="handleTableChange">
|
|
|
|
@change="handleTableChange"
|
|
|
|
@rowClick="handleRowClick"
|
|
|
|
>
|
|
|
|
|
|
|
|
<template slot="htmlSlot" slot-scope="text">
|
|
|
|
<div v-html="text"></div>
|
|
...
|
...
|
@@ -404,6 +366,19 @@ export default { |
|
|
|
},
|
|
|
|
// 行点击事件
|
|
|
|
handleRowClick(selectedRowKeys, selectionRows) {
|
|
|
|
console.log("handleRowClick.......................................")
|
|
|
|
console.log("selectionRows",selectionRows)
|
|
|
|
console.log("selectedRowKeys",selectedRowKeys)
|
|
|
|
let row = [selectedRowKeys];
|
|
|
|
console.log("row",row)
|
|
|
|
this.loadChildData(row)
|
|
|
|
console.log("handleRowClick.......................................")
|
|
|
|
|
|
|
|
},
|
|
|
|
handleRadioClick(selectedRowKeys, selectionRows) {
|
|
|
|
console.log("selectionRows",selectionRows)
|
|
|
|
console.log("selectedRowKeys",selectedRowKeys)
|
|
|
|
// this.$refs.tabSskcList.loading = true;
|
|
|
|
this.selectedRowKeys = selectedRowKeys
|
|
|
|
this.selectionRows = selectionRows
|
|
|
|
|
...
|
...
|
|