|
@@ -201,20 +201,15 @@ export default {
|
|
|
currentRadioChange2(selection) {
|
|
|
this.mapList2 = selection
|
|
|
console.log(this.mapList2)
|
|
|
- var s1 = "";
|
|
|
- this.truckPoint= s1.concat(this.mapList2.companyBranchName,this.mapList2.companyBranchName,this.mapList2.wareHouseName)
|
|
|
- this.mapList2.companyBranchName+' '+this.mapList2.companyBranchName+this.mapList2.wareHouseName
|
|
|
+
|
|
|
+ this.truckPoint= this.mapList2.companyBranchName+this.mapList2.companyBranchName+this.mapList2.wareHouseName
|
|
|
},
|
|
|
currentRadioChange3(selection) {
|
|
|
this.mapList3 = selection
|
|
|
this.truckPoint1 = this.mapList3.companyBranchName+this.mapList3.companyBranchName+this.mapList3.wareHouseName
|
|
|
},
|
|
|
- },
|
|
|
// 新增
|
|
|
makeSure() {
|
|
|
- console.log(this.form.materialNumber)
|
|
|
- console.log(this.form.materialWeight);
|
|
|
- console.log(typeof(this.form.materialNumber));
|
|
|
if(this.purchaseOrder == null){
|
|
|
this.$alert('没有选择采购订单,请点击浏览选择采购订单')
|
|
|
}else if(this.truckPoint == null){
|
|
@@ -222,15 +217,10 @@ export default {
|
|
|
}else if(this.truckPoint1 == null){
|
|
|
this.$alert('没有选择卸货点,请点击浏览选择卸货点')
|
|
|
}
|
|
|
- // }else if(typeof(this.form.materialNumber) =="undefined"&typeof(this.form.materialWeight) =="undefined"){
|
|
|
- // this.$alert('请输入物资数量或者物资重量')
|
|
|
- // }
|
|
|
let requiremnet = {
|
|
|
purchaseOrderId: this.mapList1.purchaseOrderId,
|
|
|
requiremntUnitId: this.mapList2.wareHouseId,
|
|
|
- capacityTypeId: this.form.capacityTypeId,
|
|
|
materialWeight: this.form.materialWeight,
|
|
|
- materialNumber: this.form.materialNumber,
|
|
|
requirementEstimatedDuration: this.form.requirementEstimatedDuration,
|
|
|
requirementOverlimit: this.form.requirementOverlimit,
|
|
|
requirementShipperId: this.form.requirementShipperId,
|
|
@@ -259,9 +249,8 @@ export default {
|
|
|
// 返回
|
|
|
cancel() {
|
|
|
this.$router.go(-1);
|
|
|
- },
|
|
|
-
|
|
|
-};
|
|
|
+ },
|
|
|
+}};
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|