|
|
@@ -42,7 +42,7 @@
|
|
|
>
|
|
|
{{ code }}
|
|
|
</el-tag>
|
|
|
-
|
|
|
+
|
|
|
<!-- 输入框 -->
|
|
|
<el-input
|
|
|
ref="tagInput"
|
|
|
@@ -57,7 +57,7 @@
|
|
|
@focus="inputVisible = true"
|
|
|
clearable
|
|
|
/>
|
|
|
-
|
|
|
+
|
|
|
<!-- 添加按钮(当没有输入时显示) -->
|
|
|
<el-button
|
|
|
v-if="!inputVisible && queryParams.orderCodes.length > 0"
|
|
|
@@ -70,11 +70,11 @@
|
|
|
添加订单号
|
|
|
</el-button>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<!-- 输入提示 -->
|
|
|
<div class="input-tips">
|
|
|
<span class="tip-text">
|
|
|
- 支持:回车、逗号、空格分隔 |
|
|
|
+ 支持:回车、逗号、空格分隔 |
|
|
|
已添加 {{ queryParams.orderCodes.length }} 个订单号
|
|
|
<span v-if="maxOrderCodes > 0"> (最多{{ maxOrderCodes }}个)</span>
|
|
|
</span>
|
|
|
@@ -346,7 +346,7 @@
|
|
|
plain
|
|
|
icon="el-icon-phone"
|
|
|
size="mini"
|
|
|
-
|
|
|
+
|
|
|
@click="setErpPhone"
|
|
|
v-hasPermi="['his:storeOrder:createErpOrder']"
|
|
|
>设置推送手机</el-button>
|
|
|
@@ -408,7 +408,7 @@
|
|
|
size="mini"
|
|
|
>订单量/金额: {{ total }}/{{payPriceTotal }}</el-button>
|
|
|
</el-col>
|
|
|
-
|
|
|
+
|
|
|
<el-col :span="1.5">
|
|
|
<el-input
|
|
|
v-model="orderItemNum"
|
|
|
@@ -568,12 +568,12 @@
|
|
|
<div v-if="currentSort.prop" class="sort-info">
|
|
|
<el-tag size="small" type="info" closable @close="clearSort">
|
|
|
<i class="el-icon-sort"></i>
|
|
|
- 当前排序:{{ getSortLabel(currentSort.prop) }}
|
|
|
+ 当前排序:{{ getSortLabel(currentSort.prop) }}
|
|
|
{{ currentSort.order === 'ascending' ? '升序' : '降序' }}
|
|
|
</el-tag>
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- size="mini"
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ size="mini"
|
|
|
@click="clearSort"
|
|
|
style="margin-left: 8px; color: #909399;"
|
|
|
>
|
|
|
@@ -816,9 +816,9 @@
|
|
|
<el-table :data="phoneList" border style="width: 100%">
|
|
|
<el-table-column prop="phone" label="手机号" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- v-if="scope.row.editing"
|
|
|
- v-model="scope.row.phone"
|
|
|
+ <el-input
|
|
|
+ v-if="scope.row.editing"
|
|
|
+ v-model="scope.row.phone"
|
|
|
placeholder="请输入手机号"
|
|
|
@blur="validatePhone(scope.row)"
|
|
|
@keyup.enter.native="handleSavePhone(scope.$index)"
|
|
|
@@ -828,27 +828,27 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" align="center" width="300">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button
|
|
|
- v-if="scope.row.editing"
|
|
|
- type="success"
|
|
|
- size="mini"
|
|
|
+ <el-button
|
|
|
+ v-if="scope.row.editing"
|
|
|
+ type="success"
|
|
|
+ size="mini"
|
|
|
@click="handleSavePhone(scope.$index)"
|
|
|
>保存</el-button>
|
|
|
- <el-button
|
|
|
- v-if="scope.row.editing"
|
|
|
- type="info"
|
|
|
- size="mini"
|
|
|
+ <el-button
|
|
|
+ v-if="scope.row.editing"
|
|
|
+ type="info"
|
|
|
+ size="mini"
|
|
|
@click="handleCancelEdit(scope.$index)"
|
|
|
>取消</el-button>
|
|
|
- <el-button
|
|
|
- v-if="!scope.row.editing"
|
|
|
- type="primary"
|
|
|
- size="mini"
|
|
|
+ <el-button
|
|
|
+ v-if="!scope.row.editing"
|
|
|
+ type="primary"
|
|
|
+ size="mini"
|
|
|
@click="handleEditPhone(scope.$index)"
|
|
|
>修改</el-button>
|
|
|
- <el-button
|
|
|
- type="danger"
|
|
|
- size="mini"
|
|
|
+ <el-button
|
|
|
+ type="danger"
|
|
|
+ size="mini"
|
|
|
@click="handleDeletePhone(scope.$index)"
|
|
|
>删除</el-button>
|
|
|
</template>
|
|
|
@@ -879,9 +879,9 @@
|
|
|
<div v-loading="erpAccountDialog.loading">
|
|
|
<el-form :model="erpAccountForm" label-width="100px">
|
|
|
<el-form-item label="ERP账户" required>
|
|
|
- <el-select
|
|
|
- v-model="erpAccountForm.selectedAccount"
|
|
|
- placeholder="请选择ERP账户"
|
|
|
+ <el-select
|
|
|
+ v-model="erpAccountForm.selectedAccount"
|
|
|
+ placeholder="请选择ERP账户"
|
|
|
style="width: 100%"
|
|
|
filterable
|
|
|
>
|
|
|
@@ -897,7 +897,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
-
|
|
|
+
|
|
|
<!-- 订单统计信息 -->
|
|
|
<div class="order-summary" v-if="orderSummary">
|
|
|
<el-divider content-position="left">订单统计</el-divider>
|
|
|
@@ -923,11 +923,11 @@
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button @click="cancelErpAccountDialog">取 消</el-button>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
@click="confirmCreateErpOrder"
|
|
|
:disabled="!erpAccountForm.selectedAccount"
|
|
|
:loading="erpAccountDialog.submitting"
|
|
|
@@ -943,12 +943,12 @@
|
|
|
<el-button type="default" size="small" @click="unselectAllFields">全不选</el-button>
|
|
|
<el-button type="success" size="small" @click="selectDefaultFields">选择常用</el-button>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="field-selection-container">
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="8" v-for="field in exportFieldOptions" :key="field.key">
|
|
|
- <el-checkbox
|
|
|
- v-model="field.checked"
|
|
|
+ <el-checkbox
|
|
|
+ v-model="field.checked"
|
|
|
:label="field.label"
|
|
|
style="margin-bottom: 12px; width: 100%;"
|
|
|
>
|
|
|
@@ -957,7 +957,7 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="field-count-info" style="margin-top: 20px; padding: 10px; background: #f5f7fa; border-radius: 4px;">
|
|
|
<i class="el-icon-info"></i>
|
|
|
<span v-if="getSelectedFieldsCount() > 0">
|
|
|
@@ -969,11 +969,11 @@
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button @click="cancelExportFieldDialog">取 消</el-button>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
@click="confirmExportFields"
|
|
|
>确认导出</el-button>
|
|
|
</div>
|
|
|
@@ -1033,11 +1033,11 @@ export default {
|
|
|
prop: null,
|
|
|
order: null
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 排序字段映射
|
|
|
sortFieldMap: {
|
|
|
'companyUserName': '员工',
|
|
|
- 'packageName': '套餐名称',
|
|
|
+ 'packageName': '套餐名称',
|
|
|
'payPrice': '应收金额',
|
|
|
'payMoney': '实收金额',
|
|
|
'createTime': '下单时间'
|
|
|
@@ -1051,7 +1051,7 @@ export default {
|
|
|
},
|
|
|
// 输入框是否可见
|
|
|
inputVisible: false,
|
|
|
-
|
|
|
+
|
|
|
// 无效订单号对话框
|
|
|
showInvalidDialog: false,
|
|
|
// 当前输入值
|
|
|
@@ -1323,13 +1323,13 @@ export default {
|
|
|
// 新增排序处理方法
|
|
|
handleSortChange({ column, prop, order }) {
|
|
|
console.log('排序变化:', { column, prop, order });
|
|
|
-
|
|
|
+
|
|
|
// 更新当前排序状态
|
|
|
this.currentSort = {
|
|
|
prop: prop,
|
|
|
order: order
|
|
|
};
|
|
|
-
|
|
|
+
|
|
|
// 更新查询参数
|
|
|
if (order) {
|
|
|
this.queryParams.sortField = prop;
|
|
|
@@ -1338,11 +1338,11 @@ export default {
|
|
|
this.queryParams.sortField = null;
|
|
|
this.queryParams.sortOrder = null;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 重新查询数据
|
|
|
this.queryParams.pageNum = 1; // 重置到第一页
|
|
|
this.getList();
|
|
|
-
|
|
|
+
|
|
|
// 显示排序提示
|
|
|
if (order) {
|
|
|
const fieldLabel = this.getSortLabel(prop);
|
|
|
@@ -1350,12 +1350,12 @@ export default {
|
|
|
this.$message.success(`已按${fieldLabel}${orderLabel}排序`);
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 获取排序字段的中文标签
|
|
|
getSortLabel(prop) {
|
|
|
return this.sortFieldMap[prop] || prop;
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 清除排序
|
|
|
clearSort() {
|
|
|
this.currentSort = {
|
|
|
@@ -1377,67 +1377,67 @@ export default {
|
|
|
// 处理键盘按下事件
|
|
|
handleKeyDown(event) {
|
|
|
const { key, target } = event
|
|
|
-
|
|
|
+
|
|
|
// 处理退格键删除标签
|
|
|
if (key === 'Backspace' && !target.value && this.queryParams.orderCodes.length > 0) {
|
|
|
event.preventDefault()
|
|
|
this.removeOrderCode(this.queryParams.orderCodes.length - 1)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 处理分隔符
|
|
|
if ([',', ',', ' ', 'Enter'].includes(key)) {
|
|
|
event.preventDefault()
|
|
|
this.handleInputConfirm()
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 处理键盘抬起事件(实时分割输入)
|
|
|
handleKeyUp(event) {
|
|
|
const value = event.target.value
|
|
|
-
|
|
|
+
|
|
|
// 检查是否包含分隔符
|
|
|
if (/[,,\s]/.test(value)) {
|
|
|
this.handleInputConfirm()
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 确认输入
|
|
|
handleInputConfirm() {
|
|
|
const inputValue = this.currentInput.trim()
|
|
|
-
|
|
|
+
|
|
|
if (inputValue) {
|
|
|
// 分割多个订单号
|
|
|
const codes = inputValue.split(/[,,\s]+/).filter(code => code.trim())
|
|
|
-
|
|
|
+
|
|
|
codes.forEach(code => {
|
|
|
this.addOrderCode(code.trim())
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
this.currentInput = ''
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 添加订单号
|
|
|
addOrderCode(code) {
|
|
|
if (!code) return
|
|
|
-
|
|
|
+
|
|
|
// 检查数量限制
|
|
|
if (this.maxOrderCodes > 0 && this.queryParams.orderCodes.length >= this.maxOrderCodes) {
|
|
|
this.$message.warning(`最多只能添加 ${this.maxOrderCodes} 个订单号`)
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 检查重复
|
|
|
if (this.queryParams.orderCodes.includes(code)) {
|
|
|
this.$message.warning(`订单号 "${code}" 已存在`)
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 添加到列表
|
|
|
this.queryParams.orderCodes.push(code)
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 删除订单号
|
|
|
removeOrderCode(index) {
|
|
|
this.queryParams.orderCodes.splice(index, 1)
|
|
|
@@ -1482,7 +1482,7 @@ export default {
|
|
|
this.erpSettingType = 'push'
|
|
|
this.calculateOrderSummary();
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
//获取ERP账户列表
|
|
|
async getErpAccountList() {
|
|
|
try {
|
|
|
@@ -1500,7 +1500,7 @@ export default {
|
|
|
this.$message.error(response.msg || '获取ERP账户列表失败');
|
|
|
this.erpAccountList = [];
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
} catch (error) {
|
|
|
console.error('获取ERP账户列表失败:', error);
|
|
|
this.$message.error('获取ERP账户列表失败');
|
|
|
@@ -1509,13 +1509,13 @@ export default {
|
|
|
this.erpAccountDialog.loading = false;
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 新增:计算订单统计信息
|
|
|
calculateOrderSummary() {
|
|
|
let selectedCount = 0;
|
|
|
let totalAmount = 0;
|
|
|
let queryCount = this.total || 0;
|
|
|
-
|
|
|
+
|
|
|
if (this.ids.length > 0) {
|
|
|
// 如果有选中的订单,统计选中的订单
|
|
|
selectedCount = this.ids.length;
|
|
|
@@ -1531,14 +1531,14 @@ export default {
|
|
|
totalAmount += parseFloat(order.payMoney || 0);
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
this.orderSummary = {
|
|
|
selectedCount,
|
|
|
totalAmount: totalAmount.toFixed(2),
|
|
|
queryCount
|
|
|
};
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
//确认创建ERP订单
|
|
|
confirmCreateErpOrder() {
|
|
|
if (!this.erpAccountForm.selectedAccount) {
|
|
|
@@ -1548,8 +1548,8 @@ export default {
|
|
|
console.log("-----------------",this.erpSettingType)
|
|
|
if(this.erpSettingType == 'set'){
|
|
|
this.$confirm(
|
|
|
- `确认将订单设置ERP账户为"${this.erpAccountForm.selectedAccount}"吗?`,
|
|
|
- '确认',
|
|
|
+ `确认将订单设置ERP账户为"${this.erpAccountForm.selectedAccount}"吗?`,
|
|
|
+ '确认',
|
|
|
{
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
@@ -1560,8 +1560,8 @@ export default {
|
|
|
});
|
|
|
} else if(this.erpSettingType == 'push'){
|
|
|
this.$confirm(
|
|
|
- `确认将订单推送到ERP账户"${this.erpAccountForm.selectedAccount}"吗?`,
|
|
|
- '确认推送',
|
|
|
+ `确认将订单推送到ERP账户"${this.erpAccountForm.selectedAccount}"吗?`,
|
|
|
+ '确认推送',
|
|
|
{
|
|
|
confirmButtonText: '确定推送',
|
|
|
cancelButtonText: '取消',
|
|
|
@@ -1575,12 +1575,12 @@ export default {
|
|
|
|
|
|
async executSetErpOrder() {
|
|
|
this.erpAccountDialog.submitting = true;
|
|
|
-
|
|
|
+
|
|
|
try {
|
|
|
let param = {
|
|
|
loginAccount: this.erpAccountForm.selectedAccount
|
|
|
};
|
|
|
-
|
|
|
+
|
|
|
if (this.ids.length > 0) {
|
|
|
// 如果有选中的订单,只推送选中的
|
|
|
param.orderIds = this.ids;
|
|
|
@@ -1589,7 +1589,7 @@ export default {
|
|
|
// 合并查询参数
|
|
|
param = { ...param, ...this.queryParams };
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
const response = await batchSetErpOrder(param);
|
|
|
if (response.code === 200) {
|
|
|
this.$message.success('订单ERP账号设置成功');
|
|
|
@@ -1606,16 +1606,16 @@ export default {
|
|
|
this.erpAccountDialog.submitting = false;
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
//执行创建ERP订单
|
|
|
async executeCreateErpOrder() {
|
|
|
this.erpAccountDialog.submitting = true;
|
|
|
-
|
|
|
+
|
|
|
try {
|
|
|
let param = {
|
|
|
loginAccount: this.erpAccountForm.selectedAccount
|
|
|
};
|
|
|
-
|
|
|
+
|
|
|
if (this.ids.length > 0) {
|
|
|
// 如果有选中的订单,只推送选中的
|
|
|
param.orderIds = this.ids;
|
|
|
@@ -1624,7 +1624,7 @@ export default {
|
|
|
// 合并查询参数
|
|
|
param = { ...param, ...this.queryParams };
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
const response = await batchCreateErpOrder(param);
|
|
|
if (response.code === 200) {
|
|
|
this.$message.success('ERP订单创建成功');
|
|
|
@@ -1641,7 +1641,7 @@ export default {
|
|
|
this.erpAccountDialog.submitting = false;
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 新增:取消ERP账户选择对话框
|
|
|
cancelErpAccountDialog() {
|
|
|
this.erpAccountDialog.open = false;
|
|
|
@@ -1661,7 +1661,7 @@ export default {
|
|
|
param = this.queryParams;
|
|
|
param.erpPhone=this.erpPhoneValue;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
editErpPhone(param).then(response=>{
|
|
|
this.msgSuccess("修改成功");
|
|
|
this.setPhoneOpen = false;
|
|
|
@@ -1688,7 +1688,7 @@ export default {
|
|
|
originalPhone: phone.trim()
|
|
|
}));
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 保存原始数据用于取消操作
|
|
|
this.originalPhoneList = this.phoneList;
|
|
|
});
|
|
|
@@ -1719,7 +1719,7 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
// 检查是否重复
|
|
|
- const duplicateIndex = this.phoneList.findIndex((item, idx) =>
|
|
|
+ const duplicateIndex = this.phoneList.findIndex((item, idx) =>
|
|
|
idx !== index && item.phone === phone
|
|
|
);
|
|
|
if (duplicateIndex !== -1) {
|
|
|
@@ -1770,17 +1770,17 @@ export default {
|
|
|
this.$message.error('请先保存正在编辑的手机号');
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 检查是否有空的手机号
|
|
|
const emptyPhone = this.phoneList.find(item => !item.phone.trim());
|
|
|
if (emptyPhone) {
|
|
|
this.$message.error('存在空的手机号,请删除或填写完整');
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 构造手机号列表
|
|
|
const phoneList = this.phoneList.map(item => item.phone);
|
|
|
-
|
|
|
+
|
|
|
// 调用保存接口
|
|
|
saveErpPhone(phoneList).then(response => {
|
|
|
if (response.code === 200) {
|
|
|
@@ -1811,7 +1811,7 @@ export default {
|
|
|
getSelectedFieldsCount() {
|
|
|
return this.exportFieldOptions.filter(field => field.checked).length;
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 取消导出字段选择
|
|
|
cancelExportFieldDialog() {
|
|
|
this.exportFieldDialog.open = false;
|
|
|
@@ -1822,9 +1822,9 @@ export default {
|
|
|
// 先全不选
|
|
|
this.unselectAllFields();
|
|
|
// 然后选择常用字段
|
|
|
- const defaultFields = ['orderCode', 'prescribeCode', 'companyName', 'companyUserNickName',
|
|
|
- 'storeName', 'miniProgramName', 'userName', 'userPhone', 'userAddress', 'totalPrice',
|
|
|
- 'totalNum', 'payPrice', 'payMoney', 'createTime', 'payTime',
|
|
|
+ const defaultFields = ['orderCode', 'prescribeCode', 'companyName', 'companyUserNickName',
|
|
|
+ 'storeName', 'miniProgramName', 'userName', 'userPhone', 'userAddress', 'totalPrice',
|
|
|
+ 'totalNum', 'payPrice', 'payMoney', 'createTime', 'payTime',
|
|
|
'payType', 'status', 'packageName', 'patientName'];
|
|
|
this.exportFieldOptions.forEach(field => {
|
|
|
if (defaultFields.includes(field.key)) {
|
|
|
@@ -1837,7 +1837,7 @@ export default {
|
|
|
confirmExportFields() {
|
|
|
// 获取已选择的字段
|
|
|
const selectedFieldsArray = this.exportFieldOptions.filter(field => field.checked);
|
|
|
-
|
|
|
+
|
|
|
let selectedFields = '';
|
|
|
if (selectedFieldsArray.length === 0) {
|
|
|
// 如果没有选择任何字段,则导出全部字段(不传filter参数)
|
|
|
@@ -1846,17 +1846,17 @@ export default {
|
|
|
// 如果选择了字段,则只导出选中的字段
|
|
|
selectedFields = selectedFieldsArray.map(field => field.key).join(',');
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 关闭弹窗
|
|
|
this.exportFieldDialog.open = false;
|
|
|
-
|
|
|
+
|
|
|
// 执行导出操作
|
|
|
this.doExportOrder(selectedFields);
|
|
|
},
|
|
|
|
|
|
// 执行导出操作
|
|
|
doExportOrder(selectedFields) {
|
|
|
-
|
|
|
+
|
|
|
if(this.queryParams.status=='00'){
|
|
|
this.queryParams.status=null;
|
|
|
}
|
|
|
@@ -1913,7 +1913,7 @@ export default {
|
|
|
} else if (this.exportFieldDialog.type == 2){
|
|
|
return exportStoreOrderDetails(requestParams);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}).then(response => {
|
|
|
this.download(response.msg);
|
|
|
}).catch(function() {});
|
|
|
@@ -1933,7 +1933,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
handleGenPayUrl(row){
|
|
|
this.payQr.open=true;
|
|
|
@@ -2171,6 +2171,10 @@ export default {
|
|
|
},
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
+ this.payTimeRange = []
|
|
|
+ this.createTimeRange = []
|
|
|
+ this.deliverySendTimeRange = []
|
|
|
+ this.deliveryImportTimeRange = []
|
|
|
this.resetForm("queryForm");
|
|
|
// 清除排序
|
|
|
this.currentSort = {
|
|
|
@@ -2295,7 +2299,7 @@ export default {
|
|
|
},
|
|
|
/** 导出按钮操作 */
|
|
|
handleExportDetails() {
|
|
|
-
|
|
|
+
|
|
|
this.exportFieldDialog.open = true;
|
|
|
this.exportFieldDialog.type = 2;
|
|
|
},
|
|
|
@@ -2621,11 +2625,11 @@ export default {
|
|
|
min-width: auto;
|
|
|
width: 100%;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.tags-wrapper {
|
|
|
min-height: 40px;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.quick-actions {
|
|
|
flex-direction: column;
|
|
|
align-items: flex-start;
|