|
@@ -416,17 +416,12 @@ export default {
|
|
});
|
|
});
|
|
this.purchaseOrderNo = null
|
|
this.purchaseOrderNo = null
|
|
this.purchaseOrderId = null
|
|
this.purchaseOrderId = null
|
|
|
|
+ this.remark = null
|
|
this.form1 = [];
|
|
this.form1 = [];
|
|
} else {
|
|
} else {
|
|
- console.log();
|
|
|
|
this.remark = res.data.data.remark;
|
|
this.remark = res.data.data.remark;
|
|
this.purchaseOrderId = res.data.data.purchaseOrderId;
|
|
this.purchaseOrderId = res.data.data.purchaseOrderId;
|
|
this.purchaseOrderNo = res.data.data.purchaseOrderNo;
|
|
this.purchaseOrderNo = res.data.data.purchaseOrderNo;
|
|
- // if (res.data.data.receiveUnitId == 1) {
|
|
|
|
- // this.orderType = 6;
|
|
|
|
- // } else {
|
|
|
|
- // this.orderType = 7;
|
|
|
|
- // }
|
|
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.$message.error("请求失败");
|
|
this.$message.error("请求失败");
|
|
@@ -528,7 +523,7 @@ export default {
|
|
if (num == 1) {
|
|
if (num == 1) {
|
|
this.frist.requestUrl =
|
|
this.frist.requestUrl =
|
|
"/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050&index=" +
|
|
"/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050&index=" +
|
|
- this.input + "&supplierId=" + this.supplierId;;
|
|
|
|
|
|
+ this.input + "&supplierId=" + this.supplierId;
|
|
} else if (num == 2) {
|
|
} else if (num == 2) {
|
|
this.secend.requestUrl =
|
|
this.secend.requestUrl =
|
|
"/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
|
|
"/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
|
|
@@ -569,6 +564,7 @@ export default {
|
|
currentRadioChange1(selection) {
|
|
currentRadioChange1(selection) {
|
|
this.materialName = selection.materialName;
|
|
this.materialName = selection.materialName;
|
|
this.materialId = selection.materialId;
|
|
this.materialId = selection.materialId;
|
|
|
|
+ this.remark = null
|
|
this.getPurchaseOrderNo();
|
|
this.getPurchaseOrderNo();
|
|
},
|
|
},
|
|
currentRadioChange2(selection) {
|
|
currentRadioChange2(selection) {
|