qb 1 year ago
parent
commit
9787a499cc
  1. 2
      src/api/aftersales/aftersalesWorkOrder.js
  2. 49
      src/option/aftersales/vueTvemp.js
  3. 18
      src/router/views/index.js
  4. 1265
      src/views/aftersales/aftersalesWorkOrder.vue
  5. 4
      src/views/aftersales/aftersalesWorkOrderAdd.vue
  6. 3056
      src/views/aftersales/aftersalesWorkOrderInfo.vue
  7. 2802
      src/views/aftersales/aftersalesWorkOrderInfoEnxt.vue
  8. 2861
      src/views/aftersales/aftersalesWorkOrderInfoTemp.vue
  9. 453
      src/views/aftersales/aftersalesWorkOrderend.vue
  10. 1164
      src/views/aftersales/aftersalesWorkOrdermodify.vue
  11. 1
      src/views/authority/role.vue
  12. 10
      src/views/basicdata/driverArtery/basicdataDriverArtery.vue
  13. 47
      src/views/distribution/deliverylist/distributionDeliveryListedt.vue
  14. 4
      vite.config.js

2
src/api/aftersales/aftersalesWorkOrder.js

@ -382,7 +382,7 @@ export const $_updateWorkOrderStatus = (data) => {
data
})
}
// 完结结果确定
// 处理结果完结结果确定
export const $_updateManagerConfirmed = (data) => {
return request({
url: '/api/logpm-aftersales/aftersalesWorkOrder/updateManagerConfirmed',

49
src/option/aftersales/vueTvemp.js

@ -125,20 +125,8 @@ export const columnList = [
head: false,
},
{
prop: 'trainNumber',
label: '车次号',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false,
},
{
prop: 'vehicleRoute',
label: '车辆线路',
prop: 'customerServiceName',
label: '归属客服名称',
type: 2,
values: '',
width: '150',
@ -147,6 +135,7 @@ export const columnList = [
sortable: true,
head: false,
},
{
prop: 'deliverGoodsTime',
label: '送货时间',
@ -204,10 +193,21 @@ export const columnList = [
sortable: true,
head: false,
},
{
prop: 'trainNumber',
label: '车次号',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false,
},
{
prop: 'customerServiceName',
label: '归属客服名称',
prop: 'vehicleRoute',
label: '车辆线路',
type: 2,
values: '',
width: '150',
@ -216,6 +216,9 @@ export const columnList = [
sortable: true,
head: false,
},
{
prop: 'overTime',
label: '完结时间',
@ -811,18 +814,6 @@ export const timeoutList = [
},
{
prop: 'workOrderId',
label: '异常工单ID',
type: 2,
values: '',
width: '130',
checkarr: [],
fixed: false,
sortable: true,
head: false,
},
{
prop: 'money',
label: '金额',
@ -905,7 +896,7 @@ export const timeoutList = [
label: '操作',
type: 6,
values: '',
width: '220',
width: '120',
checkarr: [],
fixed: 'right',
sortable: false,

18
src/router/views/index.js

@ -1302,6 +1302,24 @@ export default [
],
},
{
path: '/aftersales/aftersalesWorkOrderInfoEnxt',
component: Layout,
redirect: '/aftersales/aftersalesWorkOrderInfoEnxt',
children: [
{
meta: {
i18n: 'dict',
keepAlive: false,
},
path: '/aftersales/aftersalesWorkOrderInfoEnxt',
name: '编辑重构',
component: () => import('@/views/aftersales/aftersalesWorkOrderInfoEnxt.vue'),
},
],
},
{
path: '/aftersales/aftersalesWorkOrderend',
component: Layout,

1265
src/views/aftersales/aftersalesWorkOrder.vue

File diff suppressed because it is too large Load Diff

4
src/views/aftersales/aftersalesWorkOrderAdd.vue

@ -2070,4 +2070,8 @@ const isShowFormItem2 = computed(() => {
:deep(.el_inputTop) {
margin-bottom: 0 !important;
}
:deep(.el-form-item.is-required:not(.is-no-asterisk).asterisk-left > .el-form-item__label:before){
color: #ff0000;
}
</style>

3056
src/views/aftersales/aftersalesWorkOrderInfo.vue

File diff suppressed because it is too large Load Diff

2802
src/views/aftersales/aftersalesWorkOrderInfoEnxt.vue

File diff suppressed because it is too large Load Diff

2861
src/views/aftersales/aftersalesWorkOrderInfoTemp.vue

File diff suppressed because it is too large Load Diff

453
src/views/aftersales/aftersalesWorkOrderend.vue

@ -1,13 +1,15 @@
<template>
<el-card class="box-card">
<template #header>
<el-card class="box-card"
v-loading="Pageloading"
element-loading-text="Loading...">
<!-- <template #header>
<div class="card-header">
<span>{{
$route.query.index == '0' ? '回复' : $route.query.index == '1' ? '新增记录' : '完结'
}}</span>
<!-- <el-button class="button" v-if="$route.query.index=='1' || $route.query.index=='2'" @click="submit">提交</el-button> -->
</div>
</template>
</template> -->
<div class="contemtMax">
<div class="left">
@ -449,7 +451,7 @@
}}</b></span
>
<span>
<el-icon><Coin /></el-icon>:<b>{{ TotalamountReceived }}</b></span
<el-icon><Coin /></el-icon>:<b>{{ TotalamountReceived }}</b></span
>
</div>
</el-tab-pane>
@ -580,14 +582,14 @@
> -->
<el-button
v-if="$route.query.index == '0'"
v-if="$route.query.workOrderStatus == '10' && UserPermissions.value != '仓库客服' "
type="primary"
class="button"
@click="CustomerServiceCompleted"
>客服仲裁完结</el-button
>
<el-button
v-if="$route.query.index == '0' && $route.query.workOrderStatus!='21'"
v-if="$route.query.index == '0' && $route.query.workOrderStatus != '21'"
type="primary"
class="button"
@click="ElProcessingResults"
@ -631,10 +633,33 @@
>
<!-- {time: '2021-08-06 16:00:00',content:'内容4',name:'营业部名称'}, -->
<el-card>
<div class="e_ico">
<el-icon><User /></el-icon>:
<h4>{{ item.username }}{{ item.name }}</h4>
<div class="header-top">
<div class="e_ico">
<el-icon><User /></el-icon>:
<h4>{{ item.username }}{{ item.name }}</h4>
</div>
<el-tag
:class="{
identifyingC1: item.difference == '1',
identifyingC2: item.difference == '2',
identifyingC3: item.difference == '3',
'mx-1': true,
}"
effect="dark"
>{{
item.difference == '1'
? ' 调查记录'
: item.difference == '2'
? '指定记录'
: item.difference == '3'
? '操作记录'
: ''
}}
</el-tag>
</div>
<div class="e_ico">
<el-icon><ChatRound /></el-icon>:<span> {{ item.content }}</span>
</div>
@ -663,31 +688,11 @@
</span>
</a>
</div>
<div class="e_ico">
<el-icon><Timer /></el-icon>:
<p>{{ item.time }}</p>
</div>
<div class="identifying">
<el-tag
:class="{
identifyingC1: item.difference == '1',
identifyingC2: item.difference == '2',
identifyingC3: item.difference == '3',
'mx-1': true,
}"
effect="dark"
>{{
item.difference == '1'
? ' 调查记录'
: item.difference == '2'
? '指定记录'
: item.difference == '3'
? '操作记录'
: ''
}}
</el-tag>
<div class="e_ico">
<el-icon><Timer /></el-icon>:
<p>{{ item.time }}</p>
</div>
<div
class="tag"
v-if="
@ -901,6 +906,7 @@ const amplifyurl = ref(''); //当前点击的图片
const amplifysrcList = ref([]); //
const Replycopy = ref([]); //
const Mydata = ref(); //
const Pageloading=ref(false);//load
const PackageInfo = ref([
//
{ packageCode: '', orderCode: '', waybillNumber: '' },
@ -1081,196 +1087,199 @@ const onLoad = () => {
}
console.log(UserPermissions.value, '当前角色权限');
Chathistory(); //
});
//
if ($route.query.id) {
console.log($route.query);
routerState.value = $route.query.RouterState; //
console.log(routerState.value, '当前状态');
$_getInfo({ id: $route.query.id }).then(res => {
console.log(res, '回显返回值参数');
endFrom.value = res.data.data;
endFrom.value.result = [];
endFrom.value.processor = [];
endFrom.value.packageImage = [];
//
if(res.data.data.discoveryNode=='1'){
groundlineType.value = '1'
}else{
groundlineType.value = 'null'
}
res.data.data.decreaseImageVOList.forEach(res => {
amplifysrcList.value.push(res.imagePath);
endFrom.value['packageImage'].push({
name: res.imageName,
url: res.imagePath,
//
if ($route.query.id) {
console.log($route.query);
routerState.value = $route.query.RouterState; //
console.log(routerState.value, '当前状态');
$_getInfo({ id: $route.query.id }).then(res => {
console.log(res, '回显返回值参数');
endFrom.value = res.data.data;
endFrom.value.result = [];
endFrom.value.processor = [];
endFrom.value.packageImage = [];
//
if (res.data.data.discoveryNode == '1') {
groundlineType.value = '1';
} else {
groundlineType.value = 'null';
}
res.data.data.decreaseImageVOList.forEach(res => {
amplifysrcList.value.push(res.imagePath);
endFrom.value['packageImage'].push({
name: res.imageName,
url: res.imagePath,
});
});
});
//
PackageInfo.value = res.data.data.abnormalPackageVOList;
//
//
FangAddList.value = res.data.data.processorVOList
.filter(item => item && item.typesOf && item.typesOf === '1')
.map(item => {
return { businessName: item.businessId };
//
PackageInfo.value = res.data.data.abnormalPackageVOList;
//
//
FangAddList.value = res.data.data.processorVOList
.filter(item => item && item.typesOf && item.typesOf === '1')
.map(item => {
return { businessName: item.businessId };
});
let factorydata = res.data.data.personResponsibleVOS.find(item => item.typesOf);
if (factorydata.typesOf) {
groundlineType.value = true; //
}
FangAddList.value = res.data.data.personResponsibleVOS.map(res => {
console.log(groundlineType.value, '当前责任方状态');
return {
businessName: res.businessName, //ID
personResponsibleName: res.personResponsibleName, //
responsibilityRatio: res.responsibilityRatio, //
description: res.description, //
};
});
let factorydata = res.data.data.personResponsibleVOS.find(item => item.typesOf);
if (factorydata.typesOf) {
groundlineType.value = true; //
}
FangAddList.value = res.data.data.personResponsibleVOS.map(res => {
console.log(groundlineType.value, '当前责任方状态');
return {
businessName: res.businessName, //ID
personResponsibleName: res.personResponsibleName, //
responsibilityRatio: res.responsibilityRatio, //
description: res.description, //
};
});
//
res.data.data.processorVOList.forEach(item => {
if (item) {
if (item.typesOf == 2) {
//
endFrom.value.processor.push(item.businessId);
MessageResponsibility.value.push(item.businessId);
Replycopy.value.push(item.businessId); //
//
res.data.data.processorVOList.forEach(item => {
if (item) {
if (item.typesOf == 2) {
//
endFrom.value.processor.push(item.businessId);
MessageResponsibility.value.push(item.businessId);
Replycopy.value.push(item.businessId); //
}
}
});
console.log(JSON.parse(localStorage.getItem('my_data')).id);
if (UserPermissions.value == '仓库客服') {
MessageResponsibility.value.push(JSON.parse(localStorage.getItem('my_data')).id);
MessageResponsibility.value = [...new Set(MessageResponsibility.value)]; //
MessageResponsibility.value = MessageResponsibility.value.filter(
item => item !== JSON.parse(localStorage.getItem('my_data')).id
); //
}
});
console.log(JSON.parse(localStorage.getItem('my_data')).id);
MessageResponsibility.value.push(JSON.parse(localStorage.getItem('my_data')).id);
MessageResponsibility.value = [...new Set(MessageResponsibility.value)]; //
MessageResponsibility.value = MessageResponsibility.value.filter(
item => item !== JSON.parse(localStorage.getItem('my_data')).id
); //
console.log(endFrom.value.processor, ' endFrom.value.processor');
getDictionaryBiz('pc_work_order').then(res => {
//
console.log(res, '环节字典');
endFrom.value.workOrderType = res.data.data.find(
res => res.dictKey == endFrom.value.workOrderType
).dictValue; //
});
//
getDictionaryBiz('pc_discovery_node').then(res => {
console.log(res, '发现环节');
TransportlossList.value = res.data.data;
console.log(TransportlossList.value, '处理好的发现环节');
});
console.log(endFrom.value.processor, ' endFrom.value.processor');
getDictionaryBiz('pc_work_order').then(res => {
//
console.log(res, '环节字典');
endFrom.value.workOrderType = res.data.data.find(
res => res.dictKey == endFrom.value.workOrderType
).dictValue; //
});
//
let sum = 0;
FangAddList.value.forEach(item => {
if (item.responsibilityRatio) {
item.responsibilityRatio = item.responsibilityRatio.replace(/%/g, '');
sum = Number(item.responsibilityRatio) + sum;
}
});
FangAddList.value.forEach(item => {
item.responsibilityRatio = item.responsibilityRatio + '%';
});
companyProportion.value = 100 - sum;
if (res.data.data.processingResultsVO.processingMoneyEntityList) {
ProcessingList.value = res.data.data.processingResultsVO.processingMoneyEntityList.map(
item => {
endFrom.value.result.push(item.resultType);
return {
input: item.money,
min: 0,
max: 9999999999999999999999999999,
state: item.resultType,
payment: item.compensationMethod,
name: item.resultTypeName,
text: item.compensationMethodName,
compensationTime: item.compensationTime,
paymentUnit: item.paymentUnit,
};
//
getDictionaryBiz('pc_discovery_node').then(res => {
console.log(res, '发现环节');
TransportlossList.value = res.data.data;
console.log(TransportlossList.value, '处理好的发现环节');
});
//
let sum = 0;
FangAddList.value.forEach(item => {
if (item.responsibilityRatio) {
item.responsibilityRatio = item.responsibilityRatio.replace(/%/g, '');
sum = Number(item.responsibilityRatio) + sum;
}
);
}
});
FangAddList.value.forEach(item => {
item.responsibilityRatio = item.responsibilityRatio + '%';
});
companyProportion.value = 100 - sum;
if (res.data.data.processingResultsVO.processingMoneyEntityList) {
ProcessingList.value = res.data.data.processingResultsVO.processingMoneyEntityList.map(
item => {
endFrom.value.result.push(item.resultType);
return {
input: item.money,
min: 0,
max: 9999999999999999999999999999,
state: item.resultType,
payment: item.compensationMethod,
name: item.resultTypeName,
text: item.compensationMethodName,
compensationTime: item.compensationTime,
paymentUnit: item.paymentUnit,
};
}
);
}
//
TotalClaimAmount.value = res.data.data.processingResultsVO.money;
//
// endFrom.value.compensationTime = res.data.data.processingResultsVO.compensationTime;
//
endFrom.value.resultDescription = res.data.data.processingResultsVO.resultDescription;
//
//
if (res.data.data.completionRecipientEntityList.length > 0) {
CompensationParty.value = [];
res.data.data.completionRecipientEntityList.forEach((item, index) => {
TotalamountReceived.value += Number(item.money);
CompensationParty.value.push({
state: 1, //
num: item.money, //
name: item.recipient, //
reason: item.reasonReceivingPayment, //
// explains: item.explains, //
cld: index + 1,
id: item.id,
//
TotalClaimAmount.value = res.data.data.processingResultsVO.money;
//
// endFrom.value.compensationTime = res.data.data.processingResultsVO.compensationTime;
//
endFrom.value.resultDescription = res.data.data.processingResultsVO.resultDescription;
//
//
if (res.data.data.completionRecipientEntityList.length > 0) {
CompensationParty.value = [];
res.data.data.completionRecipientEntityList.forEach((item, index) => {
TotalamountReceived.value += Number(item.money);
CompensationParty.value.push({
state: 1, //
num: item.money, //
name: item.recipient, //
reason: item.reasonReceivingPayment, //
// explains: item.explains, //
cld: index + 1,
id: item.id,
});
});
});
}
//
if (res.data.data.completionRecordEntities.length) {
res.data.data.completionRecordEntities.forEach((item, index) => {
TotalamountCompensation.value += Number(item.money);
CompensationParty.value.push({
state: 0, //
num: item.money, //
name: item.indemnitor, //
reason: item.reason, //
// explains: item.explains, //
cld: index + 1,
id: item.id,
accounting: item.accounting ? item.accounting : '',
warehouseId:item.warehouseId,//
compensationPersonnel:item.compensationPersonnel,//
}
//
if (res.data.data.completionRecordEntities.length) {
res.data.data.completionRecordEntities.forEach((item, index) => {
TotalamountCompensation.value += Number(item.money);
CompensationParty.value.push({
state: 0, //
num: item.money, //
name: item.indemnitor, //
reason: item.reason, //
// explains: item.explains, //
cld: index + 1,
id: item.id,
accounting: item.accounting ? item.accounting : '',
warehouseId: item.warehouseId, //
compensationPersonnel: item.compensationPersonnel, //
});
});
});
}
endFrom.value.arbitrate = res.data.data.reasonArbitration; //
});
}
endFrom.value.arbitrate = res.data.data.reasonArbitration; //
});
getDictionaryBiz('result_handling').then(res => {
console.log(res, '处理结果');
ProcessingResults.value = res.data.data;
});
}
getDictionaryBiz('result_handling').then(res => {
console.log(res, '处理结果');
ProcessingResults.value = res.data.data;
});
}
//
getDictionaryBiz('work_order_status').then(res => {
//
endFrom.value.workOrderStatus = res.data.data.filter(
obj => obj.dictKey == endFrom.value.workOrderStatus
).dictValue; //
});
//
getDictionaryBiz('work_order_status').then(res => {
//
endFrom.value.workOrderStatus = res.data.data.filter(
obj => obj.dictKey == endFrom.value.workOrderStatus
).dictValue; //
});
//
getDictionaryBiz('payment_method').then(res => {
//
console.log(res);
Paymentmethod.value = res.data.data;
});
//
getDictionaryBiz('payment_method').then(res => {
//
console.log(res);
Paymentmethod.value = res.data.data;
});
getDeptWarehouse({}).then(res => {
//
console.log(res, '处理方');
localStorage.getItem('WarehouseName');
console.log(localStorage.getItem('WarehouseName'), '当前本地仓库');
res.data.data.forEach(item => {
warehouseData.value.push({
value: item.id,
label: item.name,
disabled: item.name == localStorage.getItem('WarehouseName'),
getDeptWarehouse({}).then(res => {
//
console.log(res, '处理方');
localStorage.getItem('WarehouseName');
console.log(localStorage.getItem('WarehouseName'), '当前本地仓库');
res.data.data.forEach(item => {
warehouseData.value.push({
value: item.id,
label: item.name,
disabled: item.name == localStorage.getItem('WarehouseName'),
});
});
});
});
@ -1870,7 +1879,7 @@ const submit = () => {
console.log(data, '处理好的值');
//
Pageloading.value = true;//
$_addCompletionEnd(data)
.then(res => {
console.log(res, '完结成功返回值');
@ -1885,6 +1894,7 @@ const submit = () => {
}
})
.catch(res => {
Pageloading.value = false;//
console.log(res, '提交失败');
});
} else {
@ -1895,9 +1905,8 @@ const submit = () => {
let data = {
aftersalesProcessingResultsDTO: {
// ...info,
},
processingMoneyEntityList: [], //
// processingMoneyEntityList: [], //
};
data.id = $route.query.id;
data.aftersalesProcessingResultsDTO['workOrderId'] = $route.query.id; //ID
@ -1908,7 +1917,7 @@ const submit = () => {
}
data.aftersalesProcessingResultsDTO.money = sum; //
// data.resultDescription=endFrom.value.resultDescription;//
data.aftersalesProcessingResultsDTO.resultDescription=endFrom.value.resultDescription;//
data.aftersalesProcessingResultsDTO.resultDescription = endFrom.value.resultDescription; //
// data['compensationMethod'] = Paymentmethod.value.filter(
// item => item.dictKey == endFrom.value.compensationMethod
// )[0].dictValue; //
@ -1919,7 +1928,7 @@ const submit = () => {
data.aftersalesProcessingResultsDTO['compensationMethod'] = ProcessingList.value
.map(item => item.text)
.join(',');
data.aftersalesProcessingResultsDTO.processingMoneyEntityList = ProcessingList.value
data.aftersalesProcessingResultsDTO.processingMoneyEntityList = ProcessingList.value
.map(item => {
console.log(item);
let match = ProcessingResults.value.find(element => element.dictValue == item.name);
@ -1970,7 +1979,7 @@ const submit = () => {
data.aftersalesProcessingResultsDTO.warehouseId = info.warehouseId; //ID
console.log(data, '处理好的数据');
Pageloading.value = true;//
$_addProcessingResults(data)
.then(res => {
console.log(res, '提交后的参数');
@ -1984,7 +1993,9 @@ const submit = () => {
AddressClosed('/aftersales/aftersalesWorkOrderend'); //
}
})
.catch(res => {});
.catch(res => {
Pageloading.value = false;//
});
}
};
//
@ -2578,6 +2589,14 @@ const CustomerServiceCompleted = () => {
cursor: pointer;
}
}
.header-top {
display: flex;
align-items: center;
justify-content: space-between;
:deep(.el-tag){
width: 70px;
}
}
}
.inputMax {
position: absolute;
@ -2739,6 +2758,10 @@ const CustomerServiceCompleted = () => {
.identifying {
display: flex;
justify-content: space-between;
align-items: center;
.el-tag{
width: 70px;
}
}
.identifyingC1 {
background-color: #409eff;

1164
src/views/aftersales/aftersalesWorkOrdermodify.vue

File diff suppressed because it is too large Load Diff

1
src/views/authority/role.vue

@ -107,6 +107,7 @@ import {
} from '@/api/system/role';
import { mapGetters } from 'vuex';
import website from '@/config/website';
import { set } from 'nprogress';
export default {
data() {

10
src/views/basicdata/driverArtery/basicdataDriverArtery.vue

@ -46,7 +46,7 @@
<!-- </el-button>-->
<el-dialog title="物料导入" append-to-body v-model="excelBox" width="555px">
<el-dialog title="司机导入" append-to-body v-model="excelBox" width="555px">
<avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter">
<template #excelTemplate>
<el-button type="primary" @click="handleTemplate">
@ -102,7 +102,7 @@ export default {
res: 'data',
},
tip: '请上传 .xls,.xlsx 标准格式文件',
action: '/api/logpm-basicdata/driverArtery/mport-stockArticle',
action: '/api/logpm-basicdata/driverArtery/import-stockArticle',
},
{
label: '模板下载',
@ -790,7 +790,7 @@ export default {
});
},
handleExport() {
let downloadUrl = `/api/logpm-b1asicdata/driverArtery/export-basicdataDriverArteryMb?${
let downloadUrl = `/api/logpm-basicdata/driverArtery/export-basicdataDriverArtery?${
this.website.tokenHeader
}=${getToken()}`;
const {} = this.query;
@ -811,9 +811,9 @@ export default {
handleTemplate() {
console.log('下载模板!!!');
exportBlob(
`/api/logpm/basicdata/driverArtery/export-basicdataDriverArteryMb?${this.website.tokenHeader}=${getToken()}`
`/api/logpm-basicdata/driverArtery/export-basicdataDriverArteryMb?${this.website.tokenHeader}=${getToken()}`
).then(res => {
downloadXls(res.data, '物料数据模板.xlsx');
downloadXls(res.data, '司机信息导入模板.xlsx');
});
},
beforeOpen(done, type) {

47
src/views/distribution/deliverylist/distributionDeliveryListedt.vue

@ -252,9 +252,9 @@
</template>
</tablecmt>
<!-- <div class="avue-crud__pagination" style="width: 100%"> -->
<div class="avue-crud__pagination" style="width: 100%">
<!-- 分页模块 -->
<!-- <el-pagination
<el-pagination
align="right"
background
@size-change="psizeChange"
@ -265,7 +265,8 @@
layout="total, sizes, prev, pager, next, jumper"
:total="packpage.total"
>
</el-pagination> -->
</el-pagination>
</div>
</el-tab-pane>
<el-tab-pane label="库 存 品 列 表" name="tab4">
@ -3620,9 +3621,6 @@ export default {
this.SignForPhotos = [];
this.signBox = true;
this.reservationId = row.id;
},
beforeOpen(done, type) {
if (['edit', 'view'].includes(type)) {
@ -3798,7 +3796,7 @@ export default {
handlePrint(row) {
console.log('this.deliverydata.type :>> ', this.deliverydata.type);
const submitData = {
ids: row.id,
ids: row.deliveryId,
type: this.deliverydata.type,
};
printBatch(submitData);
@ -4088,6 +4086,27 @@ export default {
},
//
submitForm() {
if(!this.DoorstepPhoto.length){
ElMessage({
message: '至少上传一张上门照片',
type: 'warning',
})
return
}
if(!this.StackingPhoto.length){
ElMessage({
message: '至少上传一张堆码照片',
type: 'warning',
})
return
}
if(!this.SignForPhotos.length){
ElMessage({
message: '至少上传一张签收照片',
type: 'warning',
})
return
}
console.log(this.reservationId);
console.log(this.CheckStore, '要处理的值');
this.checkloading = true; //
@ -4305,7 +4324,7 @@ export default {
}
);
},
//
//
handlePackage(page) {
let params = {};
this.loading = true;
@ -4313,15 +4332,19 @@ export default {
params.deliveryId = this.deliverydata.id;
getpackdetail(page.currentPage, page.pageSize, Object.assign(params, this.packageQuery)).then(
res => {
console.log(res);
this.loading = false;
console.log('查看>>>>>包间>>', res.data.data);
if (res.data.data) {
const data = res.data.data;
console.log('查看>>>>>包间>>', res.data.data.records);
if (res.data.data.records) {
const data = res.data.data.records;
this.packpage.total= res.data.data.total
this.packdata = data;
// this.packpage.total = data.length;
}
}
);
).catch(res=>{
this.loading = false;
});
},
//
handleInventory(page) {

4
vite.config.js

@ -25,12 +25,14 @@ export default ({ mode, command }) => {
// target: 'http://192.168.6.122:8777',
// target: 'http://192.168.10.25:13000',
// target: 'http://192.168.10.25:2888',
target: 'http://192.168.6.163:9777',//CYZ
target: 'http://192.168.6.169:9777',//CYZ
// target: 'http://192.168.10.57:13000',
// target: 'http://192.168.10.200:13000',
// target: 'http://192.168.10.29:13000',
// target: 'http://192.168.10.210:13000',//?
// target: 'http://h5uapi.huitongys.com',
// target: 'http://test.api.huo5you.com',
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
},

Loading…
Cancel
Save