Merge pull request '漏组批次规则维护按线路重算接口换成V2' (#162) from master-dev into master

Reviewed-on: http://git.xdadan.loc/tanex/emis-frontend/pulls/162
This commit is contained in:
wuteng 2025-12-06 15:14:23 +08:00
commit 82c0c09be9

View File

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