漏组批次规则维护按线路重算接口换成V2

This commit is contained in:
wuteng 2025-12-06 15:13:37 +08:00
parent 12d7b81a19
commit 3899cfa5da

View File

@ -180,7 +180,7 @@
import { listEmisTransPlanRule, getEmisTransPlanRule, delEmisTransPlanRule, addEmisTransPlanRule, updateEmisTransPlanRule } from "@/api/emis/emisTransPlanRule"; import { listEmisTransPlanRule, getEmisTransPlanRule, delEmisTransPlanRule, addEmisTransPlanRule, updateEmisTransPlanRule } from "@/api/emis/emisTransPlanRule";
import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker'; import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker';
import { autoScanSiteBatch } from "@/api/emis/emisCommon" import { autoScanSiteBatchV2 } from "@/api/emis/emisCommon"
import emisTransPlanRuleForm from '@/views/emis/emisTransPlanRule/emisTransPlanRuleForm'; import emisTransPlanRuleForm from '@/views/emis/emisTransPlanRule/emisTransPlanRuleForm';
import EmisSupplierPicker from '@/views/emis/EmisBaseTools/EmisSupplierPicker'; import EmisSupplierPicker from '@/views/emis/EmisBaseTools/EmisSupplierPicker';
@ -369,7 +369,7 @@ export default {
if(this.selectList&&this.selectList.length>0){ if(this.selectList&&this.selectList.length>0){
let lineCode=this.selectList[0].lineCode; let lineCode=this.selectList[0].lineCode;
this.$modal.confirm('确认是否重算').then(function() { this.$modal.confirm('确认是否重算').then(function() {
return autoScanSiteBatch(lineCode); return autoScanSiteBatchV2(lineCode);
}).then(() => { }).then(() => {
this.getList(); this.getList();
this.$modal.msgSuccess("重算成功"); this.$modal.msgSuccess("重算成功");