|
|
|
@ -4,10 +4,10 @@
|
|
|
|
|
<el-row :hidden="!search" style="padding:6px 18px"> |
|
|
|
|
<!-- 查询模块 --> |
|
|
|
|
<el-form :inline="true" :model="query"> |
|
|
|
|
<el-form-item label="工单异常类型;货损,少货,窜货,加急,其他:"> |
|
|
|
|
<el-form-item label="工单异常类型:"> |
|
|
|
|
<el-input v-model="query.workOrderType" placeholder="请输入工单异常类型;货损,少货,窜货,加急,其他"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="发现节点;提货,发货,干线,库内,配送,其他,签收(PC),安装(PC):"> |
|
|
|
|
<el-form-item label="发现节点:"> |
|
|
|
|
<el-input v-model="query.discoveryNode" placeholder="请输入发现节点;提货,发货,干线,库内,配送,其他,签收(PC),安装(PC)"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="异常工单号:"> |
|
|
|
@ -27,8 +27,10 @@
|
|
|
|
|
<div class="avue-crud__header"> |
|
|
|
|
<!-- 头部左侧按钮模块 --> |
|
|
|
|
<div class="avue-crud__left"> |
|
|
|
|
<el-button v-if="this.permissionList.addBtn" type="primary" icon="el-icon-plus" @click="handleAdd">新 增</el-button> |
|
|
|
|
<el-button v-if="this.permissionList.delBtn" type="danger" icon="el-icon-delete" @click="handleDelete" plain>删 除</el-button> |
|
|
|
|
<!-- <el-button v-if="this.permissionList.addBtn" type="primary" icon="el-icon-plus" @click="handleAdd">新 增</el-button>--> |
|
|
|
|
<!-- <el-button v-if="this.permissionList.delBtn" type="danger" icon="el-icon-delete" @click="handleDelete" plain>删 除</el-button>--> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">新 增</el-button> |
|
|
|
|
<el-button type="danger" icon="el-icon-delete" @click="handleDelete" plain>删 除</el-button> |
|
|
|
|
</div> |
|
|
|
|
<!-- 头部右侧按钮模块 --> |
|
|
|
|
<div class="avue-crud__right"> |
|
|
|
@ -89,9 +91,9 @@
|
|
|
|
|
width="50%" |
|
|
|
|
:before-close="beforeClose" |
|
|
|
|
append-to-body> |
|
|
|
|
<el-form :disabled="view" ref="form" :model="form" label-width="80px"> |
|
|
|
|
<el-form :disabled="view" ref="form" :model="form" label-width="120px"> |
|
|
|
|
<!-- 表单字段 --> |
|
|
|
|
<el-form-item label="工单异常类型;货损,少货,窜货,加急,其他" prop="workOrderType"> |
|
|
|
|
<el-form-item label="工单异常类型 " prop="workOrderType"> |
|
|
|
|
<el-select v-model="form.workOrderType" clearable placeholder="请选择工单异常类型;货损,少货,窜货,加急,其他"> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in workOrderTypeData" |
|
|
|
@ -101,7 +103,7 @@
|
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="发现节点;提货,发货,干线,库内,配送,其他,签收(PC),安装(PC)" prop="discoveryNode"> |
|
|
|
|
<el-form-item label="发现节点 " prop="discoveryNode"> |
|
|
|
|
<el-select v-model="form.discoveryNode" clearable placeholder="请选择发现节点;提货,发货,干线,库内,配送,其他,签收(PC),安装(PC)"> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in discoveryNodeData" |
|
|
|
@ -120,7 +122,7 @@
|
|
|
|
|
<el-form-item label="订单自编号" prop="orderCode"> |
|
|
|
|
<el-input v-model="form.orderCode" placeholder="请输入订单自编号"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="车次号 (干线卸车环节)" prop="trainNumber"> |
|
|
|
|
<el-form-item label="车次号 " prop="trainNumber"> |
|
|
|
|
<el-input v-model="form.trainNumber" placeholder="请输入车次号 (干线卸车环节)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="一级品类" prop="first"> |
|
|
|
@ -129,16 +131,16 @@
|
|
|
|
|
<el-form-item label="二级品类" prop="secondary"> |
|
|
|
|
<el-input v-model="form.secondary" placeholder="请输入二级品类"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="车辆路线;车次号、通过车次号自动带出车辆线路" prop="vehicleRoute"> |
|
|
|
|
<el-form-item label="车辆路线 " prop="vehicleRoute"> |
|
|
|
|
<el-input v-model="form.vehicleRoute" placeholder="请输入车辆路线;车次号、通过车次号自动带出车辆线路"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="送货时间" prop="deliverGoodsTime"> |
|
|
|
|
<el-input v-model="form.deliverGoodsTime" placeholder="请输入送货时间"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="发现时间 (库内作业环节,配送装车环节)" prop="discoveryTime"> |
|
|
|
|
<el-form-item label="发现时间 " prop="discoveryTime"> |
|
|
|
|
<el-input v-model="form.discoveryTime" placeholder="请输入发现时间 (库内作业环节,配送装车环节)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="入库时间(库内作业环节)" prop="warehousingTime"> |
|
|
|
|
<el-form-item label="入库时间 " prop="warehousingTime"> |
|
|
|
|
<el-input v-model="form.warehousingTime" placeholder="请输入入库时间(库内作业环节)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="运单商场" prop="waybillMall"> |
|
|
|
@ -147,34 +149,27 @@
|
|
|
|
|
<el-form-item label="备注" prop="remarks"> |
|
|
|
|
<el-input v-model="form.remarks" placeholder="请输入备注"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="配送时间(配送装车环节)" prop="deliveryTime"> |
|
|
|
|
<el-form-item label="配送时间 " prop="deliveryTime"> |
|
|
|
|
<el-input v-model="form.deliveryTime" placeholder="请输入配送时间(配送装车环节)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="配送司机(配送装车环节)" prop="deliveryDriver"> |
|
|
|
|
<el-form-item label="配送司机 " prop="deliveryDriver"> |
|
|
|
|
<el-input v-model="form.deliveryDriver" placeholder="请输入配送司机(配送装车环节)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="工单状态" prop="workOrderStatus"> |
|
|
|
|
<el-input v-model="form.workOrderStatus" placeholder="请输入工单状态"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="归属客服ID" prop="customerServiceId"> |
|
|
|
|
<el-input v-model="form.customerServiceId" placeholder="请输入归属客服ID"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="归属客服名称" prop="customerServiceName"> |
|
|
|
|
<el-input v-model="form.customerServiceName" placeholder="请输入归属客服名称"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="商场ID" prop="waybillMallId"> |
|
|
|
|
<el-input v-model="form.waybillMallId" placeholder="请输入商场ID"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="完结时间" prop="overTime"> |
|
|
|
|
<el-input v-model="form.overTime" placeholder="请输入完结时间"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="异常问题描述" prop="problemDescription"> |
|
|
|
|
<el-input v-model="form.problemDescription" placeholder="请输入异常问题描述"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="仓库ID" prop="warehouseId"> |
|
|
|
|
<el-input v-model="form.warehouseId" placeholder="请输入仓库ID"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="责任人 (库内作业环节)" prop="personResponsible"> |
|
|
|
|
<el-form-item label="责任人" prop="personResponsible"> |
|
|
|
|
<el-input v-model="form.personResponsible" placeholder="请输入责任人 (库内作业环节)"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="钉钉流程号" prop="processNumber"> |
|
|
|
@ -206,6 +201,7 @@
|
|
|
|
|
import { getList, getDetail, add, update, remove } from "@/api/aftersales/aftersalesWorkOrder"; |
|
|
|
|
import option from "@/option/aftersales/aftersalesWorkOrder"; |
|
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
|
import { getDictionaryBiz } from '@/api/system/dict'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
data () { |
|
|
|
@ -237,6 +233,8 @@ export default {
|
|
|
|
|
option: option, |
|
|
|
|
// 表单列表 |
|
|
|
|
data: [], |
|
|
|
|
discoveryNode: [], |
|
|
|
|
workOrder: [], |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
@ -264,6 +262,28 @@ export default {
|
|
|
|
|
methods: { |
|
|
|
|
init() { |
|
|
|
|
this.height = this.setPx(document.body.clientHeight - 340); |
|
|
|
|
getDictionaryBiz('pc_work_order').then(res => { //异常类型 |
|
|
|
|
this.workOrder = res.data.data; |
|
|
|
|
/*this.$functions.checkcColumnList('typeServerName', this.columnList).checkarr = |
|
|
|
|
res.data.data.map(item => { |
|
|
|
|
item.value = item.dictKey; |
|
|
|
|
item.label = item.dictValue; |
|
|
|
|
return item; |
|
|
|
|
});*/ |
|
|
|
|
}); |
|
|
|
|
getDictionaryBiz('pc_discovery_node').then(res => { //发现环节 |
|
|
|
|
this.discoveryNode = res.data.data; |
|
|
|
|
/*this.$functions.checkcColumnList('typeServerName', this.columnList).checkarr = |
|
|
|
|
res.data.data.map(item => { |
|
|
|
|
item.value = item.dictKey; |
|
|
|
|
item.label = item.dictValue; |
|
|
|
|
return item; |
|
|
|
|
});*/ |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
searchHide() { |
|
|
|
|
this.search = !this.search; |
|
|
|
|