|
@@ -166,7 +166,7 @@ export default {
|
|
|
qualityInspectionManagement:{},
|
|
|
},
|
|
|
purchasePriceList:[],
|
|
|
- allowEdit:false,
|
|
|
+ allowEdit:'0',
|
|
|
disabled:false
|
|
|
}
|
|
|
},
|
|
@@ -273,10 +273,10 @@ export default {
|
|
|
this.warehouseName = _wareHouse.warehouseName
|
|
|
this.common.name=_wareHouse.warehouseName
|
|
|
this.warehouseId=_wareHouse.id
|
|
|
- this.warehouseNo =_wareHouse.commonWarehouseNo
|
|
|
- this.monitorUrl1=_wareHouse.monitorUrl1
|
|
|
- this.allowEdit = _wareHouse.allowEdit
|
|
|
- this.monitorUrl2=_wareHouse.monitorUrl2
|
|
|
+ this.warehouseNo =_wareHouse.commonWarehouseNo
|
|
|
+ this.monitorUrl1=_wareHouse.monitorUrl1
|
|
|
+ this.allowEdit = _wareHouse.allowEdit
|
|
|
+ this.monitorUrl2=_wareHouse.monitorUrl2
|
|
|
} else {
|
|
|
if (this.cangid&&this.cangid == response[i].id) {
|
|
|
this.warehouseName = response[i].warehouseName
|
|
@@ -290,6 +290,7 @@ export default {
|
|
|
|
|
|
if(this.warehouseList.length > 0 && !this.cangid){
|
|
|
this.warehouseName = this.warehouseList[0].value
|
|
|
+ this.allowEdit =this.warehouseList[0].allowEdit
|
|
|
this.cangid = this.warehouseList[0].warehouseId
|
|
|
this.warehouseId = this.warehouseList[0].warehouseId
|
|
|
this.WAREHOUSE[1].payname = this.warehouseList[0].value
|