Browse Source

自提管理新增订单自编号字段

pre-production
马远东 1 year ago
parent
commit
e253f24820
  1. 77
      src/views/aftersales/aftersalesWorkOrderend.vue
  2. 10
      src/views/distribution/inventory/distrilbutionBillLadingList.vue

77
src/views/aftersales/aftersalesWorkOrderend.vue

@ -286,12 +286,12 @@
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<!-- 完善信息 --> <!-- 完善信息 -->
<div class="Improveinformation">
<div class="Improveinformation">
<div class="selector"> <div class="selector">
<div class="el-form-item selector"> <div class="el-form-item selector">
<span class="el-form-item__label">处理结果</span> <el-tabs type="border-card" style="width: 100%">
<el-tab-pane label="处理结果">
<el-select <el-select
v-model="endFrom.result" v-model="endFrom.result"
multiple multiple
@ -309,6 +309,8 @@
:value="item.dictKey" :value="item.dictKey"
/> />
</el-select> </el-select>
</el-tab-pane>
</el-tabs>
</div> </div>
</div> </div>
@ -327,30 +329,25 @@
<div class="Paymentname" @click="PaymentSelection(item)"> <div class="Paymentname" @click="PaymentSelection(item)">
{{ item.payment ? item.text : '支付方式' }} {{ item.payment ? item.text : '支付方式' }}
</div> </div>
<div>
</div>
</div>
<div class="el_tool">
<span>总金额:{{ TotalClaimAmount }}</span>
</div>
<el-divider>
<span class="ZFname">理赔支付时间</span>
</el-divider>
<div class="lptime">
<!-- <span class="name">理赔支付时间</span> -->
<el-date-picker <el-date-picker
v-model="endFrom.compensationTime" v-model="item.compensationTime"
type="datetime" type="datetime"
format="YYYY-MM-DD" format="YYYY-MM-DD"
value-format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss"
:disabled="$route.query.index == '0' || $route.query.index == '2'" :disabled="$route.query.index == '0' || $route.query.index == '2'"
placeholder="请选择运理赔支付时间" placeholder="支付时间"
:clearable="false"
/> />
</div> </div>
</div> </div>
</div>
<div class="el_tool">
<span>总金额:{{ TotalClaimAmount }}</span>
</div>
</div>
<!-- 处理结果说明 --> <!-- 处理结果说明 -->
<el-form-item label="处理结果说明" class="el_resj"> <el-form-item label="处理结果说明" class="el_resj">
<el-input <el-input
@ -541,10 +538,8 @@
<source :src="videoUrl" type="video/mp4" /> <source :src="videoUrl" type="video/mp4" />
</video> </video>
</el-dialog> </el-dialog>
</div> </div>
<div class="el_sub" v-if="$route.query.index != '0'"> <div class="el_sub" v-if="$route.query.index != '0'">
<el-button type="primary" class="button" @click="submit">提交</el-button> <el-button type="primary" class="button" @click="submit">提交</el-button>
</div> </div>
@ -853,9 +848,9 @@ const VideoPreviewStatus = ref(false); //视频预览状态
const warehouseData = ref([]); // const warehouseData = ref([]); //
const MessageContent = ref([]); const MessageContent = ref([]);
const CompensationParty = ref([ const CompensationParty = ref([
{ name: '', state: 0, num: null, reason: '', cld: 1, }, // { name: '', state: 0, num: null, reason: '', cld: 1 }, //
// explains: '' // explains: ''
{ name: '', state: 1, num: null, reason: '', cld: 1, }, // { name: '', state: 1, num: null, reason: '', cld: 1 }, //
// explains: '' // explains: ''
]); /// ]); ///
const ProcessingList = ref([]); // const ProcessingList = ref([]); //
@ -991,7 +986,6 @@ const onLoad = () => {
routerState.value = $route.query.RouterState; // routerState.value = $route.query.RouterState; //
console.log(routerState.value, '当前状态'); console.log(routerState.value, '当前状态');
$_getInfo({ id: $route.query.id }).then(res => { $_getInfo({ id: $route.query.id }).then(res => {
console.log(res, '回显返回值参数'); console.log(res, '回显返回值参数');
endFrom.value = res.data.data; endFrom.value = res.data.data;
endFrom.value.result = []; endFrom.value.result = [];
@ -1030,7 +1024,7 @@ const onLoad = () => {
if (item.typesOf == 2) { if (item.typesOf == 2) {
// //
endFrom.value.processor.push(item.businessId); endFrom.value.processor.push(item.businessId);
MessageResponsibility.value.push(item.businessId) MessageResponsibility.value.push(item.businessId);
} }
}); });
console.log(endFrom.value.processor, ' endFrom.value.processor'); console.log(endFrom.value.processor, ' endFrom.value.processor');
@ -1044,13 +1038,11 @@ const onLoad = () => {
// //
getDictionaryBiz('pc_discovery_node').then(res => { getDictionaryBiz('pc_discovery_node').then(res => {
console.log(res, '发现环节'); console.log(res, '发现环节');
TransportlossList.value = res.data.data; TransportlossList.value = res.data.data;
console.log(TransportlossList.value, '处理好的发现环节'); console.log(TransportlossList.value, '处理好的发现环节');
}); });
// //
let sum = 0; let sum = 0;
FangAddList.value.forEach(item => { FangAddList.value.forEach(item => {
@ -1133,8 +1125,6 @@ const onLoad = () => {
console.log(res, '处理结果'); console.log(res, '处理结果');
ProcessingResults.value = res.data.data; ProcessingResults.value = res.data.data;
}); });
} }
// //
@ -1240,9 +1230,7 @@ onLoad();
onMounted(() => { onMounted(() => {
msgHight.value = window.innerHeight * 0.76; msgHight.value = window.innerHeight * 0.76;
console.log(msgHight.value, '处理好的页面高度'); console.log(msgHight.value, '处理好的页面高度');
msgTop.value = window.innerHeight * 0.1; msgTop.value = window.innerHeight * 0.1;
// //
setTimeout(() => { setTimeout(() => {
const container = scrollContainer.value; const container = scrollContainer.value;
@ -1254,10 +1242,17 @@ onMounted(() => {
const changeProcessingResults = val => { const changeProcessingResults = val => {
// //
ProcessingList.value = ProcessingList.value.filter(item => val.includes(item.state - 1)); ProcessingList.value = ProcessingList.value.filter(item => val.includes(item.state - 1));
// //
val.forEach(num => { val.forEach(num => {
let newItem = { input: 0, min: 0, max: 9999999999999, state: num + 1, payment: '', text: '' }; let newItem = {
input: 0,
min: 0,
max: 9999999999999,
state: num + 1,
payment: '',
text: '',
compensationTime: '',
};
// numnewItemname // numnewItemname
switch (num) { switch (num) {
case '1': case '1':
@ -1369,7 +1364,7 @@ const AddCompensation = () => {
som++; som++;
} }
}); });
CompensationParty.value.push({ name: '', state: 0, num: 0, reason: '', cld: som, }); CompensationParty.value.push({ name: '', state: 0, num: 0, reason: '', cld: som });
// explains: '' // explains: ''
}; };
// //
@ -1380,7 +1375,7 @@ const AddPayee = () => {
som++; som++;
} }
}); });
CompensationParty.value.push({ name: '', state: 1, num: 0, reason: '', cld: som, }); CompensationParty.value.push({ name: '', state: 1, num: 0, reason: '', cld: som });
// explains: '' // explains: ''
}; };
// //
@ -1720,7 +1715,7 @@ const submit = () => {
? paymentMethodMatch.dictValue ? paymentMethodMatch.dictValue
: '未知支付方式', : '未知支付方式',
resultName: item.name, // resultName: item.name, //
compensationTime: item.compensationTime, //
}; };
} else { } else {
return null; return null;
@ -1891,7 +1886,7 @@ const ViewPackageDetails = val => {
position: relative; position: relative;
padding: 26px; padding: 26px;
box-sizing: border-box; box-sizing: border-box;
margin-top: 20px; margin-top: 46px;
color: #606266; color: #606266;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -1911,10 +1906,9 @@ const ViewPackageDetails = val => {
justify-content: space-between; justify-content: space-between;
.name { .name {
display: flex; display: flex;
margin-right: 5%;
margin-bottom: 20px; margin-bottom: 20px;
height: 30px; height: 30px;
width: 45%; width: 46%;
span { span {
display: block; display: block;
width: 30%; width: 30%;
@ -2005,7 +1999,7 @@ const ViewPackageDetails = val => {
height: 300px !important; height: 300px !important;
} }
.Improveinformation { .Improveinformation {
margin-top: 20px; margin-top: 32px;
width: 100%; width: 100%;
:deep(.custom-tabs-label) { :deep(.custom-tabs-label) {
display: flex; display: flex;
@ -2060,7 +2054,8 @@ const ViewPackageDetails = val => {
font-size: 14px; font-size: 14px;
padding: 10px; padding: 10px;
cursor: pointer; cursor: pointer;
width: 100px; width: 190px;
margin: 0 4px;
} }
.Paymentname:hover { .Paymentname:hover {
border: 1px solid #172e60; border: 1px solid #172e60;

10
src/views/distribution/inventory/distrilbutionBillLadingList.vue

@ -271,6 +271,16 @@ export default {
sortable: true, sortable: true,
head: false, head: false,
}, },
{
prop: 'orderCode',
label: '订单自编号',
type: 2,
values: '',
width: '130',
checkarr: [],
fixed: false,
sortable: true,
},
{ {
prop: 'serviceNumber', prop: 'serviceNumber',
label: '服务号', label: '服务号',

Loading…
Cancel
Save