qb 1 year ago
parent
commit
1050d8ceb4
  1. 2
      src/views/aftersales/aftersalesWorkOrderAdd.vue
  2. 22
      src/views/aftersales/aftersalesWorkOrderInfo.vue
  3. 84
      src/views/aftersales/aftersalesWorkOrderend.vue
  4. 18
      src/views/distribution/turndelivery/deliveryDiscuss.vue

2
src/views/aftersales/aftersalesWorkOrderAdd.vue

@ -927,7 +927,7 @@ const ConfirmForm = () => {
// waybillNumber: PackageInfo.value.map(item => item.waybillNumber).join(','), // // waybillNumber: PackageInfo.value.map(item => item.waybillNumber).join(','), //
// orderCode: PackageInfo.value.map(item => item.orderCode).join(','), // // orderCode: PackageInfo.value.map(item => item.orderCode).join(','), //
// }); // });
DataSubmit.orderCode = PackageInfo.value.map(item => item.orderCode).join(','); // DataSubmit.orderCode = [...new Set(PackageInfo.value.map(item => item.orderCode))].join(',');
// //
Indexform.value.number = PackageInfo.value.length; Indexform.value.number = PackageInfo.value.length;
console.log(DataSubmit['packageEntityList'], '包件信息'); console.log(DataSubmit['packageEntityList'], '包件信息');

22
src/views/aftersales/aftersalesWorkOrderInfo.vue

@ -549,11 +549,14 @@ const HistoricalPackageList = ref([]); //历史包件数组
const HistorIndex = ref(0); // const HistorIndex = ref(0); //
const TotalClaimAmount = ref(0); // const TotalClaimAmount = ref(0); //
const dialogReturn = ref(false); // const dialogReturn = ref(false); //
const ProcessingRecords =ref([]);//
const repulse = ref(false); // const repulse = ref(false); //
const amplifyurl = ref(''); // const amplifyurl = ref(''); //
const amplifysrcList = ref([]); // const amplifysrcList = ref([]); //
const RouteIndexs = ref(''); // const RouteIndexs = ref(''); //
const UserPermissions = ref('');// const UserPermissions = ref('');//
const warehouseInfo=ref('');//
const warehouseState=ref(false);//
const PackageInfo = ref([ const PackageInfo = ref([
// //
{ packageCode: '', orderCode: '', waybillNumber: '', brandName: '' }, { packageCode: '', orderCode: '', waybillNumber: '', brandName: '' },
@ -621,7 +624,7 @@ function updateDictionary(targetArray, dictionaryType) {
console.log(UserPermissions.value, '当前角色权限'); console.log(UserPermissions.value, '当前角色权限');
}); });
warehouseInfo.value = localStorage.getItem('WarehouseName');
// TOKEN // TOKEN
@ -680,10 +683,10 @@ const ButtonPermissions = computed(() => {
return { return {
reply: UserPermissions.value == '仓库客服', // reply: UserPermissions.value == '仓库客服', //
ProcessingResults: UserPermissions.value == '仓库客服', // ProcessingResults: UserPermissions.value == '仓库客服', //
end: UserPermissions.value == '职能客服', // end: UserPermissions.value != '仓库客服', //
repulse: UserPermissions.value == '职能客服', // repulse: UserPermissions.value != '仓库客服', //
ArbitrationCompleted: UserPermissions.value == '职能客服', // ArbitrationCompleted: UserPermissions.value == '职能客服', //
edit: false, // edit:UserPermissions.value == '仓库客服', //
}; };
case RouteIndexs.value == 4: // case RouteIndexs.value == 4: //
return { return {
@ -696,7 +699,7 @@ const ButtonPermissions = computed(() => {
}; };
case RouteIndexs.value == 5: // case RouteIndexs.value == 5: //
return { return {
reply: false, // reply: UserPermissions.value == '职能客服', //
ProcessingResults: false, // ProcessingResults: false, //
end: false, // end: false, //
repulse: false, // repulse: false, //
@ -832,6 +835,7 @@ const onLoad = () => {
$_getInfo({ id: $route.query.id }).then(res => { $_getInfo({ id: $route.query.id }).then(res => {
console.log(res, '回显返回值参数'); console.log(res, '回显返回值参数');
Indexform.value = res.data.data; Indexform.value = res.data.data;
Indexform.value['result'] = []; Indexform.value['result'] = [];
Indexform.value['processor'] = []; Indexform.value['processor'] = [];
// //
@ -869,10 +873,12 @@ const onLoad = () => {
res.data.data.processorVOList.forEach(item => { res.data.data.processorVOList.forEach(item => {
if (item.typesOf == 2) { if (item.typesOf == 2) {
// //
ProcessingRecords.value.push(item.businessId)
Indexform.value.processor.push(item.businessId); Indexform.value.processor.push(item.businessId);
} }
}); });
// let a=['','']
// let b=['']
companyProportion.value = 100 - sum; companyProportion.value = 100 - sum;
// updateDictionary(columnList[2].checkarr, 'pc_work_order'); // // updateDictionary(columnList[2].checkarr, 'pc_work_order'); //
@ -905,6 +911,7 @@ const onLoad = () => {
// //
Indexform.value.resultDescription = res.data.data.processingResultsVO.resultDescription; Indexform.value.resultDescription = res.data.data.processingResultsVO.resultDescription;
}); });
}; };
onLoad(); // onLoad(); //
// //
@ -1481,9 +1488,10 @@ const EndJump = () => {
} }
} }
.foot_btn { .foot_btn {
width: 100%;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
left: 42%; left: 50%;
height: 40px; height: 40px;
display: flex; display: flex;
align-items: center; align-items: center;

84
src/views/aftersales/aftersalesWorkOrderend.vue

@ -74,7 +74,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="发货时间" class="el_lab"> <el-form-item label="发货时间" class="el_lab" >
<el-date-picker <el-date-picker
v-model="endFrom.warehousingTime" v-model="endFrom.warehousingTime"
type="datetime" type="datetime"
@ -88,7 +88,7 @@
<el-input v-model="endFrom.processNumber" disabled placeholder="请输入钉钉流程号" /> <el-input v-model="endFrom.processNumber" disabled placeholder="请输入钉钉流程号" />
</el-form-item> --> </el-form-item> -->
<el-form-item label="处理方" class="el_lab"> <el-form-item label="处理方" class="el_lab" style="flex: 0 0 32.5%">
<el-select <el-select
v-model="endFrom.processor" v-model="endFrom.processor"
multiple multiple
@ -107,60 +107,16 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="" class="el_lab"> </el-form-item>
<div class="el_dcl">
<!-- <div class="selector">
<div class="el-form-item">
<span class="el-form-item__label">处理方</span>
<el-select
v-model="endFrom.processor"
multiple
filterable
default-first-option
:reserve-keyword="false"
placeholder="请选择处理方"
@change="css"
>
<el-option
v-for="item in warehouseData"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</div>
</div> -->
<!-- <div class="el_Transport"> <el-form-item label="异常问题描述">
<el-form-item label="运损发现节点"> <el-input
<el-radio-group v-model="endFrom.transportloss" @change="TransportChange"> v-model="endFrom.problemDescription"
<el-radio v-for="item in TransportlossList" :label="item.label">{{ type="textarea"
item.txt placeholder="请输入异常问题描述"
}}</el-radio> disabled
</el-radio-group> />
</el-form-item> <!-- :disabled="$route.query.index == '0'" -->
</div> --> </el-form-item>
</div>
<!-- <div class="selector">
<div class="el-form-item selector">
<span class="el-form-item__label">责任方</span>
<el-select
v-model="endFrom.duty"
multiple
filterable
default-first-option
:reserve-keyword="false"
placeholder="请选择责任方"
>
<el-option
v-for="item in warehouseData"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</div>
</div> -->
<el-tabs type="border-card" class="PackageInformation"> <el-tabs type="border-card" class="PackageInformation">
<el-tab-pane label="包件信息"> <el-tab-pane label="包件信息">
@ -483,19 +439,6 @@
/> />
</el-form-item> </el-form-item>
<!-- 备注信息 -->
<div class="notes">
<el-form-item label="异常问题描述">
<el-input
v-model="endFrom.problemDescription"
type="textarea"
:autosize="{ minRows: 3, maxRows: 4 }"
placeholder="请输入异常问题描述"
:disabled="$route.query.index == '0'"
/>
</el-form-item>
</div>
<!-- 图片 --> <!-- 图片 -->
<div class="Transport_damage_photos"> <div class="Transport_damage_photos">
<span class="title">图片</span> <span class="title">图片</span>
@ -855,6 +798,7 @@ const accountingID = ref(); //财务处理当id前值
const dialogImgList = ref(false); // const dialogImgList = ref(false); //
const amplifyurl = ref(''); // const amplifyurl = ref(''); //
const amplifysrcList = ref([]); // const amplifysrcList = ref([]); //
const PackageInfo = ref([ const PackageInfo = ref([
// //
{ packageCode: '', orderCode: '', waybillNumber: '' }, { packageCode: '', orderCode: '', waybillNumber: '' },
@ -1636,7 +1580,7 @@ const submit = () => {
console.log(info, 'info'); console.log(info, 'info');
let data = [ let data = [
{ {
id:$route.query.id, id: $route.query.id,
completionRecipientEntities: [], // completionRecipientEntities: [], //
completionRecordEntities: [], // completionRecordEntities: [], //
reasonArbitration: endFrom.value.arbitrate, // reasonArbitration: endFrom.value.arbitrate, //
@ -1680,7 +1624,7 @@ const submit = () => {
}); });
// //
console.log(data, '处理好的值'); console.log(data, '处理好的值');
$_addCompletionEnd(data).then(res => { $_addCompletionEnd(data).then(res => {
console.log(res, '完结成功返回值'); console.log(res, '完结成功返回值');

18
src/views/distribution/turndelivery/deliveryDiscuss.vue

@ -381,9 +381,18 @@
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
</template> </template>
</el-table> </el-table>
<div class="el-Cart-button-btn"> <div class="el-Cart-button-btn">
<!-- <div>
已选择:3
<span>合计:</span>
<div>
<span>订单总件数:22</span>
<span>在库件数:33</span>
</div>
</div> -->
<el-button type="primary" @click="SubmitCommercial" <el-button type="primary" @click="SubmitCommercial"
><el-icon><Select /></el-icon>()</el-button ><el-icon><Select /></el-icon>()</el-button
> >
@ -843,6 +852,7 @@ const isZeroTable = ref([]); //零担表格
const comprehensive = ref(false); //, const comprehensive = ref(false); //,
const QuantityEntryStatus = ref(false); // const QuantityEntryStatus = ref(false); //
const TCzj = ref(); // const TCzj = ref(); //
const statisticsList=ref([]);//
const inputValue = ref('number'); // const inputValue = ref('number'); //
// //
// //
@ -1290,6 +1300,7 @@ const menuData = ref([
fixed: false, fixed: false,
sortable: true, sortable: true,
head: true, head: true,
statistics:true,//
}, },
{ {
prop: 'handQuantity', prop: 'handQuantity',
@ -1301,6 +1312,7 @@ const menuData = ref([
fixed: false, fixed: false,
sortable: true, sortable: true,
head: true, head: true,
statistics:true,//
}, },
{ {
prop: 'completeSetName', prop: 'completeSetName',
@ -1563,6 +1575,10 @@ const wrap = ref([
function onLoad() { function onLoad() {
loading.value = true; // loading.value = true; //
} }
statisticsList.value= menuData.value.filter(item=>item.statistics);//
console.log(statisticsList.value,'需要统计的字段');
const TabHeig = () => { const TabHeig = () => {
TabHeight.value = TabHeight.value.offsetHeight; // TabHeight.value = TabHeight.value.offsetHeight; //
console.log(TabHeight.value.offsetHeight, 'TabHeight.value.offsetHeight'); console.log(TabHeight.value.offsetHeight, 'TabHeight.value.offsetHeight');
@ -2875,7 +2891,7 @@ const SubmitCommercial = () => {
} }
.el-Cart-button-btn { .el-Cart-button-btn {
display: flex; display: flex;
justify-content: flex-end; justify-content: space-between;
margin-top: 18px; margin-top: 18px;
} }
} }

Loading…
Cancel
Save