|
@@ -126,7 +126,7 @@
|
|
|
<ws-select v-if='(deptBudgetList.purpose == "库点费用" &&mode != "暂不分配"&& deptBudgetList.storageFeeFlag==0)' v-model="goodsSource" placeholder="全部客户"
|
|
|
@change='sourceChange'>
|
|
|
<ws-option key="全部客户" label="全部客户" value="全部客户" style="color: #8890b1" />
|
|
|
- <ws-option v-for="item in customerList" :key="item.goodsSource" :label="item.goodsSource" :value="item.goodsSource"
|
|
|
+ <ws-option v-for="item in customerList" :key="item.orderId" :label="item.goodsSource" :value="item.orderId"
|
|
|
style="color: #8890b1" />
|
|
|
</ws-select>
|
|
|
<span style="margin-top:5px" v-if='mode!="暂不分配"'>合计分配:{{amount}}元</span>
|
|
@@ -313,7 +313,14 @@ weight: 4000}]],
|
|
|
if (e == '') {
|
|
|
this.goodsSource = '全部客户'
|
|
|
} else {
|
|
|
- this.goodsSource = e
|
|
|
+ for(let i=0;i<this.customerList.length;i++){
|
|
|
+ if(this.customerList[i].orderId == e){
|
|
|
+ this.orderId = this.customerList[i].orderId
|
|
|
+ this.goodsSource = this.customerList[i].goodsSource
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
this.selectOrderList()
|
|
|
},
|
|
@@ -372,7 +379,7 @@ weight: 4000}]],
|
|
|
this.datas.push(response.records[i])
|
|
|
}
|
|
|
for (let z = 0; z < this.datas.length; z++) {
|
|
|
- arr.push({ receiptDocDate: this.datas[z].issuingTime, goodsSource: this.datas[z].goodsSource, id: '', weight: this.datas[z].inWarehouseWeight, goodsName: this.datas[z].goodsName, goodsNameKey: this.datas[z].goodsNameKey })
|
|
|
+ arr.push({ receiptDocDate: this.datas[z].issuingTime, goodsSource: this.datas[z].goodsSource,orderId:this.datas[z].id, id: '', weight: this.datas[z].inWarehouseWeight, goodsName: this.datas[z].goodsName, goodsNameKey: this.datas[z].goodsNameKey })
|
|
|
}
|
|
|
this.feeDetailsDistributions = arr
|
|
|
} else {
|