Browse Source

修复已知bug

dev-xx
马远东 11 months ago
parent
commit
78576ff8c9
  1. 2
      src/views/aftersales/aftersalesWorkOrderAdd.vue
  2. 33
      src/views/aftersales/aftersalesWorkOrderAddTemp.vue

2
src/views/aftersales/aftersalesWorkOrderAdd.vue

@ -1525,7 +1525,7 @@ const ConfirmForm = () => {
delete DataSubmit.processor; // delete DataSubmit.processor; //
console.log(DataSubmit, '处理好的数据'); console.log(DataSubmit, '处理好的数据');
// stringify // stringify
return
Addloading.value = true; // Addloading.value = true; //
$_submit(DataSubmit) $_submit(DataSubmit)
.then(res => { .then(res => {

33
src/views/aftersales/aftersalesWorkOrderAddTemp.vue

@ -717,16 +717,16 @@ const PageState = () => {
// //
form.value.Claimamount = [ // form.value.Claimamount = [
{ // {
title: '', // // title: '', //
money: 0, // // money: 0, //
paymentUnit: '', // // paymentUnit: '', //
compensationTime: '', // // compensationTime: '', //
compensationMethod: '', // // compensationMethod: '', //
Paymentmethod: [...Paymentmethodoptions.value], // Paymentmethod: [...Paymentmethodoptions.value],
}, // },
]; // ];
}; };
// //
const onLoad = async () => { const onLoad = async () => {
@ -893,8 +893,16 @@ const Claimssettlement = value => {
}); });
console.log(data, '筛选出来的值'); console.log(data, '筛选出来的值');
if (data && data.length) { if (data && data.length) {
form.value.Claimamount = [];
data.forEach(item => { data.forEach(item => {
form.value.Claimamount.push({
title: item.label, //
money: 0, //
paymentUnit: '', //
compensationTime: '', //
compensationMethod: '', //
Paymentmethod: [...JSON.parse(JSON.stringify(Paymentmethodoptions.value))],
});
}); });
} }
}; };
@ -1159,6 +1167,9 @@ const TabactiveClick = (a, b) => {
} }
.el_Processingresults_box_list { .el_Processingresults_box_list {
display: flex; display: flex;
justify-content: space-between;
align-items: center;
margin-right: 11px;
.el-form-item { .el-form-item {
.el-form-item__label { .el-form-item__label {
margin-bottom: 0; margin-bottom: 0;

Loading…
Cancel
Save