|
@@ -622,7 +622,6 @@ export default {
|
|
}
|
|
}
|
|
this.deptBudgetList1.warehouseName = this.$route.query.warehouseName
|
|
this.deptBudgetList1.warehouseName = this.$route.query.warehouseName
|
|
this.deptBudgetList1.binNumber = this.$route.query.binNumber
|
|
this.deptBudgetList1.binNumber = this.$route.query.binNumber
|
|
- this.getList()
|
|
|
|
this.dataList.id = this.$route.query.id
|
|
this.dataList.id = this.$route.query.id
|
|
this.dataList.grossWeight = Math.round(this.$route.query.grossWeight * 1000)
|
|
this.dataList.grossWeight = Math.round(this.$route.query.grossWeight * 1000)
|
|
this.dataList.contractNo = this.$route.query.contractNo
|
|
this.dataList.contractNo = this.$route.query.contractNo
|
|
@@ -651,19 +650,10 @@ export default {
|
|
this.dataList.statusFlag = this.$route.statusFlag
|
|
this.dataList.statusFlag = this.$route.statusFlag
|
|
this.dataList.warehouseInOutDetail = this.$route.query.warehouseInOutDetail
|
|
this.dataList.warehouseInOutDetail = this.$route.query.warehouseInOutDetail
|
|
console.log(this.dataList)
|
|
console.log(this.dataList)
|
|
- getReceiptTaskNo({
|
|
|
|
- flag: 1,
|
|
|
|
- warehouseName: this.deptBudgetList.warehouseName,
|
|
|
|
- agentKey: localStorage.getItem('ws-pf_userId'),
|
|
|
|
- })
|
|
|
|
- .toPromise()
|
|
|
|
- .then((response) => {
|
|
|
|
- this.deptBudgetList2 = response
|
|
|
|
- })
|
|
|
|
-
|
|
|
|
if(this.$route.query.automaticWeightAcquisition == '1'){
|
|
if(this.$route.query.automaticWeightAcquisition == '1'){
|
|
this.openPort()
|
|
this.openPort()
|
|
}
|
|
}
|
|
|
|
+ this.getList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
async closePort() {
|
|
async closePort() {
|
|
@@ -897,7 +887,11 @@ export default {
|
|
for (let i = 0; i < this.deptBudgetList2.length; i++) {
|
|
for (let i = 0; i < this.deptBudgetList2.length; i++) {
|
|
if (this.deptBudgetList2[i].inOutTaskNo == e) {
|
|
if (this.deptBudgetList2[i].inOutTaskNo == e) {
|
|
var data = this.deptBudgetList2[i]
|
|
var data = this.deptBudgetList2[i]
|
|
- this.dataList.contractNo = this.deptBudgetList2[i].contractNo
|
|
|
|
|
|
+ if (this.deptBudgetList2[i].contractNo) {
|
|
|
|
+ this.dataList.contractNo = this.deptBudgetList2[i].contractNo
|
|
|
|
+ } else {
|
|
|
|
+ this.dataList.contractNo = this.deptBudgetList2[i].moveTaskNo
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1522,6 +1516,15 @@ export default {
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.goodnameList = response
|
|
this.goodnameList = response
|
|
})
|
|
})
|
|
|
|
+ getReceiptTaskNo({
|
|
|
|
+ flag: 1,
|
|
|
|
+ warehouseName: this.deptBudgetList.warehouseName,
|
|
|
|
+ agentKey: localStorage.getItem('ws-pf_userId'),
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.deptBudgetList2 = response
|
|
|
|
+ })
|
|
// 品级
|
|
// 品级
|
|
pullDown({
|
|
pullDown({
|
|
constId: 'CON3',
|
|
constId: 'CON3',
|
|
@@ -1557,6 +1560,7 @@ export default {
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.outContractNo = response
|
|
this.outContractNo = response
|
|
|
|
+ this.contractNoChange(this.dataList.inOutTaskNo)
|
|
for (let i = 0; i < response.length; i++) {
|
|
for (let i = 0; i < response.length; i++) {
|
|
if (this.dataList.contractNo == response[i].contractNo) {
|
|
if (this.dataList.contractNo == response[i].contractNo) {
|
|
if (response[i].deliverType == '1') {
|
|
if (response[i].deliverType == '1') {
|