|
@@ -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
|
|
}
|
|
}
|
|
@@ -428,6 +417,7 @@
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
inOutNo() {
|
|
inOutNo() {
|
|
|
|
+ let that = this
|
|
this.$api.doRequest('get', '/inOutWarehouseTask/selectInOutWarehouseNo', {
|
|
this.$api.doRequest('get', '/inOutWarehouseTask/selectInOutWarehouseNo', {
|
|
flag: 2,
|
|
flag: 2,
|
|
warehouseName:this.warehouseName,
|
|
warehouseName:this.warehouseName,
|
|
@@ -443,8 +433,20 @@
|
|
this.detailData.contractNo = this.inOutNoList[0].moveTaskNo
|
|
this.detailData.contractNo = this.inOutNoList[0].moveTaskNo
|
|
}
|
|
}
|
|
this.detailData.goodsName = this.inOutNoList[0].goodsName
|
|
this.detailData.goodsName = this.inOutNoList[0].goodsName
|
|
|
|
+ this.detailData.goodsNameKey = this.inOutNoList[0].goodsNameKey;
|
|
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,
|
|
@@ -500,6 +502,7 @@
|
|
this.detailData.contractNo = this.inOutNoList[e[0]].moveTaskNo
|
|
this.detailData.contractNo = this.inOutNoList[e[0]].moveTaskNo
|
|
}
|
|
}
|
|
this.detailData.goodsName = this.inOutNoList[e[0]].goodsName
|
|
this.detailData.goodsName = this.inOutNoList[e[0]].goodsName
|
|
|
|
+ this.detailData.goodsNameKey = this.inOutNoList[e[0]].goodsNameKey;
|
|
this.detailData.grade = this.inOutNoList[e[0]].grade
|
|
this.detailData.grade = this.inOutNoList[e[0]].grade
|
|
this.detailData.inOutType = this.inOutNoList[e[0]].inOutType
|
|
this.detailData.inOutType = this.inOutNoList[e[0]].inOutType
|
|
for (var i = 0; i < this.contractNoList.length; i++) {
|
|
for (var i = 0; i < this.contractNoList.length; i++) {
|