领料优化
This commit is contained in:
parent
8b6c0ead08
commit
3ce49c1eef
|
|
@ -314,7 +314,7 @@ import {
|
||||||
} from "@/api/purchase/goodsArrived";
|
} from "@/api/purchase/goodsArrived";
|
||||||
import {
|
import {
|
||||||
getMaterialProjectListApi,
|
getMaterialProjectListApi,
|
||||||
getListUnite,
|
getMaterialUnitListApi,
|
||||||
addApplyInfo,
|
addApplyInfo,
|
||||||
updateApplyInfo,
|
updateApplyInfo,
|
||||||
getApplyInfo,
|
getApplyInfo,
|
||||||
|
|
@ -598,7 +598,7 @@ export default {
|
||||||
// }
|
// }
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
// projectId: this.maForm.projectId
|
// projectId: this.maForm.projectId
|
||||||
getListUnite({ }).then((response) => {
|
getMaterialUnitListApi({ projectId: this.maForm.projectId }).then((response) => {
|
||||||
this.uniteList = response.data;
|
this.uniteList = response.data;
|
||||||
});
|
});
|
||||||
},500)
|
},500)
|
||||||
|
|
@ -606,14 +606,14 @@ export default {
|
||||||
/** 租赁单位和工程-下拉选 */
|
/** 租赁单位和工程-下拉选 */
|
||||||
projectInfoList() {
|
projectInfoList() {
|
||||||
if (!this.isEdit) {
|
if (!this.isEdit) {
|
||||||
getListUnite({ projectId: null }).then((response) => {
|
getMaterialUnitListApi({ projectId: null }).then((response) => {
|
||||||
this.uniteList = response.data;
|
this.uniteList = response.data;
|
||||||
});
|
});
|
||||||
getMaterialProjectListApi({ unitId: null }).then((response) => {
|
getMaterialProjectListApi({ unitId: null }).then((response) => {
|
||||||
this.projectList = response.data;
|
this.projectList = response.data;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
getListUnite({ projectId: null }).then((response) => {
|
getMaterialUnitListApi({ projectId: null }).then((response) => {
|
||||||
this.uniteList = response.data;
|
this.uniteList = response.data;
|
||||||
});
|
});
|
||||||
getMaterialProjectListApi({ unitId: this.maForm.unitId }).then((response) => {
|
getMaterialProjectListApi({ unitId: this.maForm.unitId }).then((response) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue