同步代码-物料卡片添加推送WMS按钮及修改import路径-yyliz
This commit is contained in:
parent
6e732c1b75
commit
956d4520be
|
|
@ -707,6 +707,42 @@ export default function (props, id) {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
|
case 'pushfluxwms':
|
||||||
|
pk = this.props.form.getFormItemsValue(formid, 'pk_material');
|
||||||
|
pks.push(pk.value)
|
||||||
|
ajax({
|
||||||
|
url: "/nccloud/uapbd/material/pushtowms.do",
|
||||||
|
data: {
|
||||||
|
pks: pks
|
||||||
|
},
|
||||||
|
success: (res) => {
|
||||||
|
if (res.data) {
|
||||||
|
if (res.data.success == true) {
|
||||||
|
this.onButtonClick(props, 'devRefresh');
|
||||||
|
toast({
|
||||||
|
content: res.data.message,
|
||||||
|
color: 'success'
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
toast({
|
||||||
|
content: res.data.message,
|
||||||
|
color: 'danger'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
toast({
|
||||||
|
content: "推送失败",
|
||||||
|
color: 'danger'
|
||||||
|
});/* 国际化处理: 操作成功*/
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
|
break;
|
||||||
|
case 'devRefresh':
|
||||||
|
this.getData(() => {
|
||||||
|
});
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*q2LCmxM8POvl78IL0LiydqJ/RITUXLjH1kojvbLBRO8=*/
|
/*q2LCmxM8POvl78IL0LiydqJ/RITUXLjH1kojvbLBRO8=*/
|
||||||
|
|
@ -15,13 +15,13 @@ import AssignStepModal from '../../excomponents/assign/AssignStepModal';
|
||||||
import AssignModal from '../../excomponents/assign/AssignModal';
|
import AssignModal from '../../excomponents/assign/AssignModal';
|
||||||
import DataTempletModal from './../dataTemplet/DataTempletModal';
|
import DataTempletModal from './../dataTemplet/DataTempletModal';
|
||||||
import { urls, values, BatchUpdateWizardConfig, EditTabConfig} from "./constance";
|
import { urls, values, BatchUpdateWizardConfig, EditTabConfig} from "./constance";
|
||||||
import NCUploader from 'uap/common/components/NCUploader';
|
import NCUploader from '../../../../../uap/common/components/NCUploader';
|
||||||
import {modifierMeta,onRowDoubleClick,updateButtonStatus,modifierAssistant} from './../event';
|
import {modifierMeta,onRowDoubleClick,updateButtonStatus,modifierAssistant} from './../event';
|
||||||
import Batcheditmodal from '../../excomponents/batchEdit/BatchEditModal';
|
import Batcheditmodal from '../../excomponents/batchEdit/BatchEditModal';
|
||||||
import Batcheditstepmodal from '../../excomponents/batchEdit/BatchEditStepModal';
|
import Batcheditstepmodal from '../../excomponents/batchEdit/BatchEditStepModal';
|
||||||
import SimulatedTableFolding from '../../../../common/components/SimulatedTableFolding';
|
import SimulatedTableFolding from '../../../../common/components/SimulatedTableFolding';
|
||||||
import CheckBoxGroup from '../../excomponents/checkBoxGroup';
|
import CheckBoxGroup from '../../excomponents/checkBoxGroup';
|
||||||
import AdaptHeightDiv from "uap/common/components/AdaptHeightDiv"
|
import AdaptHeightDiv from "../../../../../uap/common/components/AdaptHeightDiv"
|
||||||
const { NCAffix,NCDiv, NCTabsControl, NCButton } = base;
|
const { NCAffix,NCDiv, NCTabsControl, NCButton } = base;
|
||||||
const {PrintOutput } = high;
|
const {PrintOutput } = high;
|
||||||
export default function() {
|
export default function() {
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,9 @@ import {
|
||||||
} from 'nc-lightapp-front';
|
} from 'nc-lightapp-front';
|
||||||
import AssignStepModal from '../excomponents/assign/AssignStepModal';
|
import AssignStepModal from '../excomponents/assign/AssignStepModal';
|
||||||
import AssignModal from '../excomponents/assign/AssignModal';
|
import AssignModal from '../excomponents/assign/AssignModal';
|
||||||
import excelImportconfig from 'uap/common/components/excelImportconfig';
|
import excelImportconfig from '../../../../uap/common/components/excelImportconfig';
|
||||||
import ExcelOutput from 'uap/common/components/ExcelOutput';
|
import ExcelOutput from '../../../../uap/common/components/ExcelOutput';
|
||||||
import NCUploader from 'uap/common/components/NCUploader';
|
import NCUploader from '../../../../uap/common/components/NCUploader';
|
||||||
import OrgDoc from '../excomponents/OrgDoc';
|
import OrgDoc from '../excomponents/OrgDoc';
|
||||||
import MarOrg from '../excomponents/MarOrg';
|
import MarOrg from '../excomponents/MarOrg';
|
||||||
import AssignStatus from '../excomponents/AssignStatus';
|
import AssignStatus from '../excomponents/AssignStatus';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue