|
@@ -1863,7 +1863,16 @@ export default {
|
|
}
|
|
}
|
|
return true
|
|
return true
|
|
|
|
|
|
- }
|
|
|
|
|
|
+ }else if (type == 3) {
|
|
|
|
+ for (var _tmp = 0; _tmp < this.companyNameOptions.length; _tmp++) {
|
|
|
|
+ console.log(name)
|
|
|
|
+ if (this.companyNameOptions[_tmp].label == name) {
|
|
|
|
+ return false
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ return true
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
|
|
},
|
|
},
|
|
print() {
|
|
print() {
|
|
@@ -2280,14 +2289,22 @@ export default {
|
|
.warehouseName == '洮南向阳乡金昊' || this
|
|
.warehouseName == '洮南向阳乡金昊' || this
|
|
.warehouseName == '白城内陆港' || this
|
|
.warehouseName == '白城内陆港' || this
|
|
.warehouseName == '山东园丰库'|| this
|
|
.warehouseName == '山东园丰库'|| this
|
|
- .warehouseName == '杜尔伯特家禾库'||this.warehouseName=='甘南宏旗库'||this.warehouseName=='洮南新友谊兴旺库')) {
|
|
|
|
|
|
+ .warehouseName == '杜尔伯特家禾库'||this.warehouseName=='甘南宏旗库'||this.warehouseName=='洮南新友谊兴旺库'||this.warehouseName=='佳屹农仓储库')) {
|
|
if (this.weighingList.seller && this.weighingList.buyer) {
|
|
if (this.weighingList.seller && this.weighingList.buyer) {
|
|
let cang = {}
|
|
let cang = {}
|
|
cang.value = this.weighingList.seller
|
|
cang.value = this.weighingList.seller
|
|
cang.label = this.weighingList.seller
|
|
cang.label = this.weighingList.seller
|
|
- if (this.check(this.weighingList.seller, 1)) {
|
|
|
|
- this.ewCustomerOptions.push(cang)
|
|
|
|
|
|
+ if(this.warehouseName=='佳屹农仓储库'){
|
|
|
|
+ if (this.check(this.weighingList.seller, 3)) {
|
|
|
|
+ this.companyNameOptions.push(cang)
|
|
|
|
+ this.companyName=this.weighingList.seller
|
|
|
|
+ }
|
|
|
|
+ }else{
|
|
|
|
+ if (this.check(this.weighingList.seller, 1)) {
|
|
|
|
+ this.ewCustomerOptions.push(cang)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
+
|
|
let cang1 = {}
|
|
let cang1 = {}
|
|
cang1.value = this.weighingList.buyer
|
|
cang1.value = this.weighingList.buyer
|
|
cang1.label = this.weighingList.buyer
|
|
cang1.label = this.weighingList.buyer
|
|
@@ -2406,13 +2423,23 @@ export default {
|
|
.warehouseName == '洮南向阳乡金昊' || this
|
|
.warehouseName == '洮南向阳乡金昊' || this
|
|
.warehouseName == '白城内陆港' || this
|
|
.warehouseName == '白城内陆港' || this
|
|
.warehouseName == '山东园丰库' || this
|
|
.warehouseName == '山东园丰库' || this
|
|
- .warehouseName == '杜尔伯特家禾库' || this.warehouseName == '甘南宏旗库' || this.warehouseName == '洮南新友谊兴旺库')) {
|
|
|
|
|
|
+ .warehouseName == '杜尔伯特家禾库' || this.warehouseName == '甘南宏旗库' || this.warehouseName == '洮南新友谊兴旺库'||this.warehouseName=='佳屹农仓储库')) {
|
|
if (this.weighingList.seller && this.weighingList.buyer) {
|
|
if (this.weighingList.seller && this.weighingList.buyer) {
|
|
let cang = {}
|
|
let cang = {}
|
|
cang.value = this.weighingList.seller
|
|
cang.value = this.weighingList.seller
|
|
cang.label = this.weighingList.seller
|
|
cang.label = this.weighingList.seller
|
|
- if (this.check(this.weighingList.seller, 1)) {
|
|
|
|
- this.ewCustomerOptions.push(cang)
|
|
|
|
|
|
+ // if (this.check(this.weighingList.seller, 1)) {
|
|
|
|
+ // this.ewCustomerOptions.push(cang)
|
|
|
|
+ // }
|
|
|
|
+ if(this.warehouseName=='佳屹农仓储库'){
|
|
|
|
+ if (this.check(this.weighingList.seller, 3)) {
|
|
|
|
+ this.companyNameOptions.push(cang)
|
|
|
|
+ this.companyName=this.weighingList.seller
|
|
|
|
+ }
|
|
|
|
+ }else{
|
|
|
|
+ if (this.check(this.weighingList.seller, 1)) {
|
|
|
|
+ this.ewCustomerOptions.push(cang)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
let cang1 = {}
|
|
let cang1 = {}
|
|
cang1.value = this.weighingList.buyer
|
|
cang1.value = this.weighingList.buyer
|