-
+
@@ -227,7 +233,7 @@
@@ -577,7 +583,7 @@ import { ElMessage } from 'element-plus';
import { ElMessageBox } from 'element-plus';
import { useRouter, useRoute } from 'vue-router';
import { useStore } from 'vuex';
-const $store = useStore();
+const $store = useStore();
import { getDictionaryBiz } from '@/api/system/dict'; //字典
import { getDetailWarehouse, getDeptWarehouse } from '@/api/basicdata/basicdataWarehouse'; //处理方
import {
@@ -633,7 +639,6 @@ const amplifyurl = ref(''); //当前点击的图片
const amplifysrcList = ref([]); //图片循环列表
const ProcessingList = ref([]); //处理结果已经选择的列表
const Paymentmethod = ref([]); //支付方式
-const ProportionMax = ref(100); //公司占比最大值计算
const PackageInfo = ref([
//包件信息
@@ -974,7 +979,7 @@ const responsibleParty = () => {
// 责任移除
const ResponsibilityRemoval = val => {
FangAddList.value.splice(val, 1); //移除当前点击的按钮
- CompanyProportion();
+ CompanyProportion(val);
};
// 顶部标签切换
const TopChange = val => {
@@ -1002,12 +1007,16 @@ const CompanyProportion = val => {
console.log(item.responsibilityRatio, '当前比例');
sum += item.responsibilityRatio;
});
- let max = 100 - sum;
- val.ProportionMax = max;
+ let max = 100 - sum + Number(val.responsibilityRatio);
+ console.log('MAX当前最大值', max);
+ if (val.ProportionMax) {
+ val.ProportionMax = max;
+ }
}, 0);
};
// 公司占比事件
const CompanyProportionInput = item => {
+ console.log(item, '接收的值');
CompanyProportion(item);
};
@@ -1412,17 +1421,18 @@ const Statistics = () => {
// 查询包件信息自动回显
const ChangePackageInfo = (val, index) => {
if (!val) {
+ PackageInfo.value[index].orderCode = ''; //订单自编码
+ PackageInfo.value[index].waybillNumber = ''; //运单号
+ PackageInfo.value[index].orderId = ''; //运单号
+ PackageInfo.value[index].brandName = ''; //品牌
+ Indexform.value.first = ''; //一级品
+ Indexform.value.secondary = ''; //二级品
+ Indexform.value.waybillMall = ''; //客户名称(运单商场)
+ Indexform.value.typeServiceName = ''; //合作模式
+
return;
// 如果输入框里面没有值就不请求
}
- PackageInfo.value[index].orderCode = ''; //订单自编码
- PackageInfo.value[index].waybillNumber = ''; //运单号
- PackageInfo.value[index].orderId = ''; //运单号
- PackageInfo.value[index].brandName = ''; //品牌
- // PackageInfo.value[index].firsts = ''; //一级品
- // PackageInfo.value[index].second = ''; //二级品
- // PackageInfo.value[index].mallName = ''; //客户名称
- // PackageInfo.value[index].mallId = ''; //客户ID
Statistics(); //调用统计包件信息
let data = {
diff --git a/src/views/aftersales/aftersalesWorkOrderInfo.vue b/src/views/aftersales/aftersalesWorkOrderInfo.vue
index bc411c1a..d83a6a03 100644
--- a/src/views/aftersales/aftersalesWorkOrderInfo.vue
+++ b/src/views/aftersales/aftersalesWorkOrderInfo.vue
@@ -279,7 +279,6 @@
{{ item.name }}:
-
{
UserPermissions.value = '仓库客服';
}
console.log(UserPermissions.value, '当前角色权限');
+ Chathistory(); //聊天的历史记录
});
// 获取页面参数
@@ -1219,13 +1220,7 @@ const onLoad = () => {
endFrom.value.arbitrate = res.data.data.reasonArbitration; //仲裁原因
});
- // 查询处理记录
- $_getTrackRecord({
- id: $route.query.id,
- }).then(res => {
- console.log(res, '处理记录返回值');
- details.recorddata = res.data.data.surveyRecordEntities;
- });
+
getDictionaryBiz('result_handling').then(res => {
console.log(res, '处理结果');
ProcessingResults.value = res.data.data;
@@ -1260,7 +1255,7 @@ const onLoad = () => {
});
});
});
- Chathistory(); //聊天的历史记录
+
};
// 多开页面的时候刷新参数
diff --git a/src/views/aftersales/aftersalesWorkOrdermodify.vue b/src/views/aftersales/aftersalesWorkOrdermodify.vue
index 5ae588b1..81b04adf 100644
--- a/src/views/aftersales/aftersalesWorkOrdermodify.vue
+++ b/src/views/aftersales/aftersalesWorkOrdermodify.vue
@@ -708,6 +708,7 @@ const ProcessingResults = ref([]); //处理结果列表选项
const TotalClaimAmount = ref(0); //理赔总金额
const TransportlossList = ref([]);
const RouterState = ref(); //编辑信息
+const Appealeditor=ref();//申诉编辑状态
const oldData = ref(); //旧数据
const unPackageInfo = ref(); //旧包件信息
const unProcessorEntityList = ref([]); //取消的责任方