|
|
|
@ -14,16 +14,8 @@
|
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="入库时间:" class="el-times"> |
|
|
|
|
<!-- <el-input v-model="query.stockupArea" placeholder="请输入备货区"></el-input>--> |
|
|
|
|
<el-date-picker |
|
|
|
|
v-model="stockupDate" |
|
|
|
|
type="datetimerange" |
|
|
|
|
unlink-panels |
|
|
|
|
range-separator="至" |
|
|
|
|
start-placeholder="开始时间" |
|
|
|
|
end-placeholder="结束时间" |
|
|
|
|
:shortcuts="shortcuts" |
|
|
|
|
:default-time="defaultTime2" |
|
|
|
|
/> |
|
|
|
|
<el-date-picker v-model="stockupDate" type="datetimerange" unlink-panels range-separator="至" |
|
|
|
|
start-placeholder="开始时间" end-placeholder="结束时间" :shortcuts="shortcuts" :default-time="defaultTime2" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
<!-- <el-form-item label="货物名称:">--> |
|
|
|
|
<!-- <el-input v-model="query.descriptionGoods" placeholder="请输入货物名称"></el-input>--> |
|
|
|
@ -75,28 +67,14 @@
|
|
|
|
|
<div class="avue-crud__header"> |
|
|
|
|
<!-- 头部左侧按钮模块 --> |
|
|
|
|
<div class="avue-crud__left"> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleAdd" v-if="handler" |
|
|
|
|
>创建异常</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleAdd" v-if="handler">创建异常</el-button> |
|
|
|
|
<!-- <el-button type="danger" icon="el-icon-delete" @click="handleMoke" v-if = "handler">转预约单</el-button>--> |
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-plus" @click="handleStockList" v-if = "handler">批量加配转库存品</el-button>--> |
|
|
|
|
<el-button |
|
|
|
|
type="danger" |
|
|
|
|
icon="el-icon-delete" |
|
|
|
|
@click="handleCallDelivery('3')" |
|
|
|
|
v-if="handler" |
|
|
|
|
>修改客户信息</el-button |
|
|
|
|
> |
|
|
|
|
<el-button |
|
|
|
|
type="danger" |
|
|
|
|
icon="el-icon-delete" |
|
|
|
|
@click="handleCallDelivery('2')" |
|
|
|
|
v-if="handler" |
|
|
|
|
>修改服务类型</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="danger" icon="el-icon-plus" @click="handleExport" plain |
|
|
|
|
>导 出</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="danger" icon="el-icon-delete" @click="handleCallDelivery('3')" |
|
|
|
|
v-if="handler">修改客户信息</el-button> |
|
|
|
|
<el-button type="danger" icon="el-icon-delete" @click="handleCallDelivery('2')" |
|
|
|
|
v-if="handler">修改服务类型</el-button> |
|
|
|
|
<el-button type="danger" icon="el-icon-plus" @click="handleExport" plain>导 出</el-button> |
|
|
|
|
</div> |
|
|
|
|
<!-- <div class="avue-crud__left"> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handlebill" v-if = "!handler">创建提货单</el-button> |
|
|
|
@ -113,27 +91,12 @@
|
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<tablecmt |
|
|
|
|
:columnList="columnList" |
|
|
|
|
:tableData="data" |
|
|
|
|
:loading="loading" |
|
|
|
|
@inputTxt="inputsc" |
|
|
|
|
@timeCheck="timesc" |
|
|
|
|
@btnCheck="btnsc" |
|
|
|
|
@selectCheck="selectsc" |
|
|
|
|
@selection="selectionChange" |
|
|
|
|
> |
|
|
|
|
<tablecmt :columnList="columnList" :tableData="data" :loading="loading" @inputTxt="inputsc" @timeCheck="timesc" |
|
|
|
|
@btnCheck="btnsc" @selectCheck="selectsc" @selection="selectionChange"> |
|
|
|
|
<template #default="slotProps"> |
|
|
|
|
<el-text type="primary" text icon="el-icon-view" @click="handleView(slotProps.scope)" |
|
|
|
|
>查看</el-text |
|
|
|
|
> |
|
|
|
|
<el-text |
|
|
|
|
type="primary" |
|
|
|
|
text |
|
|
|
|
icon="el-icon-edit" |
|
|
|
|
@click="handleCallDeliveryOwn(slotProps.scope)" |
|
|
|
|
>修改客户信息</el-text |
|
|
|
|
> |
|
|
|
|
<el-text type="primary" text icon="el-icon-view" @click="handleView(slotProps.scope)">查看</el-text> |
|
|
|
|
<el-text type="primary" text icon="el-icon-edit" |
|
|
|
|
@click="handleCallDeliveryOwn(slotProps.scope)">修改客户信息</el-text> |
|
|
|
|
</template> |
|
|
|
|
</tablecmt> |
|
|
|
|
</el-row> |
|
|
|
@ -141,17 +104,9 @@
|
|
|
|
|
<div class="avue-crud__pagination flex-c-sb" style="width: 100%"> |
|
|
|
|
<div style="font-size: 14px">勾选数量: {{ selectionList.length }}</div> |
|
|
|
|
<!-- 分页模块 --> |
|
|
|
|
<el-pagination |
|
|
|
|
align="right" |
|
|
|
|
background |
|
|
|
|
@size-change="sizeChange" |
|
|
|
|
@current-change="currentChange" |
|
|
|
|
:current-page="page.currentPage" |
|
|
|
|
:page-sizes="[30, 50, 80, 120]" |
|
|
|
|
:page-size="page.pageSize" |
|
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
|
:total="page.total" |
|
|
|
|
> |
|
|
|
|
<el-pagination align="right" background @size-change="sizeChange" @current-change="currentChange" |
|
|
|
|
:current-page="page.currentPage" :page-sizes="[30, 50, 80, 120]" :page-size="page.pageSize" |
|
|
|
|
layout="total, sizes, prev, pager, next, jumper" :total="page.total"> |
|
|
|
|
</el-pagination> |
|
|
|
|
</div> |
|
|
|
|
</el-row> |
|
|
|
@ -167,12 +122,7 @@
|
|
|
|
|
<el-input v-model="formCall.waybill" autocomplete="off" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="跟进记录" :label-width="formLabelWidth"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="formCall.followUpRecord" |
|
|
|
|
:rows="2" |
|
|
|
|
type="textarea" |
|
|
|
|
placeholder="请填写内容" |
|
|
|
|
/> |
|
|
|
|
<el-input v-model="formCall.followUpRecord" :rows="2" type="textarea" placeholder="请填写内容" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="历史跟进" :label-width="formLabelWidth"> </el-form-item> |
|
|
|
|
</el-form> |
|
|
|
@ -189,12 +139,8 @@
|
|
|
|
|
<el-form-item label="服务类型" :label-width="formLabelWidth"> |
|
|
|
|
<!-- <el-input v-model="formService.typeService" autocomplete="off" />--> |
|
|
|
|
<el-select v-model="formService.typeService" clearable placeholder="请选择服务类型"> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in distributionType" |
|
|
|
|
:key="item.dictKey" |
|
|
|
|
:label="item.dictValue" |
|
|
|
|
:value="item.dictKey" |
|
|
|
|
> |
|
|
|
|
<el-option v-for="item in distributionType" :key="item.dictKey" :label="item.dictValue" |
|
|
|
|
:value="item.dictKey"> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
@ -202,12 +148,7 @@
|
|
|
|
|
<el-input v-model="formService.cost" autocomplete="off" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="原因" :label-width="formLabelWidth"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="formService.cause" |
|
|
|
|
:rows="2" |
|
|
|
|
type="textarea" |
|
|
|
|
placeholder="请填写原因" |
|
|
|
|
/> |
|
|
|
|
<el-input v-model="formService.cause" :rows="2" type="textarea" placeholder="请填写原因" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
<template #footer> |
|
|
|
@ -227,12 +168,7 @@
|
|
|
|
|
<el-input v-model="formCustomer.phone" autocomplete="off" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="地址" :label-width="formLabelWidth"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="formCustomer.address" |
|
|
|
|
:rows="2" |
|
|
|
|
type="textarea" |
|
|
|
|
placeholder="请填写地址" |
|
|
|
|
/> |
|
|
|
|
<el-input v-model="formCustomer.address" :rows="2" type="textarea" placeholder="请填写地址" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
<template #footer> |
|
|
|
@ -244,13 +180,7 @@
|
|
|
|
|
</template> |
|
|
|
|
</el-dialog> |
|
|
|
|
<!-- 表单模块 --> |
|
|
|
|
<el-dialog |
|
|
|
|
:title="title" |
|
|
|
|
v-model="box" |
|
|
|
|
width="50%" |
|
|
|
|
:before-close="beforeClose" |
|
|
|
|
append-to-body |
|
|
|
|
> |
|
|
|
|
<el-dialog :title="title" v-model="box" width="50%" :before-close="beforeClose" append-to-body> |
|
|
|
|
<el-form :disabled="view" ref="form" :model="form" label-width="80px"> |
|
|
|
|
<!-- 表单字段 --> |
|
|
|
|
<el-form-item label="服务号" prop="serviceNumber"> |
|
|
|
@ -270,13 +200,8 @@
|
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="入库时间" prop="warehouseEntryTime"> |
|
|
|
|
<!-- <el-input v-model="form.warehouseEntryTime" placeholder="请输入入库时间"/>--> |
|
|
|
|
<el-date-picker |
|
|
|
|
v-model="form.warehouseEntryTime" |
|
|
|
|
type="datetime" |
|
|
|
|
placeholder="请输入入库时间" |
|
|
|
|
format="YYYY-MM-DD hh:mm:ss" |
|
|
|
|
value-format="YYYY-MM-DD hh:mm:ss" |
|
|
|
|
/> |
|
|
|
|
<el-date-picker v-model="form.warehouseEntryTime" type="datetime" placeholder="请输入入库时间" |
|
|
|
|
format="YYYY-MM-DD hh:mm:ss" value-format="YYYY-MM-DD hh:mm:ss" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="在库时长" prop="storeTime"> |
|
|
|
|
<el-input v-model="form.storeTime" placeholder="请输入在库时长" /> |
|
|
|
@ -352,21 +277,15 @@
|
|
|
|
|
<!-- 表单按钮 --> |
|
|
|
|
<template #footer> |
|
|
|
|
<span v-if="!view" class="dialog-footer"> |
|
|
|
|
<el-button type="primary" icon="el-icon-circle-check" @click="handleSubmit" |
|
|
|
|
>提 交</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="primary" icon="el-icon-circle-check" @click="handleSubmit">提 交</el-button> |
|
|
|
|
<el-button icon="el-icon-circle-close" @click="box = false">取 消</el-button> |
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
</el-dialog> |
|
|
|
|
</div> |
|
|
|
|
</basic-container> |
|
|
|
|
<edittablehead |
|
|
|
|
@setcolum="setnewcolum" |
|
|
|
|
@closce="showdrawer" |
|
|
|
|
:drawerShow="drawerShow" |
|
|
|
|
:columnList="columnList" |
|
|
|
|
></edittablehead> |
|
|
|
|
<edittablehead @setcolum="setnewcolum" @closce="showdrawer" :drawerShow="drawerShow" :columnList="columnList"> |
|
|
|
|
</edittablehead> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
@ -1590,23 +1509,29 @@ export default {
|
|
|
|
|
.el-button--text { |
|
|
|
|
margin-right: 15px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.el-select { |
|
|
|
|
width: 300px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.el-input { |
|
|
|
|
width: 300px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.dialog-footer button:first-child { |
|
|
|
|
margin-right: 10px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.el-fr { |
|
|
|
|
width: 100%; |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
|
|
.asterisk-left:last-child { |
|
|
|
|
margin-right: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.el-input { |
|
|
|
|
margin-left: 8px; |
|
|
|
|
} |
|
|
|
@ -1614,28 +1539,35 @@ export default {
|
|
|
|
|
:deep(.el-form-item__content) { |
|
|
|
|
margin-left: 8px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.el-times { |
|
|
|
|
width: auto; |
|
|
|
|
|
|
|
|
|
:deep(.el-tooltip__trigger) { |
|
|
|
|
height: 30px !important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
:deep(.el-form-item__label) { |
|
|
|
|
padding: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
:deep(.avue-crud) { |
|
|
|
|
display: flex; |
|
|
|
|
height: 100%; |
|
|
|
|
flex-direction: column; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
:deep(.el-card__body) { |
|
|
|
|
height: 100%; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
:deep(.el-card) { |
|
|
|
|
height: 100%; |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.el-fy { |
|
|
|
|
flex: 1; |
|
|
|
|
display: flex; |
|
|
|
|