Browse Source

客服申诉成立受款方非必填项

dev-xx
马远东 4 months ago
parent
commit
232c1b9317
  1. 2
      src/views/aftersales/aftersalesWorkOrder.vue
  2. 20
      src/views/aftersales/aftersalesWorkOrdermodify.vue

2
src/views/aftersales/aftersalesWorkOrder.vue

@ -1579,7 +1579,7 @@ const ButtonPermissions = computed(() => {
Batchdetermination: false, //
ManagerConfirmed: false, //
ArbitrationDetermination: false, //
Financial_accounting: true && !AppealStatusT.value, //
Financial_accounting: UserPermissions.value != '仓库客服' && !AppealStatusT.value, //
defaultassignments: false, //
export_Report: true, //
Timed_outexport: false, //

20
src/views/aftersales/aftersalesWorkOrdermodify.vue

@ -2173,14 +2173,14 @@ const AppealEditor = () => {
console.log(form.value.responsibilitiesList);
console.log(form.value.completion);
let completion = form.value;
let _warehouseId = form.value.completion.find(res => !res.warehouseId);
if (_warehouseId) {
ElMessage({
message: `有赔款方或受款方仓库未选择`,
type: 'warning',
});
return;
}
// let _warehouseId = form.value.completion.find(res => !res.warehouseId);
// if (_warehouseId) {
// ElMessage({
// message: ``,
// type: 'warning',
// });
// return;
// }
ElMessageBox.confirm('是否提交完结信息?', '完结', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@ -2206,7 +2206,7 @@ const AppealEditor = () => {
reason: item.reason, //
money: item.money, //
compensationPersonnel: item.compensationPersonnel, //
warehouseId: item.warehouseId, //ID
warehouseId: item.warehouseId||null, //ID
workOrderId: info.id, //
});
} else if (item.state == 1) {
@ -2222,7 +2222,7 @@ const AppealEditor = () => {
.join(',')
)
.join(','),
warehouseId: item.warehouseId, //ID
warehouseId: item.warehouseId||null, //ID
workOrderNumber: info.workOrderNumber, //
workOrderId: info.id, //
});

Loading…
Cancel
Save