产品关联新增计量单位关联

fencang
anthonywj 3 years ago
parent 5000ad82b4
commit 703e78b06a

@ -256,6 +256,7 @@ import {combineUdi} from "../../api/basic/udiRelevance";
import {getBasicThirdSys} from "../../api/basic/basicThirdSys"; import {getBasicThirdSys} from "../../api/basic/basicThirdSys";
import {getInvbasdoc} from "../../api/basic/getErps"; import {getInvbasdoc} from "../../api/basic/getErps";
import selectDiDetail from "@/views/basic/SelectDIDetailDialog"; import selectDiDetail from "@/views/basic/SelectDIDetailDialog";
export default { export default {
name: "closeDialog", name: "closeDialog",
props: { props: {
@ -291,6 +292,10 @@ export default {
thirdId: "", thirdId: "",
keys: [], keys: [],
thirdSys: null, thirdSys: null,
manufactory: null,
price: null,
erpName: null,
measname: null,
}, },
fromOptions: [], fromOptions: [],
checked: true, checked: true,
@ -436,6 +441,7 @@ export default {
} }
this.combineQuery.manufactory = this.currentRow.manufactory; this.combineQuery.manufactory = this.currentRow.manufactory;
this.combineQuery.price = this.currentRow.price; this.combineQuery.price = this.currentRow.price;
this.combineQuery.measname = this.currentRow.measname;
combineUdi(this.combineQuery) combineUdi(this.combineQuery)
.then((response) => { .then((response) => {
if (response.code == 20000) { if (response.code == 20000) {

@ -301,9 +301,7 @@
<script> <script>
import {getBasicInstrumentMaintains, getBasicInstrumentMaintainsFilterProduct} from "../../api/basic/basicInstrumentMaintain"; import {getBasicInstrumentMaintains, getBasicInstrumentMaintainsFilterProduct} from "../../api/basic/basicInstrumentMaintain";
import {combineUdi} from "../../api/basic/basicInstrumentMaintainRelevance";
import store from "../../store"; import store from "../../store";
import {insertCompanySalesman, updateCompanySalesman} from "../../api/warehouse/companySalesman";
import {insertCompanyProductRelevance, updateCompanyProductRelevance} from "../../api/warehouse/companyProductRelevance"; import {insertCompanyProductRelevance, updateCompanyProductRelevance} from "../../api/warehouse/companyProductRelevance";
export default { export default {

Loading…
Cancel
Save