Browse Source

添加客户名称字段,搜索功能,修复bug

fix_bug_pro20231227
13208366016 1 year ago
parent
commit
8900951225
  1. 14
      src/views/distribution/deliverylist/distributionDeliveryListmar.vue
  2. 14
      src/views/distribution/reservation/reservationAddFrom.vue
  3. 21
      src/views/distribution/stockup/distributionStockupMarket.vue
  4. 4
      vite.config.js

14
src/views/distribution/deliverylist/distributionDeliveryListmar.vue

@ -6,6 +6,9 @@
<el-form :inline="true" :model="query" class="fr-fo"> <el-form :inline="true" :model="query" class="fr-fo">
<el-form-item label="配送车次:"> <el-form-item label="配送车次:">
<el-input v-model="query.trainNumber" placeholder="请输入配送车次"></el-input> <el-input v-model="query.trainNumber" placeholder="请输入配送车次"></el-input>
</el-form-item>
<el-form-item label="客户名称:">
<el-input v-model="query.clineName" placeholder="请客户名称"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="配送日期:" class="el-times"> <el-form-item label="配送日期:" class="el-times">
<el-date-picker v-model="query.taskTime" type="date" placeholder="选择日期"> <el-date-picker v-model="query.taskTime" type="date" placeholder="选择日期">
@ -413,7 +416,16 @@ export default {
fixed: false, fixed: false,
sortable: true, sortable: true,
}, },
{
prop: 'clineName',
label: '客户名称',
type: 2,
values: '',
width: '130',
checkarr: [],
fixed: false,
sortable: true,
},
{ {
prop: 'kindName', prop: 'kindName',
label: '配送种类', label: '配送种类',

14
src/views/distribution/reservation/reservationAddFrom.vue

@ -124,7 +124,7 @@
<el-tabs type="border-card"> <el-tabs type="border-card">
<el-tab-pane label="订单"> <el-tab-pane label="订单">
<el-button type="primary" link @click="handleAddOrder"> </el-button> <el-button class='el-btn-xz' type="primary" link @click="handleAddOrder"> </el-button>
<tablecmt <tablecmt
:columnList="columnList" :columnList="columnList"
:tableData="orderData" :tableData="orderData"
@ -199,7 +199,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="库存品"> <el-tab-pane label="库存品">
<el-button link @click="handleAddInventory"> </el-button> <el-button class='el-btn-xz' link @click="handleAddInventory"> </el-button>
<tablecmt <tablecmt
:columnList="stockcolumnList" :columnList="stockcolumnList"
:tableData="inventoryData" :tableData="inventoryData"
@ -2930,3 +2930,13 @@
-moz-appearance: textfield; -moz-appearance: textfield;
} }
</style> </style>
<style lang='scss' scoped>
.el-btn-xz{
width: 68px;
height: 26px;
border: 1px solid;
margin-bottom: 8px;
border-radius: 4px;
}
</style>

21
src/views/distribution/stockup/distributionStockupMarket.vue

@ -13,7 +13,8 @@
<el-form-item label="指派状态;1-未指派、2-已指派:"> <el-form-item label="指派状态;1-未指派、2-已指派:">
<el-input v-model="query.assignStatus" placeholder="请输入指派状态;1-未指派、2-已指派"></el-input> <el-input v-model="query.assignStatus" placeholder="请输入指派状态;1-未指派、2-已指派"></el-input>
</el-form-item>--> </el-form-item>-->
<el-form-item label="备货时间:" class="el-times"> <div class='el-input-so'>
<el-form-item label="备货时间:" class="el-times">
<el-date-picker <el-date-picker
v-model="stockupDate" v-model="stockupDate"
type="datetimerange" type="datetimerange"
@ -24,6 +25,10 @@
:shortcuts="shortcuts" :shortcuts="shortcuts"
/> />
</el-form-item> </el-form-item>
<el-form-item style="margin-left: 24px;" label="客户名称">
<el-input v-model="query.consignee" placeholder="请输入客户名称" />
</el-form-item>
</div>
<!-- 查询按钮 --> <!-- 查询按钮 -->
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" @click="searchChange"> </el-button> <el-button type="primary" icon="el-icon-search" @click="searchChange"> </el-button>
@ -340,6 +345,17 @@ export default {
sortable: true, sortable: true,
head: false, head: false,
}, },
{
prop: 'consignee',
label: '客户名称',
type: 2,
values: '',
width: '130',
checkarr: [],
fixed: true,
sortable: true,
head: false,
},
{ {
prop: 'stockupDate', prop: 'stockupDate',
label: '备货时间', label: '备货时间',
@ -1142,5 +1158,8 @@ export default {
flex: 1; flex: 1;
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
}
.el-input-so{
} }
</style> </style>

4
vite.config.js

@ -18,9 +18,9 @@ export default ({ mode, command }) => {
// lmy // lmy
// target: 'http://192.168.10.123:8889', // target: 'http://192.168.10.123:8889',
// cyz // cyz
target: 'http://192.168.10.75:8777', // target: 'http://192.168.10.75:8777',
// tjj // tjj
// target: 'http://192.168.10.29:13000', target: 'http://192.168.10.29:13000',
// sst // sst
// target: 'http://192.168.10.94:8888', // target: 'http://192.168.10.94:8888',
// target: 'http://192.168.10.29:13000', // target: 'http://192.168.10.29:13000',

Loading…
Cancel
Save