diff --git a/src/views/emis/emisTransPlanRule/index.vue b/src/views/emis/emisTransPlanRule/index.vue index 68a1e1b7..3e04197e 100644 --- a/src/views/emis/emisTransPlanRule/index.vue +++ b/src/views/emis/emisTransPlanRule/index.vue @@ -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("重算成功");