Browse Source

自提修改

dev-xx
马远东 1 year ago
parent
commit
32bf2c0b9e
  1. 27
      src/views/aftersales/aftersalesWorkOrdermodify.vue
  2. 6
      src/views/distribution/inventory/distrilbutionBillLadingView.vue

27
src/views/aftersales/aftersalesWorkOrdermodify.vue

@ -668,16 +668,16 @@
<div class="dialog-footer"> <div class="dialog-footer">
<!-- <el-button @click="Indexdialog = false">取消</el-button> --> <!-- <el-button @click="Indexdialog = false">取消</el-button> -->
<el-button type="primary" @click="ConfirmForm" v-if="RouterState == 'Infoedit' && !UserPermissions=='仓库客服'"> <el-button type="primary" @click="ConfirmForm" v-if="RouterState == 'Infoedit' && UserPermissions=='仓库客服'">
提交 1
</el-button> </el-button>
<!--编辑提交--> <!--编辑提交-->
<el-button <el-button
type="primary" type="primary"
@click="Arbitrationcompleted" @click="Arbitrationcompleted"
v-if=" v-if="(RouterState == 'Kfend' && !Appealeditor) || Appealeditor == 'appeal' || ProcessingresultsState"
(RouterState == 'Kfend' && !Appealeditor) || Appealeditor == 'appeal' || ProcessingresultsState
"
> >
<!-- 申诉编辑 --> <!-- 申诉编辑 -->
提交 提交
@ -1063,7 +1063,7 @@ const onLoad = () => {
CompletedEditing.value = false; CompletedEditing.value = false;
} }
// //
if ($route.query.Processingresults == true && UserPermissions.value !='仓库客服' ) { if ($route.query.ProcessingresultsState == true && UserPermissions.value !='仓库客服' ) {
console.log($route.query.Processingresults, '理赔金未出编辑'); console.log($route.query.Processingresults, '理赔金未出编辑');
ProcessingresultsState.value = false; ProcessingresultsState.value = false;
@ -1545,7 +1545,7 @@ const PaymentConfirmation = val => {
// //
const AddCompensation = () => { const AddCompensation = () => {
if (Processingresults.value) { if (ProcessingresultsState.value) {
// //
return; return;
} }
@ -1560,7 +1560,7 @@ const AddCompensation = () => {
}; };
// //
const AddPayee = () => { const AddPayee = () => {
if (Processingresults.value) { if (ProcessingresultsState.value) {
// //
return; return;
} }
@ -1597,7 +1597,7 @@ const amountMoney = () => {
}; };
// //
const payremove = (state, val, data) => { const payremove = (state, val, data) => {
if (Processingresults.value) { if (ProcessingresultsState.value) {
// //
return; return;
} }
@ -2066,7 +2066,7 @@ const Arbitrationcompleted = () => {
console.log(Copyprocessingresults.value, '初始化处理结果参数'); console.log(Copyprocessingresults.value, '初始化处理结果参数');
console.log(ProcessingList.value, '最新的处理结果参数'); console.log(ProcessingList.value, '最新的处理结果参数');
if (ProcessingresultsState.value && $route.query.workOrderStatus !='10') { if (ProcessingresultsState.value) {
// //
// //
let data = { let data = {
@ -2081,9 +2081,9 @@ const Arbitrationcompleted = () => {
// ProcessedId.value // ProcessedId.value
}, },
}; };
// //
let missingObjects = Copyprocessingresults.value.filter(objA => { if( Copyprocessingresults.value){
let missingObjects = Copyprocessingresults.value.filter(objA => {
let matchingObjects = ProcessingList.value.filter( let matchingObjects = ProcessingList.value.filter(
objB => objB.state === objA.state && objB.id === objA.id objB => objB.state === objA.state && objB.id === objA.id
); );
@ -2093,6 +2093,9 @@ const Arbitrationcompleted = () => {
console.log(missingObjects); console.log(missingObjects);
data.aftersalesProcessingResultsDTO['assignList'] = missingObjects.map(item => item.id); data.aftersalesProcessingResultsDTO['assignList'] = missingObjects.map(item => item.id);
} }
}
data.aftersalesProcessingResultsDTO['processingMoneyEntityList'] = ProcessingList.value data.aftersalesProcessingResultsDTO['processingMoneyEntityList'] = ProcessingList.value
.map(item => { .map(item => {

6
src/views/distribution/inventory/distrilbutionBillLadingView.vue

@ -217,7 +217,7 @@ export default {
values: '', values: '',
width: '150', width: '150',
checkarr: [], checkarr: [],
fixed: true, fixed: true,
sortable: true, sortable: true,
head: false, head: false,
}, },
@ -226,7 +226,7 @@ export default {
// label: '', // label: '',
// type: 2, // type: 2,
// values: '', // values: '',
// width: '150' // width: '150',
// checkarr: [], // checkarr: [],
// fixed: true, // fixed: true,
// sortable: true, // sortable: true,
@ -479,7 +479,7 @@ export default {
{ {
prop: 'pickupStatusName', // prop: 'pickupStatusName', //
label: '提货状态', label: '提货状态',
type: 2, type: 1,
values: '', values: '',
width: '150', width: '150',
checkarr: [], checkarr: [],

Loading…
Cancel
Save