|
@@ -1100,7 +1100,7 @@ export default {
|
|
this.deptBudgetList.waterPriceDeduction=0
|
|
this.deptBudgetList.waterPriceDeduction=0
|
|
this.deptBudgetList.qualityPriceIncrease=0
|
|
this.deptBudgetList.qualityPriceIncrease=0
|
|
this.deptBudgetList.qualityPriceDeduction=0
|
|
this.deptBudgetList.qualityPriceDeduction=0
|
|
- // if(this.deptBudgetList.inOutType=="收购入库"){ //收购入库 价格取至合同
|
|
|
|
|
|
+ // if(this.deptBudgetList.inOutType!="收购入库"){ //非收购入库 价格取至合同
|
|
// return
|
|
// return
|
|
// }
|
|
// }
|
|
if (this.deptBudgetList.goodsName && type != 'water') {
|
|
if (this.deptBudgetList.goodsName && type != 'water') {
|
|
@@ -1155,6 +1155,7 @@ export default {
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
|
|
+ debugger
|
|
if (this.deptBudgetList.paramType == '1') {
|
|
if (this.deptBudgetList.paramType == '1') {
|
|
if(this.deptBudgetList.buckleMiscellaneous){
|
|
if(this.deptBudgetList.buckleMiscellaneous){
|
|
this.deptBudgetList.tidalGrainPrice = parseFloat(parseFloat(response) - parseFloat(this.deptBudgetList
|
|
this.deptBudgetList.tidalGrainPrice = parseFloat(parseFloat(response) - parseFloat(this.deptBudgetList
|
|
@@ -1165,7 +1166,7 @@ export default {
|
|
.dryGrainPrice : 0)).toFixed(4)
|
|
.dryGrainPrice : 0)).toFixed(4)
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- if (this.inspect.type == '干粮') {
|
|
|
|
|
|
+ if (this.deptBudgetList.type == '干粮') {
|
|
if (response == 0) {
|
|
if (response == 0) {
|
|
getDryGrainPrice({
|
|
getDryGrainPrice({
|
|
warehouseId: this.cangid,
|
|
warehouseId: this.cangid,
|