|
|
|
@ -271,15 +271,15 @@
|
|
|
|
|
v-model="form.processor" |
|
|
|
|
placeholder="请选择处理方" |
|
|
|
|
style="width: 100%" |
|
|
|
|
multiple |
|
|
|
|
filterable |
|
|
|
|
clearable |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in Processingoptions" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.label" |
|
|
|
|
:value="item.value" |
|
|
|
|
multiple |
|
|
|
|
filterable |
|
|
|
|
clearable |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
@ -293,6 +293,8 @@
|
|
|
|
|
<el-input |
|
|
|
|
v-model="form.investigationPocess" |
|
|
|
|
placeholder="请输调查经过" |
|
|
|
|
type="textarea" |
|
|
|
|
:autosize="{ minRows: 1, maxRows: 4 }" |
|
|
|
|
clearable |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
@ -300,6 +302,18 @@
|
|
|
|
|
</div> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
<!-- 内部责任划分 --> |
|
|
|
|
<el-tabs |
|
|
|
|
v-model="form.responsibilities" |
|
|
|
|
class="demo-tabs Packagebox" |
|
|
|
|
@tab-click="handleClick" |
|
|
|
|
v-loading="form.Packageloading" |
|
|
|
|
> |
|
|
|
|
<el-tab-pane label="内部责任划分" name="0"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
</el-form> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
@ -348,6 +362,7 @@ import { deepClone } from '@/utils/util';
|
|
|
|
|
const form = ref({ |
|
|
|
|
TabactiveName: '0', //工单类型菜单 |
|
|
|
|
activPackage: '0', //包件信息菜单 |
|
|
|
|
responsibilities:'0',//内部责任菜单 |
|
|
|
|
Pageloading: false, //页面加载 |
|
|
|
|
Packageloading: false, //包件加载 |
|
|
|
|
historydialog: false, //历史包件弹窗 |
|
|
|
@ -366,27 +381,31 @@ const form = ref({
|
|
|
|
|
}, |
|
|
|
|
], //历史包件列表 |
|
|
|
|
Historicalpackage: [], |
|
|
|
|
// 内部责任划分 |
|
|
|
|
responsibilitiesList:[ |
|
|
|
|
|
|
|
|
|
], |
|
|
|
|
}); |
|
|
|
|
const ruleForm = reactive({ |
|
|
|
|
workOrderType: [{ required: true, message: '请选择异常类型', trigger: 'change' }], |
|
|
|
|
discoveryNode: [{ required: true, message: '请选择发现节点', trigger: 'change' }], |
|
|
|
|
packageCode: [{ required: true, message: '请输入包条码', trigger: 'change' }], |
|
|
|
|
waybillNumber: [{ required: true, message: '请输入运单号', trigger: 'change' }], |
|
|
|
|
orderCode: [{ required: true, message: '请输入订单自编号', trigger: 'change' }], |
|
|
|
|
first: [{ required: true, message: '请输入一级品', trigger: 'change' }], |
|
|
|
|
secondary: [{ required: true, message: '请输入二级品', trigger: 'change' }], |
|
|
|
|
brandName: [{ required: true, message: '请输入品牌', trigger: 'change' }], |
|
|
|
|
trainNumber: [{ required: true, message: '请选择车次号', trigger: 'change' }], |
|
|
|
|
deliveryTime: [{ required: true, message: '请输入配送时间', trigger: 'change' }], |
|
|
|
|
deliveryDriver: [{ required: true, message: '请输入配送司机', trigger: 'change' }], |
|
|
|
|
vehicleRoute: [{ required: true, message: '请输入车辆线路', trigger: 'change' }], |
|
|
|
|
deliverGoodsTime: [{ required: true, message: '请输入发货时间', trigger: 'change' }], |
|
|
|
|
warehousingTime: [{ required: true, message: '请选择入库时间', trigger: 'change' }], |
|
|
|
|
discoveryTime: [{ required: true, message: '请选择发现时间', trigger: 'change' }], |
|
|
|
|
waybillMall: [{ required: true, message: '请输入运单商场', trigger: 'change' }], |
|
|
|
|
typeServiceName: [{ required: true, message: '请输入合作模式', trigger: 'change' }], |
|
|
|
|
processor: [{ required: true, message: '请输入处理方', trigger: 'change' }], |
|
|
|
|
investigationPocess: [{ required: true, message: '请输入调查经过', trigger: 'change' }], |
|
|
|
|
workOrderType: [{ required: true, message: '请选择异常类型', trigger: 'bulr' }], |
|
|
|
|
discoveryNode: [{ required: true, message: '请选择发现节点', trigger: 'bulr' }], |
|
|
|
|
packageCode: [{ required: true, message: '请输入包条码', trigger: 'bulr' }], |
|
|
|
|
waybillNumber: [{ required: true, message: '请输入运单号', trigger: 'bulr' }], |
|
|
|
|
orderCode: [{ required: true, message: '请输入订单自编号', trigger: 'bulr' }], |
|
|
|
|
first: [{ required: true, message: '请输入一级品', trigger: 'bulr' }], |
|
|
|
|
secondary: [{ required: true, message: '请输入二级品', trigger: 'bulr' }], |
|
|
|
|
brandName: [{ required: true, message: '请输入品牌', trigger: 'bulr' }], |
|
|
|
|
trainNumber: [{ required: true, message: '请选择车次号', trigger: 'bulr' }], |
|
|
|
|
deliveryTime: [{ required: true, message: '请输入配送时间', trigger: 'bulr' }], |
|
|
|
|
deliveryDriver: [{ required: true, message: '请输入配送司机', trigger: 'bulr' }], |
|
|
|
|
vehicleRoute: [{ required: true, message: '请输入车辆线路', trigger: 'bulr' }], |
|
|
|
|
deliverGoodsTime: [{ required: true, message: '请输入发货时间', trigger: 'bulr' }], |
|
|
|
|
warehousingTime: [{ required: true, message: '请选择入库时间', trigger: 'bulr' }], |
|
|
|
|
discoveryTime: [{ required: true, message: '请选择发现时间', trigger: 'bulr' }], |
|
|
|
|
waybillMall: [{ required: true, message: '请输入运单商场', trigger: 'bulr' }], |
|
|
|
|
typeServiceName: [{ required: true, message: '请输入合作模式', trigger: 'bulr' }], |
|
|
|
|
processor: [{ required: true, message: '请输入处理方', trigger: 'bulr' }], |
|
|
|
|
investigationPocess: [{ required: true, message: '请输入调查经过', trigger: 'bulr' }], |
|
|
|
|
}); |
|
|
|
|
const ruleFormRef = ref(); //表单示例 |
|
|
|
|
// 异常类型 |
|
|
|
@ -447,20 +466,18 @@ const DiscoveringNodesChange = value => {
|
|
|
|
|
}; |
|
|
|
|
// 菜单切换显示输入框 |
|
|
|
|
const displaySettings = computed(() => { |
|
|
|
|
const groundType = form.value.groundlineType; |
|
|
|
|
const includesType = types => types.includes(groundType); |
|
|
|
|
return { |
|
|
|
|
trainNumber: includesType([3, 5, 7, 6]), // 车次号 |
|
|
|
|
deliveryTime: includesType([5, 7, 6]), // 配送时间 |
|
|
|
|
deliveryDriver: includesType([5, 7, 6]), // 配送司机 |
|
|
|
|
vehicleRoute: includesType([3]), // 车辆线路 |
|
|
|
|
deliverGoodsTime: includesType([2]), // 发货时间 |
|
|
|
|
warehousingTime: includesType([4]), // 入库时间 |
|
|
|
|
discoveryTime: includesType([4, 5, 6, 7]), // 发现时间 |
|
|
|
|
waybillMall: true, // 运单商场 |
|
|
|
|
typeServiceName: true, // 合作模式 |
|
|
|
|
processor: true, // 处理方 |
|
|
|
|
investigationPocess: true, // 调查经过 |
|
|
|
|
trainNumber: ['3', '5', '7', '6'].includes(form.value.groundlineType), //车次号 |
|
|
|
|
deliveryTime: ['5', '7', '6'].includes(form.value.groundlineType), //配送时间 |
|
|
|
|
deliveryDriver: ['5', '7', '6'].includes(form.value.groundlineType), //配送司机 |
|
|
|
|
vehicleRoute: ['3'].includes(form.value.groundlineType), //车辆线路 |
|
|
|
|
deliverGoodsTime: ['2'].includes(form.value.groundlineType), //发货时间 |
|
|
|
|
warehousingTime: ['4'].includes(form.value.groundlineType), //入库时间 |
|
|
|
|
discoveryTime: ['4', '5', '6', '7'].includes(form.value.groundlineType), //发现时间 |
|
|
|
|
waybillMall: true, //运单商场 |
|
|
|
|
typeServiceName: true, //合作模式 |
|
|
|
|
processor: true, //处理方 |
|
|
|
|
investigationPocess: true, //调查经过 |
|
|
|
|
}; |
|
|
|
|
}); |
|
|
|
|
// 新增包件 |
|
|
|
@ -635,7 +652,6 @@ const TabactiveClick = (a, b) => {
|
|
|
|
|
width: 12.8%; |
|
|
|
|
margin-right: 10px; |
|
|
|
|
.el-form-item__content { |
|
|
|
|
height: 29px; |
|
|
|
|
.el-input { |
|
|
|
|
height: 100% !important; |
|
|
|
|
.el-input__wrapper { |
|
|
|
@ -650,8 +666,9 @@ const TabactiveClick = (a, b) => {
|
|
|
|
|
.el_Basic { |
|
|
|
|
flex: 1; |
|
|
|
|
display: flex; |
|
|
|
|
min-width: 20%; |
|
|
|
|
.el_Processing { |
|
|
|
|
width: 54%; |
|
|
|
|
width: 39.6%; |
|
|
|
|
} |
|
|
|
|
.el_Investigation { |
|
|
|
|
flex: 1; |
|
|
|
|