|
@@ -749,13 +749,15 @@
|
|
|
}
|
|
|
this.dataList.goodsName = this.outContractNo[i].goodsName
|
|
|
this.dataList.goodsNameKey = this.outContractNo[i].goodsNameKey
|
|
|
- this.cost = this.outContractNo[i].contractPrice
|
|
|
- if (this.cost) {
|
|
|
- this.isGetCost = true
|
|
|
- this.dataList.cost = this.cost - this.dataList.deductionAmount
|
|
|
- } else {
|
|
|
- this.isGetCost = false
|
|
|
- this.dataList.cost = this.dataList.cost
|
|
|
+ if(!this.dataList.cost){
|
|
|
+ this.cost = this.outContractNo[i].contractPrice
|
|
|
+ if (this.cost) {
|
|
|
+ this.isGetCost = true
|
|
|
+ this.dataList.cost = this.cost - this.dataList.deductionAmount
|
|
|
+ } else {
|
|
|
+ this.isGetCost = false
|
|
|
+ this.dataList.cost = this.dataList.cost
|
|
|
+ }
|
|
|
}
|
|
|
this.dataList.inOutType = this.outContractNo[i].inOutType
|
|
|
if (this.outContractNo[i].inOutType == '移库入库') {
|