|
|
@@ -55,10 +55,13 @@
|
|
|
.seek-purchase .seek-purchase-content .screen {
|
|
|
font-size: 14px;
|
|
|
line-height: 32px;
|
|
|
+ clear: both;
|
|
|
+ background: #f5f8fe;
|
|
|
+ margin-bottom: 15px;
|
|
|
+ padding-top: 4px;
|
|
|
+ padding-right: 13px;
|
|
|
}
|
|
|
- .seek-purchase .seek-purchase-content .screen .fl {
|
|
|
- margin-left: 14px;
|
|
|
- }
|
|
|
+
|
|
|
.seek-purchase .seek-purchase-content .screen .fl select{
|
|
|
width: 88px;
|
|
|
height: 32px;
|
|
|
@@ -78,11 +81,11 @@
|
|
|
.seek-purchase .seek-purchase-content .screen .sreach input{
|
|
|
border: #5078cb 1px solid;
|
|
|
height: 32px;
|
|
|
- width: 267px;
|
|
|
+ width: 200px;
|
|
|
box-shadow: none;
|
|
|
}
|
|
|
.seek-purchase .seek-purchase-content .screen .sreach .date{
|
|
|
- margin-right: 6px;
|
|
|
+ margin-right: 20px;
|
|
|
}
|
|
|
.seek-purchase .seek-purchase-content .screen .sreach .date input{
|
|
|
width: 117px;
|
|
|
@@ -594,6 +597,35 @@
|
|
|
white-space: nowrap;
|
|
|
text-align: left;
|
|
|
}
|
|
|
+ /*筛选按钮*/
|
|
|
+ .check-filter {
|
|
|
+ height: auto;
|
|
|
+ line-height: 30px;
|
|
|
+ padding-left: 22px;
|
|
|
+ margin-top: 0;
|
|
|
+ }
|
|
|
+ .check-filter .sreach input {
|
|
|
+ width: 147px;
|
|
|
+ }
|
|
|
+ .check-filter .radio-block {
|
|
|
+ display: inline-block;
|
|
|
+ font-size: 14px;
|
|
|
+ width: 33.3%;
|
|
|
+ }
|
|
|
+ .check-filter .radio-block.date-radio {
|
|
|
+ width: 45%;
|
|
|
+ }
|
|
|
+ .check-filter .radio-block .com-check-radio {
|
|
|
+ font-weight: normal;
|
|
|
+ color: #666;
|
|
|
+ margin-right: 13px;
|
|
|
+ }
|
|
|
+ .check-filter .radio-block .com-check-radio:last-child {
|
|
|
+ margin-right: 0;
|
|
|
+ }
|
|
|
+ label {
|
|
|
+ margin-bottom: 5px;
|
|
|
+ }
|
|
|
</style>
|
|
|
<div class="user_right fr seek-purchase">
|
|
|
<!--求购询价-->
|
|
|
@@ -628,59 +660,199 @@
|
|
|
</div>
|
|
|
-->
|
|
|
<!--搜索时间筛选-->
|
|
|
- <div class="screen" style="background: #f5f8fe;height: 40px;margin-bottom: 15px;margin-top: 5px;padding-top: 4px;padding-right: 11px;">
|
|
|
- <div class="fl">
|
|
|
- <!--
|
|
|
- 截止时间
|
|
|
- <select class="form-control select-adder" ng-model="deadline" ng-change="onSearch()" ng-init="deadline='全部'">
|
|
|
- <option value="全部">全部</option>
|
|
|
- <option value="已截止">已截止</option>
|
|
|
- <option value="正在生效">正在生效</option>
|
|
|
- </select>
|
|
|
- -->
|
|
|
- <!--
|
|
|
- 报价状态
|
|
|
- <select class="form-control select-adder" ng-model="status" ng-change="onSearch()" ng-init="status=200">
|
|
|
- <option value="200">待报价</option>
|
|
|
- <option value="201">已报价</option>
|
|
|
- <option value="202">已采纳</option>
|
|
|
- </select>
|
|
|
- -->
|
|
|
+ <!--<div class="screen" style="background: #f5f8fe;height: 40px;margin-bottom: 15px;margin-top: 5px;padding-top: 4px;padding-right: 11px;">-->
|
|
|
+ <!--<div class="fl">-->
|
|
|
+ <!--<!–-->
|
|
|
+ <!--截止时间 -->
|
|
|
+ <!--<select class="form-control select-adder" ng-model="deadline" ng-change="onSearch()" ng-init="deadline='全部'">-->
|
|
|
+ <!--<option value="全部">全部</option>-->
|
|
|
+ <!--<option value="已截止">已截止</option>-->
|
|
|
+ <!--<option value="正在生效">正在生效</option>-->
|
|
|
+ <!--</select>-->
|
|
|
+ <!--–>-->
|
|
|
+ <!--<!–-->
|
|
|
+ <!--报价状态 -->
|
|
|
+ <!--<select class="form-control select-adder" ng-model="status" ng-change="onSearch()" ng-init="status=200">-->
|
|
|
+ <!--<option value="200">待报价</option>-->
|
|
|
+ <!--<option value="201">已报价</option>-->
|
|
|
+ <!--<option value="202">已采纳</option>-->
|
|
|
+ <!--</select>-->
|
|
|
+ <!--–>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--<div class="sreach fr">-->
|
|
|
+ <!--<span>发布时间 </span>-->
|
|
|
+ <!--<div class="date fl">-->
|
|
|
+ <!--<div class="data-input">-->
|
|
|
+ <!--<input type="text" ng-model="startDate"-->
|
|
|
+ <!--class="form-control select-adder" placeholder="起始时间"-->
|
|
|
+ <!--datepicker-popup="yyyy-MM-dd"-->
|
|
|
+ <!--is-open="condition.startDateOpen"-->
|
|
|
+ <!--max-date="endDate" current-text="今天" clear-text="清除" close-text="关闭"-->
|
|
|
+ <!--ng-click="openDatePicker($event, condition, 'startDateOpen',1)"-->
|
|
|
+ <!--datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"-->
|
|
|
+ <!--ng-change="vaildDate(true)"-->
|
|
|
+ <!--/>-->
|
|
|
+ <!--<button class="open" ng-click="openDatePicker($event, condition, 'startDateOpen')"></button>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--<em>–</em>-->
|
|
|
+ <!--<div class="data-input">-->
|
|
|
+ <!--<input type="text" ng-model="endDate"-->
|
|
|
+ <!--class="form-control select-adder" placeholder="结束时间"-->
|
|
|
+ <!--datepicker-popup="yyyy-MM-dd"-->
|
|
|
+ <!--is-open="condition.endDateOpen"-->
|
|
|
+ <!--min-date="startDate" current-text="今天" clear-text="清除" close-text="关闭"-->
|
|
|
+ <!--ng-click="openDatePicker($event, condition, 'endDateOpen',2)"-->
|
|
|
+ <!--datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"-->
|
|
|
+ <!--ng-change="changeEndDate()"-->
|
|
|
+ <!--/>-->
|
|
|
+ <!--<button class="open" ng-click="openDatePicker($event, condition, 'endDateOpen')"></button>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--<div class="sreach-input fr">-->
|
|
|
+ <!--<input type="search" placeholder="品牌/物料名称/型号/规格/公司" class="form-control" ng-model="keyWord" ng-search="onSearch()"/>-->
|
|
|
+ <!--<a class="seek" href="javascript:void(0)" ng-click="onSearch()">搜索</a>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <div class="screen check-filter">
|
|
|
+ <div class="radio-block" style="display: none;">
|
|
|
+ 求购筛选:
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="methodAll" name="method" ng-click="setFilters('vendorType', 'noOppor')" ng-checked="vendorType == 'noOppor'">
|
|
|
+ <label for="methodAll"></label>
|
|
|
+ 全部
|
|
|
+ </label>
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="forSeller" name="method" ng-click="setFilters('vendorType', 'all')" ng-checked="vendorType == 'all'">
|
|
|
+ <label for="forSeller"></label>
|
|
|
+ 公司商机
|
|
|
+ </label>
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="forPlatform" name="method" ng-click="setFilters('vendorType', 'self')" ng-checked="vendorType == 'self'">
|
|
|
+ <label for="forPlatform"></label>
|
|
|
+ 我的商机
|
|
|
+ </label>
|
|
|
</div>
|
|
|
- <div class="sreach fr">
|
|
|
- <span>发布时间 </span>
|
|
|
- <div class="date fl">
|
|
|
- <div class="data-input">
|
|
|
- <input type="text" ng-model="startDate"
|
|
|
- class="form-control select-adder" placeholder="起始时间"
|
|
|
- datepicker-popup="yyyy-MM-dd"
|
|
|
- is-open="condition.startDateOpen"
|
|
|
- max-date="endDate" current-text="今天" clear-text="清除" close-text="关闭"
|
|
|
- ng-click="openDatePicker($event, condition, 'startDateOpen',1)"
|
|
|
- datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
|
|
|
- ng-change="vaildDate(true)"
|
|
|
- />
|
|
|
- <button class="open" ng-click="openDatePicker($event, condition, 'startDateOpen')"></button>
|
|
|
- </div>
|
|
|
- <em>–</em>
|
|
|
- <div class="data-input">
|
|
|
- <input type="text" ng-model="endDate"
|
|
|
- class="form-control select-adder" placeholder="结束时间"
|
|
|
- datepicker-popup="yyyy-MM-dd"
|
|
|
- is-open="condition.endDateOpen"
|
|
|
- min-date="startDate" current-text="今天" clear-text="清除" close-text="关闭"
|
|
|
- ng-click="openDatePicker($event, condition, 'endDateOpen',2)"
|
|
|
- datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
|
|
|
- ng-change="changeEndDate()"
|
|
|
- />
|
|
|
- <button class="open" ng-click="openDatePicker($event, condition, 'endDateOpen')"></button>
|
|
|
- </div>
|
|
|
+ <div>
|
|
|
+ <div class="radio-block date-radio">
|
|
|
+ 发布时间:
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="dateAll" name="date" ng-click="setFilters('dateArea', 'ALL')" ng-checked="dateArea == 'ALL'">
|
|
|
+ <label for="dateAll"></label>
|
|
|
+ 全部
|
|
|
+ </label>
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="oneDay" name="date" ng-click="setFilters('dateArea', 'oneDay')" ng-checked="dateArea == 'oneDay'">
|
|
|
+ <label for="oneDay"></label>
|
|
|
+ 近1天
|
|
|
+ </label>
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="threeDay" name="date" ng-click="setFilters('dateArea', 'threeDay')" ng-checked="dateArea == 'threeDay'">
|
|
|
+ <label for="threeDay"></label>
|
|
|
+ 近3天
|
|
|
+ </label>
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="sevenDay" name="date" ng-click="setFilters('dateArea', 'sevenDay')" ng-checked="dateArea == 'sevenDay'">
|
|
|
+ <label for="sevenDay"></label>
|
|
|
+ 近7天
|
|
|
+ </label>
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="autoDay" name="date" ng-click="setFilters('dateArea', 'autoDay')" ng-checked="dateArea == 'autoDay'">
|
|
|
+ <label for="autoDay"></label>
|
|
|
+ 自定义
|
|
|
+ </label>
|
|
|
</div>
|
|
|
- <div class="sreach-input fr">
|
|
|
- <input type="search" placeholder="品牌/物料名称/型号/规格/公司" class="form-control" ng-model="keyWord" ng-search="onSearch()"/>
|
|
|
- <a class="seek" href="javascript:void(0)" ng-click="onSearch()">搜索</a>
|
|
|
+ <div class="sreach fr">
|
|
|
+ <div class="date fl" ng-show="dateArea == 'autoDay'">
|
|
|
+ <div class="data-input">
|
|
|
+ <input id="start" type="text" ng-model="startDelivery" readonly="readonly"
|
|
|
+ class="form-control select-adder" placeholder="起始时间"
|
|
|
+ datepicker-popup="yyyy-MM-dd"
|
|
|
+ is-open="condition[0].open"
|
|
|
+ current-text="今天" clear-text="清除" close-text="关闭"
|
|
|
+ datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
|
|
|
+ ng-click="openDatePicker($event, condition, 0,1)"
|
|
|
+ ng-change="onDateCondition(1)"/>
|
|
|
+ <button class="open" ng-click="openDatePicker($event, condition, 0)"></button>
|
|
|
+ </div>
|
|
|
+ <em>–</em>
|
|
|
+ <div class="data-input">
|
|
|
+ <input id="end" type="text" ng-model="endDelivery " readonly="readonly"
|
|
|
+ class="form-control select-adder" placeholder="结束时间"
|
|
|
+ datepicker-popup="yyyy-MM-dd"
|
|
|
+ is-open="condition[1].open"
|
|
|
+ current-text="今天" clear-text="清除" close-text="关闭"
|
|
|
+ datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
|
|
|
+ ng-click="openDatePicker($event, condition, 1, 2)"
|
|
|
+ ng-change="onDateCondition(2)"/>
|
|
|
+ <button class="open" ng-click="openDatePicker($event, condition, 1)"></button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="width:258px;float:left"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div>
|
|
|
+ <div class="radio-block date-radio">
|
|
|
+ 求购时间:
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="dateAllSeek" name="dateSeek" ng-click="setFilters('dateAreaSeek', 'ALL')" ng-checked="dateAreaSeek == 'ALL'">
|
|
|
+ <label for="dateAllSeek"></label>
|
|
|
+ 全部
|
|
|
+ </label>
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="oneDaySeek" name="dateSeek" ng-click="setFilters('dateAreaSeek', 'oneDay')" ng-checked="dateAreaSeek == 'oneDay'">
|
|
|
+ <label for="oneDaySeek"></label>
|
|
|
+ 近1天
|
|
|
+ </label>
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="threeDaySeek" name="dateSeek" ng-click="setFilters('dateAreaSeek', 'threeDay')" ng-checked="dateAreaSeek == 'threeDay'">
|
|
|
+ <label for="threeDaySeek"></label>
|
|
|
+ 近3天
|
|
|
+ </label>
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="sevenDaySeek" name="dateSeek" ng-click="setFilters('dateAreaSeek', 'sevenDay')" ng-checked="dateAreaSeek == 'sevenDay'">
|
|
|
+ <label for="sevenDaySeek"></label>
|
|
|
+ 近7天
|
|
|
+ </label>
|
|
|
+ <label class="com-check-radio">
|
|
|
+ <input type="radio" id="autoDaySeek" name="dateSeek" ng-click="setFilters('dateAreaSeek', 'autoDay')" ng-checked="dateAreaSeek == 'autoDay'">
|
|
|
+ <label for="autoDaySeek"></label>
|
|
|
+ 自定义
|
|
|
+ </label>
|
|
|
+ </div>
|
|
|
+ <div class="sreach fr">
|
|
|
+ <div class="date fl" ng-show="dateAreaSeek == 'autoDay'">
|
|
|
+ <div class="data-input">
|
|
|
+ <input id="startSeek" type="text" ng-model="startDate" readonly="readonly"
|
|
|
+ class="form-control select-adder" placeholder="起始时间"
|
|
|
+ datepicker-popup="yyyy-MM-dd"
|
|
|
+ is-open="condition[0].open1"
|
|
|
+ current-text="今天" clear-text="清除" close-text="关闭"
|
|
|
+ datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
|
|
|
+ ng-click="openDatePickerSeek($event, condition, 0,1)"
|
|
|
+ ng-change="onDateConditionSeek(1)"/>
|
|
|
+ <button class="open" ng-click="openDatePickerSeek($event, condition, 0)"></button>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <em>–</em>
|
|
|
+ <div class="data-input">
|
|
|
+ <input id="endSeek" type="text" ng-model="endDate" readonly="readonly"
|
|
|
+ class="form-control select-adder" placeholder="结束时间"
|
|
|
+ datepicker-popup="yyyy-MM-dd"
|
|
|
+ is-open="condition[1].open1"
|
|
|
+ current-text="今天" clear-text="清除" close-text="关闭"
|
|
|
+ datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
|
|
|
+ ng-click="openDatePickerSeek($event, condition, 1, 2)"
|
|
|
+ ng-change="onDateConditionSeek(2)"/>
|
|
|
+ <button class="open" ng-click="openDatePickerSeek($event, condition, 1)"></button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="sreach-input fr">
|
|
|
+ <input type="search" placeholder="品牌/物料名称/型号" class="form-control" ng-model="keyWord" ng-search="onSearch()"/>
|
|
|
+ <a class="seek" href="javascript:void(0)" ng-click="onSearch()">搜索</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<table ng-table="seekPurchaseTableParams">
|
|
|
<thead>
|