Commit d9930d8b authored by 罗成兵's avatar 罗成兵

分配记录

parent b13b1bfb
......@@ -183,7 +183,8 @@
}
},
created() {
this.getSelectedMedical()
this.routerParams = this.$route.query;
this.getSelectedMedical();
this.formData.sendUnitId = this.unitInfo.unitId;
this.formData.sendUnitName = this.unitInfo.unitName;
this.getChildUnitList();
......@@ -226,10 +227,10 @@
this.$message.warning('分配物资不能为空!');
} else {
this.subLoad = true;
let params = {}
let params = {};
let reviceUnitName = this.childUnitList.filter(item => item.id == this.formData.receiveUnitId)[0].unitName;
let treeNodeId = this.childUnitList.filter(item => item.id == this.formData.receiveUnitId)[0].treeNodeId;
let unitInfo = JSON.parse(window.sessionStorage.setItem('unitInfo'));
let unitInfo = JSON.parse(window.sessionStorage.getItem('unitInfo'));
params = {
...this.formData,
receiveNodeId: treeNodeId,
......@@ -246,7 +247,7 @@
});
});
params.detailedList = detailedList;
params.menuId = this.routerParams.menuId
params.menuId = this.routerParams.menuId;
this.$api.stockManage.fetchDispatchGoods(params).then(({code}) => {
this.subLoad = false;
if (code === 'SUCCESS') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment