|
@@ -691,7 +691,8 @@ import {
|
|
|
getshippinginfo,
|
|
|
postCheck,
|
|
|
getcontract,
|
|
|
- getquality
|
|
|
+ getquality,
|
|
|
+ getcustomernew
|
|
|
} from '@/model/houseSelfCollect/index'
|
|
|
import {
|
|
|
pullDown,
|
|
@@ -1278,10 +1279,33 @@ export default {
|
|
|
waterContentChange(type) {
|
|
|
//客户
|
|
|
if (this.serviceManagementType == 3) {
|
|
|
- getcustomer({
|
|
|
+ if(localStorage.getItem('ws-pf_compName')=='黑龙江中天昊元贸易有限公司'){
|
|
|
+ getcustomernew({
|
|
|
warehouseId: this.cangid,
|
|
|
goodsName: this.deptBudgetList.goodsName,
|
|
|
buyer:this.buyer
|
|
|
+ }).toPromise()
|
|
|
+ .then((response) => {
|
|
|
+ this.customerList1 = response
|
|
|
+ this.customerList = []
|
|
|
+ let customer = response
|
|
|
+ for (let i = 0; i < response.length; i++) {
|
|
|
+ if (response[i].supplier) {
|
|
|
+ customer = response[i].customerName + '(' + response[i].bankCard + ')' + '-' + response[i]
|
|
|
+ .supplier
|
|
|
+ } else {
|
|
|
+ customer = response[i].customerName + '(' + response[i].bankCard + ')'
|
|
|
+ }
|
|
|
+ this.customerList.push({
|
|
|
+ valueKey: i,
|
|
|
+ value: customer,
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ getcustomer({
|
|
|
+ warehouseId: this.cangid,
|
|
|
+ goodsName: this.deptBudgetList.goodsName
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|