:
{{ item.username }}【{{ item.name }}】
@@ -631,7 +641,7 @@ const fleeingState = ref(false); //窜货件数弹窗
const ShortageList = ref([]); //少货件数
const fleeingList = ref([]); //窜货件数
const valueStrictly = ref();
-const ProcessingreleaseState = ref(false); //是否可以填写处理结果
+const ProcessingreleaseState = ref(true); //是否可以填写处理结果
const routerID = ref(null); //路由参数ID
const routerState = ref(''); //路由状态
const personResponsibleList = ref([]); //责任人列表
@@ -692,7 +702,7 @@ const responsible = ref([
onMounted(() => {
msgHight.value = window.innerHeight * 0.8;
console.log(msgHight.value, '处理好的页面高度');
- msgTop.value = window.innerHeight * 0.099;
+ msgTop.value = window.innerHeight * 0.08;
console.log(msgTop.value, '处理好的页面高度');
// 滚动到最后
setTimeout(() => {
@@ -712,75 +722,78 @@ const Chathistory = res => {
console.log(UserPermissions.value, '当前不是仓库客服');
$_getTrackRecord({
id: $route.query.id,
- }).then(res => {
- MessageContent.value = []; //先清空内容,防止内容重复叠加
- res.data.data.surveyRecordEntities.forEach(item => {
- MessageContent.value.unshift({
- time: item.createTime, //时间
- content: item.processingResults, //消息内容
- name: item.addDepartment, //营业部名称
- username: item.addPeople, //用户名
- img: filetype == 'png' ? item.pictureUrl : '',
- file: filetype == 'docx' ? item.pictureUrl : '',
- mp4: filetype == 'mp4' ? item.pictureUrl : '',
- imgList: [filetype == 'png' ? item.pictureUrl : ''],
- difference: item.difference,
- identifying: false, //待回复标识
+ })
+ .then(res => {
+ MessageContent.value = []; //先清空内容,防止内容重复叠加
+ res.data.data.surveyRecordEntities.forEach(item => {
+ MessageContent.value.unshift({
+ time: item.createTime, //时间
+ content: item.processingResults, //消息内容
+ name: item.addDepartment, //营业部名称
+ username: item.addPeople, //用户名
+ img: filetype == 'png' ? item.pictureUrl : '',
+ file: filetype == 'docx' ? item.pictureUrl : '',
+ mp4: filetype == 'mp4' ? item.pictureUrl : '',
+ imgList: [filetype == 'png' ? item.pictureUrl : ''],
+ difference: item.difference,
+ identifying: false, //待回复标识
+ });
});
-
- });
- setTimeout(() => {
- const container = scrollContainer.value;
- if (container) {
- container.scrollTop = container.scrollHeight;
- }
- }, 0);
- console.log(res, '聊天记录');
- Msgloading.value = false; //关闭加载效果
- }).catch(res=>{
+ setTimeout(() => {
+ const container = scrollContainer.value;
+ if (container) {
+ container.scrollTop = container.scrollHeight;
+ }
+ }, 0);
+ console.log(res, '聊天记录');
Msgloading.value = false; //关闭加载效果
- });
+ })
+ .catch(res => {
+ Msgloading.value = false; //关闭加载效果
+ });
} else {
$_getSurveyRecord({
id: $route.query.id,
- }).then(res => {
- MessageContent.value = []; //先清空内容,防止内容重复叠加
- console.log(res, '聊天返回值');
- // 仓库客服不需要操作记录
- if (res.data.data.processorVOList) {
- if (res.data.data.processorVOList.length) {
- msgState.value = res.data.data.processorVOList[0].processingStatus; //获取聊天状态
- }
- }
- res.data.data.surveyRecordEntities.forEach(item => {
- if (item.pictureUrl) {
- filetype = Fileidentifier(item.pictureUrl);
+ })
+ .then(res => {
+ MessageContent.value = []; //先清空内容,防止内容重复叠加
+ console.log(res, '聊天返回值');
+ // 仓库客服不需要操作记录
+ if (res.data.data.processorVOList) {
+ if (res.data.data.processorVOList.length) {
+ msgState.value = res.data.data.processorVOList[0].processingStatus; //获取聊天状态
+ }
}
- MessageContent.value.push({
- time: item.createTime, //时间
- content: item.content, //消息内容
- name: item.addDepartment, //营业部名称
- username: item.addPeople, //用户名
- img: filetype == 'png' ? item.pictureUrl : '',
- file: filetype == 'docx' ? item.pictureUrl : '',
- mp4: filetype == 'mp4' ? item.pictureUrl : '',
- imgList: [filetype == 'png' ? item.pictureUrl : ''],
- difference: item.difference,
- identifying: true, //是否显示待回复按钮
+ res.data.data.surveyRecordEntities.forEach(item => {
+ if (item.pictureUrl) {
+ filetype = Fileidentifier(item.pictureUrl);
+ }
+ MessageContent.value.push({
+ time: item.createTime, //时间
+ content: item.content, //消息内容
+ name: item.addDepartment, //营业部名称
+ username: item.addPeople, //用户名
+ img: filetype == 'png' ? item.pictureUrl : '',
+ file: filetype == 'docx' ? item.pictureUrl : '',
+ mp4: filetype == 'mp4' ? item.pictureUrl : '',
+ imgList: [filetype == 'png' ? item.pictureUrl : ''],
+ difference: item.difference,
+ identifying: true, //是否显示待回复按钮
+ });
});
- });
- setTimeout(() => {
- const container = scrollContainer.value;
- if (container) {
- container.scrollTop = container.scrollHeight;
- }
- }, 0);
-
- console.log(res, '聊天记录');
- Msgloading.value = false; //关闭加载效果
- }).catch(res=>{
+ setTimeout(() => {
+ const container = scrollContainer.value;
+ if (container) {
+ container.scrollTop = container.scrollHeight;
+ }
+ }, 0);
+
+ console.log(res, '聊天记录');
Msgloading.value = false; //关闭加载效果
- });
+ })
+ .catch(res => {
+ Msgloading.value = false; //关闭加载效果
+ });
}
};
@@ -837,11 +850,7 @@ const pictureList = val => {
console.log(val, '图片列表');
amplifyurl.value = val.url;
};
-// 点击图片移除
-const ImgListRemove = val => {
- console.log(val, '移除图片');
- amplifysrcList.value = amplifysrcList.value.filter(item => item !== val.response.data.link);
-};
+
// 处理方和责任方获取数据
const handle = () => {
getDeptWarehouse().then(res => {
@@ -854,122 +863,110 @@ const handle = () => {
});
};
-// 获取当前责任方的责任人
-const ResponsiblePartychange = (val, index) => {
- FangAddList.value[index].personResponsibleName = null; //清空当前选择的责任人
- $_getBusinessDepartmentUser({
- warehouseId: val,
- }).then(res => {
- console.log(res, '获取责任人列表');
- FangAddList.value[index].personResponsibleList = res.data.data;
- });
-};
const onLoad = () => {
-
Mydata.value = JSON.parse(localStorage.getItem('my_data')); //记录本地登录
getDictionaryBiz('after_sales_visits').then(res => {
const matchingItem = res.data.data.find(
item => item.dictValue == JSON.parse(localStorage.getItem('TWMS-userInfo')).content.role_name
);
if (matchingItem) {
- UserPermissions.value = matchingItem.dictValue;//记录当前人身份
+ UserPermissions.value = matchingItem.dictValue; //记录当前人身份
} else {
UserPermissions.value = '仓库客服';
}
console.log(UserPermissions.value, '当前角色权限');
Chathistory(); //聊天的历史记录
- routerState.value = $route.query.routerState;
- updateDictionary(IndexException.value, 'pc_work_order'); //异常类型
- updateDictionary(DiscoveringNodes.value, 'pc_discovery_node'); //发现环节
- handle(); //处理方和责任方信息
-
- $_getInfo({ id: $route.query.id }).then(res => {
- console.log(res, '回显返回值参数');
- Indexform.value = res.data.data;
-
- Indexform.value['result'] = [];
- Indexform.value['processor'] = [];
- //图片处理回显
- Indexform.value.packList = res.data.data.decreaseImageVOList.map(res => {
- amplifysrcList.value.push(res.imagePath);
- return {
- name: res.imageName,
- url: res.imagePath,
- };
- });
- // 包件回显
- PackageInfo.value = res.data.data.abnormalPackageVOList;
- console.log(res.data.data.abnormalPackageVOList, '包件信息');
- // 责任方回显
-
- FangAddList.value = res.data.data.processorVOList
- .filter(item => item && item.typesOf && item.typesOf == '1')
- .map(item => {
- return { businessName: item.businessId };
+ routerState.value = $route.query.routerState;
+ updateDictionary(IndexException.value, 'pc_work_order'); //异常类型
+ updateDictionary(DiscoveringNodes.value, 'pc_discovery_node'); //发现环节
+ handle(); //处理方和责任方信息
+
+ $_getInfo({ id: $route.query.id }).then(res => {
+ console.log(res, '回显返回值参数');
+ Indexform.value = res.data.data;
+
+ Indexform.value['result'] = [];
+ Indexform.value['processor'] = [];
+ //图片处理回显
+ Indexform.value.packList = res.data.data.decreaseImageVOList.map(res => {
+ amplifysrcList.value.push(res.imagePath);
+ return {
+ name: res.imageName,
+ url: res.imagePath,
+ };
});
- console.log(FangAddList.value, '责任方回显问题');
-
- // 公司占比回显计算
- let sum = 0;
- res.data.data.personResponsibleVOS.forEach(item => {
- sum = Number(item.responsibilityRatio) + sum;
- });
-
+ // 包件回显
+ PackageInfo.value = res.data.data.abnormalPackageVOList;
+ console.log(res.data.data.abnormalPackageVOList, '包件信息');
+ NumberPackages.value = res.data.data.abnormalPackageVOList.length; //包件个数统计
+ // 责任方回显
+
+ FangAddList.value = res.data.data.processorVOList
+ .filter(item => item && item.typesOf && item.typesOf == '1')
+ .map(item => {
+ return { businessName: item.businessId };
+ });
+ console.log(FangAddList.value, '责任方回显问题');
- groundlineType.value = res.data.data.discoveryNode;//发现节点回显
+ // 公司占比回显计算
+ let sum = 0;
+ res.data.data.personResponsibleVOS.forEach(item => {
+ sum = Number(item.responsibilityRatio) + sum;
+ });
+ groundlineType.value = res.data.data.discoveryNode; //发现节点回显
- FangAddList.value = res.data.data.personResponsibleVOS.map(res => {
- return {
- businessName: res.businessId, //责任人ID
- personResponsibleName: res.personResponsibleName, //责任人名称
- responsibilityRatio: res.responsibilityRatio + '%', //占比
- description: res.description, //说明
- tripartite:res.tripartite,//三方责任人
- };
- });
- console.log(FangAddList.value, '责任方回显问题');
- res.data.data.processorVOList.forEach(item => {
- if (item) {
- if (item.typesOf == 2) {
- // 处理方
- Indexform.value.processor.push(item.businessId);
+ FangAddList.value = res.data.data.personResponsibleVOS.map(res => {
+ return {
+ businessName: res.businessId, //责任人ID
+ personResponsibleName: res.personResponsibleName, //责任人名称
+ responsibilityRatio: res.responsibilityRatio + '%', //占比
+ description: res.description, //说明
+ tripartite: res.tripartite, //三方责任人
+ };
+ });
+ console.log(FangAddList.value, '责任方回显问题');
+ res.data.data.processorVOList.forEach(item => {
+ if (item) {
+ if (item.typesOf == 2) {
+ // 处理方
+ Indexform.value.processor.push(item.businessId);
+ }
}
- }
- });
- companyProportion.value = 100 - sum;
+ });
+ companyProportion.value = 100 - sum;
- getDictionaryBiz('result_handling').then(res => {
- console.log(res, '发现环节');
- ProcessingResults.value = res.data.data;
- });
- // 处理结果回显
- if (res.data.data.processingResultsVO.processingMoneyEntityList) {
- ProcessingList.value = res.data.data.processingResultsVO.processingMoneyEntityList.map(
- item => {
- Indexform.value.result.push(item.resultType);
- return {
- input: item.money,
- min: 0,
- max: 9999999999999999999999999999,
- state: item.resultType,
- payment: item.compensationMethod,
- name: item.resultTypeName,
- text: item.compensationMethodName,
- compensationTime: item.compensationTime, //支付时间
- paymentUnit: item.paymentUnit, //支付单位
- };
- }
- );
- }
- // 总金额回显
- TotalClaimAmount.value = res.data.data.processingResultsVO.money;
- // 理赔支付时间
- Indexform.value.compensationTime = res.data.data.processingResultsVO.compensationTime;
- // 处理结果说明回显
- Indexform.value.resultDescription = res.data.data.processingResultsVO.resultDescription;
-
- if (res.data.data.completionRecipientEntityList.length > 0) {
+ getDictionaryBiz('result_handling').then(res => {
+ console.log(res, '发现环节');
+ ProcessingResults.value = res.data.data;
+ });
+ // 处理结果回显
+ if (res.data.data.processingResultsVO.processingMoneyEntityList) {
+ ProcessingList.value = res.data.data.processingResultsVO.processingMoneyEntityList.map(
+ item => {
+ Indexform.value.result.push(item.resultType);
+ return {
+ input: item.money,
+ min: 0,
+ max: 9999999999999999999999999999,
+ state: item.resultType,
+ payment: item.compensationMethod,
+ name: item.resultTypeName,
+ text: item.compensationMethodName,
+ compensationTime: item.compensationTime, //支付时间
+ paymentUnit: item.paymentUnit, //支付单位
+ };
+ }
+ );
+ }
+ // 总金额回显
+ TotalClaimAmount.value = res.data.data.processingResultsVO.money;
+ // 理赔支付时间
+ Indexform.value.compensationTime = res.data.data.processingResultsVO.compensationTime;
+ // 处理结果说明回显
+ Indexform.value.resultDescription = res.data.data.processingResultsVO.resultDescription;
+
+ if (res.data.data.completionRecipientEntityList.length > 0) {
CompensationParty.value = [];
res.data.data.completionRecipientEntityList.forEach((item, index) => {
TotalamountReceived.value += Number(item.money);
@@ -1000,15 +997,10 @@ const onLoad = () => {
});
});
}
-
-
- });
-
-
+ });
});
console.log(Mydata.value, '记录本地登录');
- handle(); //处理方和责任方信息
getDictionaryBiz('result_handling').then(res => {
console.log(res, '发现环节');
ProcessingResults.value = res.data.data;
@@ -1019,630 +1011,9 @@ const onLoad = () => {
console.log(res);
Paymentmethod.value = res.data.data;
});
-
-// Indexform.value.discoveryNode = '1'; //默认发现节点
-// groundlineType.value = Indexform.value.discoveryNode;
-// Indexform.value.workOrderType = '1'; //默认一个异常类型
-// SelectType.value = Indexform.value.workOrderType;
};
onLoad(); //初始化程序
-// 处理结果
-const changeProcessingResults = val => {
- // 首先删除取消的项目
- ProcessingList.value = ProcessingList.value.filter(item => val.includes(item.state - 1));
-
- // 然后添加或保持新的项目
- val.forEach(num => {
- let newItem = {
- input: 0,
- min: 0,
- max: 9999999999999,
- state: num + 1,
- payment: '',
- text: '',
- compensationTime: '',
- paymentUnit: '',
- };
- // 根据num为newItem的name字段赋值
- switch (num) {
- case '1':
- newItem.name = '下补单';
- break;
- case '2':
- newItem.name = '维修/补漆';
- break;
- case '3':
- newItem.name = '客户未要求理赔';
- break;
- case '4':
- newItem.name = '用库存';
- break;
- case '5':
- newItem.name = '赔商家';
- break;
- case '6':
- newItem.name = '赔付运费';
- break;
- case '7':
- newItem.name = '工厂考核';
- break;
- default:
- return;
- }
-
- // 如果列表中不存在则加入新项目
- if (!ProcessingList.value.some(item => item.state === newItem.state)) {
- ProcessingList.value.push(newItem);
- console.log(`添加:${newItem.name}`);
- }
- });
-};
-
-// 异常类型事件
-const abnormalChange = val => {
- console.log(val, '异常事件类型');
- SelectType.value = false;
- if (val == 1 || val == 2 || val == 3) {
- SelectType.value = val;
- } else {
- SelectType.value = null;
- }
- // 运损无数据默认0
- // if (val == 1) {
- // Indexform.value.packageCode = 0;
- // } else {
- // Indexform.value.packageCode = null;
- // }
-};
-
-// 发现节点事件
-const DiscoveringNodesChange = val => {
- groundlineSet.value = false; //干线条件都不满足
- if (
- val == 1 ||
- val == 2 ||
- val == 3 ||
- val == 4 ||
- val == 5 ||
- val == 6 ||
- val == 8 ||
- val == 7
- ) {
- groundlineType.value = val; //干线状态
- console.log(val);
- } else {
- groundlineType.value = null; //干线状态
- }
-};
-
-// 车次号自动带出时间司机
-function DeliveryTrainnumber() {
- if (!Indexform.value.trainNumber && !Indexform.value.deliveryTime) {
- Indexform.value.deliveryTime = null;
- Indexform.value.deliveryDriver = '';
- DeliveryDriver.value = [];
- }
- if (!Indexform.value.trainNumber && !Indexform.value.deliveryTime) {
- return;
- }
- let data = {
- trainNumber: Indexform.value.trainNumber,
- taskTime: Indexform.value.deliveryTime,
- };
- data.current = 1; //页码
- data.size = 200; //条数
- $_shippingInformation(data).then(res => {
- console.log(res, '查询返回值');
- DeliveryDriver.value = res.data.data.records; //获取到的信息
- // 如果是精确搜索自动带入日期
- if (res.data.data.records.length == 1 && groundlineType.value != 3) {
- Indexform.value.deliveryTime = res.data.data.records[0].taskTime; //配送时间
- Indexform.value.deliveryDriver = res.data.data.records[0].id; //配送人
- // Indexform.value.trainNumber = res.data.data.records[0].trainNumber; //车次号
- }
- });
-}
-// 理赔总金额计算
-const TotalChange = () => {
- TotalClaimAmount.value = 0;
- ProcessingList.value.forEach(item => {
- console.log(item);
- TotalClaimAmount.value += item.input;
- });
-};
-// 支付方式选择
-const PaymentSelection = val => {
- console.log(val, '支付');
- console.log(Paymentmethod.value);
- if (val.payment) {
- //支付方式回显
- let data = Paymentmethod.value.find(item => item.dictKey == val.payment);
- Indexform.value.compensationMethod = data.dictKey;
- } else {
- Indexform.value.compensationMethod = null; //清空上一次选择
- }
- ZFdialog.value = true; //展开支付方式选择弹窗
- ZFname.value = val.name; //存放的当前点击的名字
-};
-
-// 支付方式选择确定
-const PaymentConfirmation = val => {
- console.log(val, '支付方式选择确定');
- let data = ProcessingList.value.find(item => item.name == ZFname.value);
- console.log(data, '处理好的');
- data.text = Paymentmethod.value.find(item => item.dictKey == val).dictValue;
- data.payment = val;
- ZFdialog.value = false; //关闭支付方式选择弹窗
- ElMessage({
- message: '支付方式选择成功',
- type: 'success',
- });
- console.log(ProcessingList.value, '选择好的支付列表');
-};
-
-// 照片
-const handleRemove = (uploadFile, uploadFiles) => {
- console.log(uploadFile, uploadFiles);
-};
-
-const handlePictureCardPreview = uploadFile => {
- dialogImageUrl.value = uploadFile.url;
- dialogVisible.value = true;
-};
-
-
-
-
-// 顶部标签切换
-const TopChange = val => {
- PackageInfo.value = [
- {
- packageCode: '',
- orderCode: '',
- waybillNumber: '',
- brandName: '',
- state: false,
- mallName: '',
- },
- ]; //重置包件信息
- Indexform.value = {}; //重置表单
-
- if (val == 0) {
- identifying.value = 1;
- } else {
- identifying.value = 2;
- }
- console.log(identifying.value, '当前菜单id');
-};
-
-// 公司占比计算
-const CompanyProportion = val => {
- setTimeout(() => {
- console.log(FangAddList.value, ' FangAddList.value');
- let proportion = 0; //责任比例之和
- FangAddList.value.forEach(item => {
- proportion += Number(item.responsibilityRatio);
- });
- // companyProportion.value公司占比
- companyProportion.value = 100 - proportion;
-
- let sum = 0;
- FangAddList.value.forEach(item => {
- console.log(item.responsibilityRatio, '当前比例');
- sum += item.responsibilityRatio;
- });
- let max = 100 - sum + Number(val.responsibilityRatio);
- console.log('MAX当前最大值', max);
- if (val.ProportionMax) {
- val.ProportionMax = max;
- }
- }, 0);
-};
-
-
-// 表单校验规则
-const rules = reactive({
- trainNumber: [{ required: true, message: '请填写车次号', trigger: 'blur' }],
- deliveryTime: [{ required: true, message: '请填写配送时间', trigger: 'blur' }],
- deliveryDriver: [{ required: true, message: '请填写配送司机', trigger: 'blur' }],
- vehicleRoute: [{ required: true, message: '请填写车辆线路', trigger: 'blur' }],
- deliverGoodsTime: [{ required: true, message: '请填写发货时间', trigger: 'blur' }],
- discoveryTime: [{ required: true, message: '请填写发现时间', trigger: 'blur' }],
- first: [{ required: true, message: '请填写一级品', trigger: 'blur' }],
- secondary: [{ required: true, message: '请填写二级品', trigger: 'blur' }],
- warehousingTime: [{ required: true, message: '请填写入库时间', trigger: 'blur' }],
- processor: [{ required: true, message: '请填选择处理方', trigger: 'blur' }],
- waybillMall: [{ required: true, message: '请填写运单商场', trigger: 'blur' }],
- workOrderType: [{ required: true, message: '请选择异常类型', trigger: 'blur' }],
- discoveryNode: [{ required: true, message: '请选择发现节点', trigger: 'blur' }],
-});
-//表单提交
-const ConfirmForm = () => {
- IndexForm.value.validate(valid => {
- if (valid) {
- // 表单验证通过,处理表单提交
- // 提货责任方
- // 支付方式校验
- if (ProcessingList.value.length) {
- for (let item of ProcessingList.value) {
- if (!item.payment) {
- ElMessage({
- message: `请选择${item.name}的支付方式`,
- type: 'warning',
- });
- return;
- }
- }
- }
- console.log(Indexform.value.businessMame, '提货责任方');
- let DataSubmit = {
- personResponsibleDTO: [],
- packageEntityList: [], ////包件信息
- decreaseImageEntityList: [], //图片信息
- processingMoneyEntityList: [], //赔付方式
- aftersalesProcessingResultsDTO: {}, //处理结果
- ...Indexform.value,
- }; //解构表单参数
-
- // 图片类型:10运损,20窜货
- // decreaseImageEntityList:[
- // {imageType:10,imageName:'图片名称',imagePath:'图片路径'},
- // {imageType:10,imageName:'图片名称',imagePath:'图片路径'},
- // ]
- console.log(Indexform.value['packList'], '图片列表');
- // 处理图片(当类型为货损或为窜货才执行下面的东西)
- if (SelectType.value == 1 || SelectType.value == 3) {
- if (Indexform.value['packList']) {
- Indexform.value['packList'].forEach(item => {
- DataSubmit['decreaseImageEntityList'].push({
- imageType: SelectType.value == 1 ? 10 : SelectType.value == 3 ? 20 : '',
- imageName: item.response.data.originalName,
- imagePath: item.response.data.link,
- });
- });
- }
- }
-
- if (SelectType.value == 1 && DataSubmit['decreaseImageEntityList'].length < 2) {
- ElMessage({
- message: '货损至少提供2张图片附件',
- type: 'warning',
- });
- return;
- }
-
- if (SelectType.value == 3 && !DataSubmit['decreaseImageEntityList'].length) {
- ElMessage({
- message: '窜货必须提供图片附件',
- type: 'warning',
- });
- return;
- }
-
- console.log(DataSubmit['decreaseImageEntityList'], '处理好的图片');
- //司机信息处理
- if (Indexform.value.deliveryDriver) {
- console.log(DeliveryDriver.value, '当前全部司机');
- console.log(Indexform.value.deliveryDriver, '选择的司机信息');
- Indexform.value.deliveryDriver = DeliveryDriver.value.find(
- item => item.id == Indexform.value.deliveryDriver
- ).driverName;
- }
-
- console.log(Indexform.value.deliveryDriver, '筛选出来的司机');
-
- let processorEntityList = [];
-
- DataSubmit.processorEntityList = processorEntityList;
- DataSubmit.decreaseImageEntityList = JSON.parse(
- JSON.stringify(Indexform.value['decreaseImageEntityList'])
- );
- console.log(Indexform.value.workOrderNumber, 'Indexform.workOrderNumber12312312');
- // 包件信息
- // packageEntityList
- // 如果存在包件信息进行处理
- if (PackageInfo.value.length) {
- PackageInfo.value.forEach(item => {
- if (item.packageCode) {
- DataSubmit['packageEntityList'].push({
- number: PackageInfo.value.length, //数量
- packageCode: item.packageCode ? item.packageCode : null, //包件码
- waybillNumber: item.waybillNumber ? item.waybillNumber : null, //运单号
- orderCode: item.orderCode ? item.orderCode : null, //订单自编码
- brandName: item.brandName ? item.brandName : null, //品牌
- });
- }
- });
- DataSubmit.packageCode = [...new Set(PackageInfo.value.map(item => item.packageCode))].join(
- ','
- ); //包条码
- DataSubmit.waybillNumber = [
- ...new Set(PackageInfo.value.map(item => item.waybillNumber)),
- ].join(','); //运单号
- DataSubmit.brandName = [...new Set(PackageInfo.value.map(item => item.brandName))].join(
- ','
- ); //品牌
- DataSubmit.orderCode = [...new Set(PackageInfo.value.map(item => item.orderCode))].join(
- ','
- ); //包件信息订单自编码
- }
-
- // DataSubmit['packageEntityList'].push({
- // workOrderId: Indexform.workOrderNumber, //异常ID
- // number: PackageInfo.value.length, //数量
- // packageCode: PackageInfo.value.map(item => item.packageCode).join(','), //包件码
- // warehouseId: '', //仓库ID
- // packageImage: Indexform.value['packList'].map(item => item.url).join(','), //包件图片路径
- // waybillNumber: PackageInfo.value.map(item => item.waybillNumber).join(','), //运单号
- // orderCode: PackageInfo.value.map(item => item.orderCode).join(','), //订单自编码
- // });
-
- // 总件数
- Indexform.value.number = PackageInfo.value.length;
- console.log(DataSubmit['packageEntityList'], '包件信息');
- // 调查经过
- DataSubmit.surveyRecordDTO = {
- content: Indexform.value.investigationPocess,
- workOrderId: Indexform.value.workOrderNumber ? Indexform.value.workOrderNumber : null,
- };
- console.log(DataSubmit.surveyRecordDTO, '调查经过');
- // 环节责任方填写校验
- // 对在库环节,配送环节,安装环节进行责任人填写校验
- if (groundlineType.value == 5 || groundlineType.value == 4 || groundlineType.value == 7) {
- const Humanverification = FangAddList.value.every(item => item.businessName !== '');
- if (!Humanverification) {
- ElMessage({
- message: '请填写责任人',
- type: 'warning',
- });
- return;
- }
- }
- // 新责任方处理
- // FangAddList.value
- // 不是提货环节
-
- if (groundlineType.value != 1) {
- if (FangAddList.value.length) {
- // 如果存在责任方
- FangAddList.value.forEach(item => {
- DataSubmit['personResponsibleDTO'].push({
- businessName:
- warehouseData.value.find(obj => obj.value == item.businessName)?.label || null, //责任方名称
- businessId:
- warehouseData.value.find(obj => obj.value == item.businessName)?.value || null,
- wordOrderId: Indexform.value.workOrderNumber, //异常工单ID
- description: item.description ? item.description : null, //说明
- personResponsibleId:
- item.personResponsibleList.find(obj => obj.id == item.personResponsibleName)?.id ||
- null, //责任人ID
- personResponsibleName:
- item.personResponsibleList.find(obj => obj.id == item.personResponsibleName)
- ?.name || null, //责任人名称
- responsibilityRatio: item.responsibilityRatio ? item.responsibilityRatio : null, //责任比例
- tripartite: item.tripartite ? item.tripartite : null, //三方责任人
- });
- });
- }
- } else {
- // 提货环节责任人处理
- FangAddList.value.forEach(item => {
- DataSubmit['personResponsibleDTO'].push({
- businessName:
- responsible.value.find(obj => obj.value == item.businessName)?.label || null, //责任方名称
- businessId:
- responsible.value.find(obj => obj.value == item.businessName)?.value || null,
- wordOrderId: Indexform.value.workOrderNumber ? Indexform.value.workOrderNumber : null, //异常工单ID
- description: item.description ? item.description : null, //说明
- personResponsibleName: item.personResponsibleName ? item.personResponsibleName : null, //责任人名称
- responsibilityRatio: item.responsibilityRatio ? item.responsibilityRatio : null, //责任比例
- tripartite: item.tripartite ? item.tripartite : null, //三方责任人
- });
- });
- }
-
- //公司占比
- if (companyProportion.value) {
- DataSubmit.companyProportion = companyProportion.value;
- }
- console.log(DataSubmit['personResponsibleDTO'], '新责任方处理的数据');
- //console.log(Indexform.value.duty.length);
- //责任方信息处理
- //责任方信息处理
- if (Indexform.value.processor.length) {
- Indexform.value.processor.forEach(item => {
- let found = warehouseData.value.find(element => element.value == item.toString());
- processorEntityList.push({
- businessName: found ? found.label : '',
- businessId: item,
- conditions: 1,
- typesOf: 2,
- });
- });
- }
-
- if (FangAddList.value.length) {
- FangAddList.value.forEach(item => {
- console.log(item, 'item');
- processorEntityList.push({
- businessName:
- groundlineType.value != 1
- ? warehouseData.value.find(obj => obj.value == item.businessName)?.label || null
- : responsible.value.find(obj => obj.value == item.businessName)?.label || null,
- businessId: item.businessName,
- conditions: 1,
- typesOf: 1,
- });
- });
- }
- DataSubmit.identifying = identifying.value; //1订单2零担3库存品
-
- console.log(processorEntityList, '老责任方处理好的数据');
-
- // 处理结果填写
-
- if (ProcessingList.value.length) {
- let sum = 0; //金额总计
- for (let i = 0; i < ProcessingList.value.length; i++) {
- console.log(ProcessingList.value[i].input);
- sum = computeNumber(sum, '+', ProcessingList.value[i].input).result;
- }
- DataSubmit.aftersalesProcessingResultsDTO.money = sum; //金额汇总
- DataSubmit.aftersalesProcessingResultsDTO.processingMoneyEntityList = ProcessingList.value
- .map(item => {
- let match = ProcessingResults.value.find(element => element.dictValue == item.name);
- if (match) {
- let paymentMethodMatch = Paymentmethod.value.find(
- paymentMethod => paymentMethod.dictKey == item.payment
- );
- return {
- resultType: match.dictKey, //赔方式的key
- money: item.input, //金额
- typesOf: 1, //固定参数
- compensationMethod: paymentMethodMatch ? paymentMethodMatch.dictKey : null, //支付方式ID
- compensationMethodName: paymentMethodMatch ? paymentMethodMatch.dictValue : null, //支付方式名字
- resultName: item.name, //处理结果名字
- compensationTime: item.compensationTime, //支付时间
- paymentUnit: item.paymentUnit, //支付单位
- };
- } else {
- return null;
- }
- })
- .filter(item => item !== null);
-
- DataSubmit.aftersalesProcessingResultsDTO['compensationMethod'] = ProcessingList.value
- .map(item => item.text)
- .join(','); //支付方式拼接
-
- DataSubmit.aftersalesProcessingResultsDTO['resultType'] = ProcessingList.value
- .map(item => item.name)
- .join(','); //处理结果说明文字拼接
- }
-
- delete DataSubmit.duty; //移除多余字段
- delete DataSubmit.packList; //移除图片原始字段
- delete DataSubmit.processor; //移除多余字段
- console.log(DataSubmit, '处理好的数据');
- // 提交表单信息stringify
- $_submit(DataSubmit)
- .then(res => {
- if (res.data.code == 200) {
- ElMessage({
- message: res.data.msg,
- type: 'success',
- });
- Indexform.value = {}; //重置表单
- $store.commit('DEL_TAG_CURRENT'); //关闭当前页面
- $router.push('/aftersales/aftersalesWorkOrder'); //添加成功跳转到列表
- }
- })
- .catch(res => {
- console.log(res, '错误信息');
- ElMessage.error('提交失败,请刷新页面重新尝试');
- });
- } else {
- console.log('表单验证失败');
- ElMessage({
- message: '请填完整信息',
- type: 'warning',
- });
- }
- });
-};
-// 选择司机带出车次号日期
-const changeDeliveryDriver = val => {
- console.log(val);
- console.log(DeliveryDriver.value, '司机信息');
- Indexform.value.trainNumber = DeliveryDriver.value.find(res => res.id == val).trainNumber; //车次号
- Indexform.value.deliveryTime = DeliveryDriver.value.find(res => res.id == val).taskTime; //日期
-};
-// 少货件数对应事件
-const ShortageTtems = val => {
- ShortageList.value = []; //进入之前重置参数
- const pattern = /\s+/g;
- const result = val.replace(pattern, '');
- console.log(result); // 输出 "33"
- Indexform.value.number = result;
- if (Indexform.value.number > 1) {
- ShortageState.value = true; //数量大于1,开启弹窗输入
- }
- for (let i = 0; i < val; i++) {
- ShortageList.value.push({
- number: i + 1, //件数
- packageCode: null, //输入框
- });
- }
-};
-// 少货关闭回调
-const ShortageStateFun = () => {
- ShortageList.value.forEach(item => {
- if (item.packageCode == null) {
- Indexform.value.number = null;
- }
- });
-};
-// 少货按钮取消
-const ShortageCancellation = () => {
- Indexform.value.number = null; //少货件数
- ShortageList.value = []; //进入之前重置参数
- ShortageState.value = false; //关闭弹窗
-};
-// 窜货关闭回调
-const fleeingFun = () => {
- fleeingList.value.forEach(item => {
- if (item.packageCode == null) {
- Indexform.value.number = null;
- }
- });
-};
-// 窜货取消事件
-const fleeingCancellation = () => {
- Indexform.value.number = null; //少货件数
- fleeingList.value = []; //进入之前重置参数
- fleeingState.value = false; //关闭弹窗
-};
-// 窜货输入框
-const fleeingTtems = val => {
- fleeingList.value = []; //进入之前重置参数
- const pattern = /\s+/g;
- const result = val.replace(pattern, '');
- console.log(result); // 输出 "33"
- Indexform.value.number = result;
- if (Indexform.value.number > 1) {
- fleeingState.value = true; //数量大于1,开启弹窗输入
- }
- for (let i = 0; i < val; i++) {
- fleeingList.value.push({
- number: i + 1, //件数
- packageCode: null, //输入框
- });
- }
-};
-// 少货编辑
-const moneyBtnA = () => {
- if (!Indexform.value.number) {
- ElMessage({
- message: '请输入少货数量',
- type: 'warning',
- });
- return;
- }
- ShortageState.value = true; //开启弹窗输入
-};
-// 窜货编辑
-const moneyBtnB = () => {
- if (!Indexform.value.number) {
- ElMessage({
- message: '请输入窜货数量',
- type: 'warning',
- });
- return;
- }
- fleeingState.value = true; //开启弹窗输入
-};
-
// 是否显示处理结果
const Processingrelease = () => {
if (Indexform.value.processor.length == 1 && Mydata.value.id == Indexform.value.processor[0]) {
@@ -1652,184 +1023,6 @@ const Processingrelease = () => {
}
};
-// 统计包件个数
-const Statistics = () => {
- // 订单统计包件个数
- if (identifying.value == 1) {
- NumberPackages.value = 0;
- PackageInfo.value.map(res => {
- if (res.packageCode) {
- NumberPackages.value++;
- }
- });
- } else {
- // 零担统计包件个数
- NumberPackages.value = 0;
- PackageInfo.value.map(res => {
- console.log(res);
- if (res.waybillNumber) {
- NumberPackages.value++;
- }
- });
- }
-};
-
-// 查询包件信息自动回显
-const ChangePackageInfo = (val, index) => {
- // 判断是否有一样的包件
-
- if (identifying.value == '2') {
- Statistics(); //调用统计包件信息
- return;
- } else {
- if (!val) {
- return;
- }
- Statistics(); //调用统计包件信息
- if (!NumberPackages.value) {
- 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;
- // 如果输入框里面没有值就不请求
- }
- }
-
- // if (NumberPackages.value > 1) {
- // const found = PackageInfo.value
- // .filter(item => item.packageCode !== val)
- // .some(item => item.packageCode === val);
-
- // if (found) {
- // console.log('false');
- // ElMessage({
- // message: '存在重复包条码',
- // type: 'warning',
- // });
- // return;
- // }
- // }
-
- Statistics(); //调用统计包件信息
- let data = {
- packageCode: val,
- };
- $_getAbnormalPackage(data).then(res => {
- console.log(res, '包件信息');
- console.log(res.data.data, '包件信息');
-
- if (res.data.data.length) {
- console.log(NumberPackages.value, 'NumberPackages.value ');
- console.log(PackageInfo.value, 'PackageInfo.value');
- const packageData = res.data.data[0];
- if (NumberPackages.value > 1) {
- let mallName = PackageInfo.value.find(item => item.mallName).mallName;
- console.log(mallName, '筛选出来的值');
- if (mallName != packageData.mallName) {
- ElMessageBox.confirm('请选择运单商场一致的包条码!', 'Warning', {
- confirmButtonText: '确定',
- type: 'warning',
- })
- .then(() => {
- return;
- })
- .catch(() => {
- ElMessage({
- type: 'info',
- message: '请重新输入新包条码',
- });
- });
- return;
- }
- }
- console.log('跑到这里来了');
- // 如果已经有一条数据了,后面运单商场必须和后面的一样
- console.log(packageData, '获取的第一个参数');
- PackageInfo.value[index].orderCode = packageData.orderCode; //订单自编码
- PackageInfo.value[index].waybillNumber = packageData.waybillNumber; //运单号
- PackageInfo.value[index].orderId = packageData.orderId; //运单号
- PackageInfo.value[index].brandName = packageData.brandName; //品牌
- PackageInfo.value[index].mallName = packageData.mallName; //运单商场
-
- PackageInfo.value[index].state = false; //状态
-
- const results = res.data.data.filter(item => {
- return item.workOrderId && item.workOrderNumber;
- });
- console.log(results, '筛选后的结果');
- if (results.length > 0) {
- HistoricalPackageList.value = results;
- PackageInfo.value[index].state = true; //状态
- } else {
- PackageInfo.value[index].state = false; //状态
- }
- // 确保在没有满足条件的元素时,不执行 HistoricalPackageList 和 PackageInfo 的赋值操作
- Indexform.value.first = packageData.firsts; //一级品
- Indexform.value.secondary = packageData.second; //二级品
- Indexform.value.waybillMall = packageData.mallName; //客户名称(运单商场)
- Indexform.value.typeServiceName = packageData.typeServiceName
- ? packageData.typeServiceName
- : null; //合作模式
- }
- // packageCode; //包件码
- // //订单自编码
- // orderCode: orderId; //运单号
- // workOrderId; //工单id
- // workOrderNumber; //工单名称
-
- console.log(PackageInfo.value, '处理好的参数');
- });
- }
-};
-
-// 查看历史包件
-const historicalPackages = val => {
- dialogHistoricalPackage.value = true; //打开历史包件弹窗
- HistorIndex.value = val;
- console.log(val);
-};
-// 历史包件确定选择
-const HistoricalPackage = val => {
- let info = HistoricalPackageList.value.find(obj => obj.workOrderId == val);
- console.log(info);
- PackageInfo.value[HistorIndex.value].orderCode = info.orderCode; //订单自编码
- PackageInfo.value[HistorIndex.value].waybillNumber = info.waybillNumber; //运单号
- PackageInfo.value[HistorIndex.value].orderId = info.orderId; //运单号
- PackageInfo.value[HistorIndex.value].brandName = info.brandName; //品牌
- dialogHistoricalPackage.value = false; //关闭历史包件弹窗
-
- PackageInfo.value[HistorIndex.value].relatedWorkOrdersId = info.workOrderId;
- console.log(PackageInfo.value, '处理好的参数');
-};
-// 历史包件里面的查看
-const ViewPackageDetails = val => {
- if (!val) {
- ElMessage({
- message: '请选择要查看的数据',
- type: 'warning',
- });
- return;
- }
- console.log(val);
- let info = HistoricalPackageList.value.find(obj => obj.workOrderId == val);
- console.log(info, '筛选的值');
- $router.push({
- path: '/aftersales/aftersalesWorkOrderInfo',
- query: {
- id: info.workOrderId,
- name: info.workOrderId + '-信息查看',
- routerState: 'view',
- },
- });
- dialogHistoricalPackage.value = false; //打开历史包件弹窗
-};
-
// 对调查经过输入框进行处理
const isShowFormItem1 = computed(() => {
return !['1', '2', '5', '6', '7'].includes(groundlineType.value);
@@ -1853,6 +1046,7 @@ const isShowFormItem2 = computed(() => {
margin: 0;
margin-bottom: 18px;
flex: 1 0 30%;
+ margin-right: 16px;
:deep(.el-form-item__label) {
width: auto !important;
justify-content: flex-start;
@@ -1981,7 +1175,10 @@ const isShowFormItem2 = computed(() => {
display: flex;
justify-content: space-between;
.el_zb {
- width: 140px;
+ :deep(.el-input__inner) {
+ text-align: center;
+ }
+ width: 250px;
text-align: right;
:deep(.el-form-item__label) {
width: auto !important;
@@ -2001,6 +1198,9 @@ const isShowFormItem2 = computed(() => {
width: 30%;
margin-right: 16px;
font-size: 14px;
+ .brand {
+ margin-right: 0;
+ }
.title {
width: 120px;
font-size: 14px;
@@ -2010,6 +1210,9 @@ const isShowFormItem2 = computed(() => {
width: 100%;
}
}
+ .brand {
+ margin-right: 0;
+ }
.el-btn {
margin-left: 5%;
border: none;
@@ -2029,6 +1232,7 @@ const isShowFormItem2 = computed(() => {
justify-content: space-between;
width: 100%;
}
+
.maxBox {
display: flex;
align-items: center;
@@ -2053,6 +1257,12 @@ const isShowFormItem2 = computed(() => {
.el-select {
width: 100%;
}
+ :deep(.el-form-item) {
+ margin-right: 0;
+ }
+ }
+ .brand {
+ margin-right: 0;
}
.el-btn {
margin-left: 5%;
@@ -2061,7 +1271,6 @@ const isShowFormItem2 = computed(() => {
}
.el_btbox {
display: flex;
- margin-top: 20px;
align-items: center;
}
}
@@ -2072,6 +1281,12 @@ const isShowFormItem2 = computed(() => {
border-right: none;
.el-tabs__header {
}
+ .el-tabs__content {
+ // padding-right: 0;
+ }
+ .is-active {
+ font-weight: bold;
+ }
}
.NumTotal {
width: 30%;
@@ -2105,6 +1320,9 @@ const isShowFormItem2 = computed(() => {
.el-tabs__content {
padding: 0;
}
+ .is-active {
+ font-weight: bold;
+ }
}
.foot_btn {
position: fixed;
@@ -2166,13 +1384,17 @@ const isShowFormItem2 = computed(() => {
display: flex;
margin-bottom: 20px;
height: 30px;
- width: 48%;
+ width: 100%;
justify-content: space-between;
.payment_right {
+ width: 100%;
display: flex;
:deep(.el-input) {
height: 100% !important;
}
+ :deep(.money){
+ width: 100px;
+ }
}
span {
display: block;
@@ -2181,6 +1403,10 @@ const isShowFormItem2 = computed(() => {
margin-right: 8px;
display: flex;
align-items: center;
+ width: max-content;
+ }
+ .el_titleName {
+ display: flex;
}
}
}
@@ -2222,6 +1448,9 @@ const isShowFormItem2 = computed(() => {
}
.el_Processingresults {
margin-top: 12px;
+ :deep(.is-active) {
+ font-weight: bold;
+ }
}
.el_PaymentUnit {
margin: 0 4px;
@@ -2255,6 +1484,13 @@ const isShowFormItem2 = computed(() => {
border-right: none;
border-left: none;
border-bottom: none;
+
+ :deep(.el-tabs__content) {
+ padding-right: 0;
+ }
+ :deep(.is-active) {
+ font-weight: bold;
+ }
}
:deep(.el_inputTop) {
margin-bottom: 0 !important;
@@ -2263,6 +1499,7 @@ const isShowFormItem2 = computed(() => {
display: flex;
justify-content: space-between;
width: 100%;
+ background-color: #fff;
height: 100%;
:deep(.el-card) {
width: 70%;
@@ -2271,18 +1508,18 @@ const isShowFormItem2 = computed(() => {
flex: 1 1 0%;
margin-left: 10px;
}
- .el_last{
+ .el_last {
display: flex;
height: 100%;
- :deep(.el-card__body){
- display: flex;
- flex-direction: column;
- flex: 1;
+ :deep(.el-card__body) {
+ display: flex;
+ flex-direction: column;
+ flex: 1;
}
- :deep(.dialog-footer){
- flex: 1;
- display: flex;
- align-items: flex-end;
+ :deep(.dialog-footer) {
+ flex: 1;
+ display: flex;
+ align-items: flex-end;
}
}
}
@@ -2295,6 +1532,9 @@ const isShowFormItem2 = computed(() => {
:deep(.el-timeline) {
padding: 0;
}
+ .ovhe {
+ padding: 6px;
+ }
.content {
position: relative;
:deep(.el-card) {
@@ -2310,6 +1550,7 @@ const isShowFormItem2 = computed(() => {
}
:deep(.el-card) {
padding: 10px;
+ box-sizing: border-box;
}
.ovhe::-webkit-scrollbar {
width: 4px;
@@ -2334,10 +1575,18 @@ const isShowFormItem2 = computed(() => {
background: #f6f6f6;
}
-
.ovhe::-webkit-scrollbar-track {
- background-color: #fff; /* 设置滚动条槽为透明 */
-}
+ background-color: #fff; /* 设置滚动条槽为透明 */
+ }
+ :deep(.el-tabs__content) {
+ padding: 0;
+ }
+ :deep(.el-timeline-item__node) {
+ background-color: #172e60;
+ }
+ :deep(.el-icon) {
+ font-size: 16px;
+ }
}
.el_Processingparty {
@@ -2358,7 +1607,6 @@ const isShowFormItem2 = computed(() => {
:deep(.el-select) {
width: 100%;
}
-
}
.ovhe {
@@ -2398,13 +1646,15 @@ const isShowFormItem2 = computed(() => {
cursor: pointer;
}
}
- :deep(.el-timeline-item__timestamp){
- display:none !important;
+ :deep(.el-timeline-item__timestamp) {
+ display: none !important;
}
}
.identifyingC1 {
background-color: #409eff;
+ border-radius: 4px;
+
border: none;
}
.identifyingC2 {
@@ -2415,4 +1665,12 @@ const isShowFormItem2 = computed(() => {
background-color: #d3832a;
border: none;
}
+.CardidentifyingC1,
+.CardidentifyingC2,
+.CardidentifyingC3 {
+ box-shadow: -1px -1px 4px 0px #e3e3e3;
+ border-top-left-radius: 20px;
+ border-bottom: 1px solid #d5d5d563 !important;
+ border-right: 1px solid #d5d5d563 !important;
+}
diff --git a/src/views/aftersales/aftersalesWorkOrderend.vue b/src/views/aftersales/aftersalesWorkOrderend.vue
index a388bd37..6da9ba1a 100644
--- a/src/views/aftersales/aftersalesWorkOrderend.vue
+++ b/src/views/aftersales/aftersalesWorkOrderend.vue
@@ -1897,7 +1897,7 @@ const submit = () => {
// ...info,
},
- processingMoneyEntityList: [], //赔付方式
+ // processingMoneyEntityList: [], //赔付方式
};
data.id = $route.query.id;
data.aftersalesProcessingResultsDTO['workOrderId'] = $route.query.id; //异常工单ID
diff --git a/src/views/distribution/artery/AddVehicleStowage.vue b/src/views/distribution/artery/AddVehicleStowage.vue
index 1e4f5943..7d33614d 100644
--- a/src/views/distribution/artery/AddVehicleStowage.vue
+++ b/src/views/distribution/artery/AddVehicleStowage.vue
@@ -1,5 +1,5 @@
-
+
@@ -23,15 +23,21 @@
-
@@ -47,8 +53,19 @@
@change="val => destinationWarehouseNameChange(val, index)"
:remote-method="remoteMethod"
:loading="details.loadingObj.loading"
- :disabled="Number(details.pageType) !== 1 || index === 0"
+ :disabled="
+ Number(details.pageType) === 3
+ ? true
+ : Number(details.pageType) === 1
+ ? index === 0
+ : index <= details.active
+ "
>
+
+
+
+
@@ -439,16 +459,22 @@
:loading="item.loading"
@inputTxt="(value, row) => item.itemInputsc(value, row, index)"
@selection="list => item.selectionChange(list, index)"
+ :isselectfun="
+ row => {
+ console.log(row);
+ return !Boolean(row.realNum);
+ }
+ "
>
@@ -475,8 +501,9 @@
+