|
@@ -113,7 +113,7 @@
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</div>
|
|
</div>
|
|
- <div class="shdw-style" v-if="checked || (!ddchecked && !checked)">
|
|
|
|
|
|
+ <div class="shdw-style" v-if="checked&&serviceManagementType==3 || (!ddchecked && !checked && serviceManagementType==3)">
|
|
<div>发货单位:</div>
|
|
<div>发货单位:</div>
|
|
<!-- <div>{{companyName}}</div> -->
|
|
<!-- <div>{{companyName}}</div> -->
|
|
<el-select v-model="customer" placeholder="请选择" style="width: 75%;">
|
|
<el-select v-model="customer" placeholder="请选择" style="width: 75%;">
|
|
@@ -488,6 +488,7 @@
|
|
customerNumberCard:'',
|
|
customerNumberCard:'',
|
|
positionId:'',
|
|
positionId:'',
|
|
warehouseInOutDetail:{},
|
|
warehouseInOutDetail:{},
|
|
|
|
+ serviceManagementType:1,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
activated() {
|
|
activated() {
|
|
@@ -1211,16 +1212,18 @@
|
|
// if (this.check(this.modification[_num].seller, 1)) {
|
|
// if (this.check(this.modification[_num].seller, 1)) {
|
|
// this.ewCustomerOptions.push(cang)
|
|
// this.ewCustomerOptions.push(cang)
|
|
// }
|
|
// }
|
|
|
|
+ this.serviceManagementType=this.modification[_num].serviceManagementType
|
|
|
|
+ if(this.modification[_num].serviceManagementType == 3){
|
|
|
|
+ this.customerOptions=[{label:this.modification[_num].customer,value:this.modification[_num].customer}]
|
|
|
|
+ this.customerOptions.push({label:this.modification[_num].seller,value:this.modification[_num].seller})
|
|
|
|
+ this.customer=this.modification[_num].customer
|
|
|
|
+ }
|
|
if(this.warehouseName=='佳屹农仓储库'){
|
|
if(this.warehouseName=='佳屹农仓储库'){
|
|
if (this.check(this.modification[_num].buyer, 3)) {
|
|
if (this.check(this.modification[_num].buyer, 3)) {
|
|
this.companyNameOptions.push(cang1)
|
|
this.companyNameOptions.push(cang1)
|
|
this.companyName=this.modification[_num].buyer
|
|
this.companyName=this.modification[_num].buyer
|
|
}
|
|
}
|
|
- if(this.modification[_num].serviceManagementType == 3){
|
|
|
|
- this.customerOptions=[{label:this.modification[_num].customer,value:this.modification[_num].customer}]
|
|
|
|
- this.customerOptions.push({label:this.modification[_num].seller,value:this.modification[_num].seller})
|
|
|
|
- this.customer=this.modification[_num].customer
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
}else{
|
|
}else{
|
|
if (this.check(this.modification[_num].buyer, 2)) {
|
|
if (this.check(this.modification[_num].buyer, 2)) {
|
|
this.ewCustomerOptions.push(cang1)
|
|
this.ewCustomerOptions.push(cang1)
|
|
@@ -1248,18 +1251,20 @@
|
|
let cang1 = {}
|
|
let cang1 = {}
|
|
cang1.value = row.buyer
|
|
cang1.value = row.buyer
|
|
cang1.label = row.buyer
|
|
cang1.label = row.buyer
|
|
|
|
+ this.serviceManagementType=row.serviceManagementType
|
|
|
|
+ if(row.serviceManagementType == 3){
|
|
|
|
+ this.customerOptions=[{label:row.customer,value:row.customer}]
|
|
|
|
+ this.customerOptions.push({label:row.seller,value:row.seller})
|
|
|
|
+ this.customer=row.customer
|
|
|
|
+ console.log(this.customerOptions,this.customer,222222)
|
|
|
|
+ }
|
|
console.log(111111)
|
|
console.log(111111)
|
|
if(this.warehouseName=='佳屹农仓储库'){
|
|
if(this.warehouseName=='佳屹农仓储库'){
|
|
if (this.check(row.buyer, 3)) {
|
|
if (this.check(row.buyer, 3)) {
|
|
this.companyNameOptions.push(cang1)
|
|
this.companyNameOptions.push(cang1)
|
|
this.companyName=row.buyer
|
|
this.companyName=row.buyer
|
|
}
|
|
}
|
|
- if(row.serviceManagementType == 3){
|
|
|
|
- this.customerOptions=[{label:row.customer,value:row.customer}]
|
|
|
|
- this.customerOptions.push({label:row.seller,value:row.seller})
|
|
|
|
- this.customer=row.customer
|
|
|
|
- console.log(this.customerOptions,this.customer,222222)
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
|
|
}else{
|
|
}else{
|
|
if (this.check(row.buyer, 2)) {
|
|
if (this.check(row.buyer, 2)) {
|