Compare commits

...

2 Commits

Author SHA1 Message Date
09664218a2 微调 2024-10-30 09:19:19 +08:00
15837ce5d6 微调 2024-10-29 14:29:29 +08:00
4 changed files with 29 additions and 33 deletions

View File

@ -11,7 +11,7 @@
</el-form-item>
<el-form-item label="城市" prop="cityName">
<el-input
v-model="queryParams.cityId"
v-model="queryParams.cityName"
placeholder="请输入城市名称"
clearable
@keyup.enter.native="handleQuery"
@ -195,6 +195,7 @@ export default {
dispatchFee: null,
deliveryFee: null,
cityId: null,
cityName: null,
contact: null,
phone: null,
userid: null,

View File

@ -9,17 +9,17 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="代理商" prop="agentId">
<el-form-item label="代理商" prop="agentName">
<el-input
v-model="queryParams.agentId"
v-model="queryParams.agentName"
placeholder="请输入代理商"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="配送员" prop="deliverymanId">
<el-form-item label="配送员" prop="deliveryman">
<el-input
v-model="queryParams.deliverymanId"
v-model="queryParams.deliveryman"
placeholder="请输入配送员"
clearable
@keyup.enter.native="handleQuery"
@ -35,14 +35,6 @@
/>
</el-select>
</el-form-item>
<el-form-item label="配送员名称" label-width="90" prop="deliveryman">
<el-input
v-model="queryParams.deliveryman"
placeholder="请输入配送员名称"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="配送员电话" label-width="90" prop="deliverymanPhone">
<el-input
v-model="queryParams.deliverymanPhone"
@ -238,6 +230,7 @@ export default {
pageSize: 10,
orderNo: null,
agentId: null,
agentName: null,
deliverymanId: null,
deliverymanType: null,
deliveryman: null,

View File

@ -1,17 +1,17 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="代理商" prop="agentId">
<el-form-item label="代理商" prop="agentName">
<el-input
v-model="queryParams.agentId"
v-model="queryParams.agentName"
placeholder="请输入代理商"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="收款人" prop="partnerId">
<el-form-item label="收款人" prop="partnerPhone">
<el-input
v-model="queryParams.partnerId"
v-model="queryParams.partnerPhone"
placeholder="请输入收款人"
clearable
@keyup.enter.native="handleQuery"
@ -160,7 +160,9 @@ export default {
pageNum: 1,
pageSize: 10,
agentId: null,
agentName: null,
partnerId: null,
partnerPhone: null,
orderNo: null,
totalAmount: null,
dividendAmount: null,

View File

@ -1,14 +1,14 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="MAC" prop="mac">
<el-input style="width: 120px"
v-model="queryParams.mac"
placeholder="请输入mac"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="MAC" prop="mac">-->
<!-- <el-input style="width: 120px"-->
<!-- v-model="queryParams.mac"-->
<!-- placeholder="请输入mac"-->
<!-- clearable-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item label="SN号" prop="sn">
<el-input style="width: 120px"
v-model="queryParams.sn"
@ -187,7 +187,7 @@
@sort-change="handleSortChange"
class="el-table">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="MAC" align="center" prop="mac" v-if="columns[0].visible"/>
<!-- <el-table-column label="MAC" align="center" prop="mac" v-if="columns[0].visible"/>-->
<el-table-column label="SN" align="center" prop="sn" sortable="custom" :sort-orders="['descending', 'ascending']" v-if="columns[1].visible"/>
<el-table-column label="车辆型号" align="center" prop="model" v-if="columns[2].visible"/>
<el-table-column label="车牌号" align="center" prop="vehicleNum" sortable="custom" :sort-orders="['descending', 'ascending']" v-if="columns[3].visible"/>
@ -630,11 +630,13 @@ export default {
window.removeEventListener('scroll', this.handleScroll, true)
},
created() {
listHardwareVersion(this.queryParams).then(response => {
this.hardwareVersionOptions = response.rows;
this.loading2 = false;
});
this.userName = this.$store.state.user.name;
if (this.userName === "admin") {
listHardwareVersion(this.queryParams).then(response => {
this.hardwareVersionOptions = response.rows;
this.loading2 = false;
});
}
console.log("当前用户信息:",this.$store.state.user.name)
const sn = this.$route.params && this.$route.params.sn;
const vehicleNum = this.$route.params && this.$route.params.vehicleNum;
@ -656,9 +658,7 @@ export default {
});
options.splice(4, 0, mergedObj);
this.statusOptions = options;
// console.log("statusOptions------",this.statusOptions)
});
this.userName = this.$store.state.user.name;
this.getList();
this.getlistModel()
this.getlistStore()