|
@@ -345,17 +345,6 @@
|
|
this.detailData.contractNo = _data.contractNo;
|
|
this.detailData.contractNo = _data.contractNo;
|
|
this.detailData.goodsNameKey = _data.goodsNameKey;
|
|
this.detailData.goodsNameKey = _data.goodsNameKey;
|
|
this.detailData.inOutType = _data.inOutType;
|
|
this.detailData.inOutType = _data.inOutType;
|
|
- if (this.detailData.inOutType == '采购入库') {
|
|
|
|
- this.detailData.inOutTypeKey = 1
|
|
|
|
- } else if (this.detailData.inOutType == '移库入库') {
|
|
|
|
- this.detailData.inOutTypeKey = 3
|
|
|
|
- } else if (this.detailData.inOutType == '暂存入库') {
|
|
|
|
- this.detailData.inOutTypeKey = 4
|
|
|
|
- } else if (this.detailData.inOutType == '贸易服务入库') {
|
|
|
|
- this.detailData.inOutTypeKey = 5
|
|
|
|
- } else if (this.detailData.inOutType == '退库') {
|
|
|
|
- this.detailData.inOutTypeKey = 6
|
|
|
|
- }
|
|
|
|
if (_data.unitContractPrice) {
|
|
if (_data.unitContractPrice) {
|
|
this.detailData.cost = _data.unitContractPrice
|
|
this.detailData.cost = _data.unitContractPrice
|
|
}
|
|
}
|
|
@@ -432,7 +421,7 @@
|
|
flag: 2,
|
|
flag: 2,
|
|
warehouseName:this.warehouseName,
|
|
warehouseName:this.warehouseName,
|
|
agentKey : this.userInfo.id
|
|
agentKey : this.userInfo.id
|
|
- }).then(res => {
|
|
|
|
|
|
+ }).then(res => {debugger
|
|
this.inOutNoList = res.data.data
|
|
this.inOutNoList = res.data.data
|
|
if(this.inOutNoList.length > 0){
|
|
if(this.inOutNoList.length > 0){
|
|
this.detailData.inOutTaskNo = this.inOutNoList[0].inOutTaskNo
|
|
this.detailData.inOutTaskNo = this.inOutNoList[0].inOutTaskNo
|
|
@@ -445,6 +434,17 @@
|
|
this.detailData.goodsName = this.inOutNoList[0].goodsName
|
|
this.detailData.goodsName = this.inOutNoList[0].goodsName
|
|
this.detailData.grade = this.inOutNoList[0].grade
|
|
this.detailData.grade = this.inOutNoList[0].grade
|
|
this.detailData.inOutType = this.inOutNoList[0].inOutType
|
|
this.detailData.inOutType = this.inOutNoList[0].inOutType
|
|
|
|
+ if (this.detailData.inOutType == '采购入库') {
|
|
|
|
+ this.detailData.inOutTypeKey = 1
|
|
|
|
+ } else if (this.detailData.inOutType == '移库入库') {
|
|
|
|
+ this.detailData.inOutTypeKey = 3
|
|
|
|
+ } else if (this.detailData.inOutType == '暂存入库') {
|
|
|
|
+ this.detailData.inOutTypeKey = 4
|
|
|
|
+ } else if (this.detailData.inOutType == '贸易服务入库') {
|
|
|
|
+ this.detailData.inOutTypeKey = 5
|
|
|
|
+ } else if (this.detailData.inOutType == '退库') {
|
|
|
|
+ this.detailData.inOutTypeKey = 6
|
|
|
|
+ }
|
|
//查询所有的合同 进行获取车牌号
|
|
//查询所有的合同 进行获取车牌号
|
|
this.$api.doRequest('get', '/warehouseBaseInfo/selectContractNoList', {
|
|
this.$api.doRequest('get', '/warehouseBaseInfo/selectContractNoList', {
|
|
flag: 7,
|
|
flag: 7,
|