|
@@ -34,7 +34,19 @@
|
|
|
:size="searchSize"
|
|
|
@timeReturned="time"
|
|
|
/>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="6" style="width: 363px;">
|
|
|
+ <periodDatePickerActive
|
|
|
+ :start="parmValue.cbaddtime_start_date"
|
|
|
+ :end="parmValue.cbaddtime_end_date"
|
|
|
+ :placeholder="'回复'"
|
|
|
+ :width="'165px'"
|
|
|
+ :size="searchSize"
|
|
|
+ @timeReturned="time($event,true)"
|
|
|
+ />
|
|
|
</el-col>
|
|
|
+
|
|
|
<el-col :span="4" style="width: 66px; float: right">
|
|
|
<el-button type="primary" style="margin-left:30px;" @click="download" :size="searchSize" class="fr">
|
|
|
导出
|
|
@@ -53,7 +65,7 @@
|
|
|
|
|
|
</el-row>
|
|
|
<el-row style="padding: 10px 0 0 0">
|
|
|
- <el-col :span="6" style="width: 240px">
|
|
|
+ <el-col :span="6" style="width: 240px; margin-right:10px">
|
|
|
<el-input
|
|
|
clearable
|
|
|
placeholder="竞价订单号"
|
|
@@ -68,6 +80,38 @@
|
|
|
>
|
|
|
</el-input>
|
|
|
</el-col>
|
|
|
+
|
|
|
+ <el-col :span="6" style="width: 240px; margin-right:10px">
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ placeholder="供应商"
|
|
|
+ v-model="parmValue.supplier"
|
|
|
+ maxlength="40"
|
|
|
+ :size="searchSize"
|
|
|
+ @blur="
|
|
|
+ pageInfo.curr = 1;
|
|
|
+ parmValue.page = 1;
|
|
|
+ searchList();
|
|
|
+ "
|
|
|
+ >
|
|
|
+ </el-input>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="6" style="width: 240px;">
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ placeholder="采购员"
|
|
|
+ v-model="parmValue.creater"
|
|
|
+ maxlength="40"
|
|
|
+ :size="searchSize"
|
|
|
+ @blur="
|
|
|
+ pageInfo.curr = 1;
|
|
|
+ parmValue.page = 1;
|
|
|
+ searchList();
|
|
|
+ "
|
|
|
+ >
|
|
|
+ </el-input>
|
|
|
+ </el-col>
|
|
|
|
|
|
<el-col :span="4" style="width: 66px; float: right">
|
|
|
<el-button
|
|
@@ -121,6 +165,10 @@ export default {
|
|
|
zxNo:"", //竞价订单号
|
|
|
start_date: "", //起始时间
|
|
|
end_date: "", // 结束时间
|
|
|
+ cbaddtime_start_date:"", //采购回复起始时间
|
|
|
+ cbaddtime_start_end:"", //采购回复结束时间,
|
|
|
+ supplier:'', //供应商名称
|
|
|
+ creater:'', //采购员
|
|
|
page: 1, // 页码
|
|
|
size: 15, // 每页显示条数
|
|
|
// is_export:0//是否导出0/1
|
|
@@ -197,14 +245,20 @@ export default {
|
|
|
},
|
|
|
|
|
|
// 时间函数
|
|
|
- async time(e) {
|
|
|
- this.parmValue.start_date = e.startTime || "";
|
|
|
- this.parmValue.end_date = e.endTime || "";
|
|
|
+ async time(e, isPurchase = false) {
|
|
|
+ const startProp = isPurchase ? 'cbaddtime_start_date' : 'start_date'
|
|
|
+ const endProp = isPurchase ? 'cbaddtime_end_date' : 'end_date'
|
|
|
+
|
|
|
+ const baseName = isPurchase ? '采购回复' : '竞价'
|
|
|
+
|
|
|
+ this.parmValue[startProp] = e.startTime || "";
|
|
|
+ this.parmValue[endProp] = e.endTime || "";
|
|
|
+
|
|
|
if (
|
|
|
- (this.parmValue.start_date !== "" && this.parmValue.end_date === "") ||
|
|
|
- (this.parmValue.start_date === "" && this.parmValue.end_date !== "")
|
|
|
+ (this.parmValue[startProp] !== "" && this.parmValue[endProp] === "") ||
|
|
|
+ (this.parmValue[startProp] === "" && this.parmValue[endProp] !== "")
|
|
|
) {
|
|
|
- this.$message.warning("时间区间不完整!");
|
|
|
+ this.$message.warning(`${baseName} 时间区间不完整!`);
|
|
|
return;
|
|
|
}
|
|
|
|