|
@@ -990,14 +990,14 @@ export default {
|
|
if (
|
|
if (
|
|
this.outContractNo[i].contractNo == this.deptBudgetList.contractNo
|
|
this.outContractNo[i].contractNo == this.deptBudgetList.contractNo
|
|
) {
|
|
) {
|
|
- this.weightbills.buyer=this.outContractNo[i].buyer
|
|
|
|
- this.weightbills.seller=localStorage.getItem('ws-pf_compName')
|
|
|
|
this.weightbills.goodsName=this.outContractNo[i].goodsName
|
|
this.weightbills.goodsName=this.outContractNo[i].goodsName
|
|
this.deptBudgetList.goodsName = this.outContractNo[i].goodsName
|
|
this.deptBudgetList.goodsName = this.outContractNo[i].goodsName
|
|
this.deptBudgetList.goodsNameKey = this.outContractNo[i].goodsNameKey
|
|
this.deptBudgetList.goodsNameKey = this.outContractNo[i].goodsNameKey
|
|
this.deptBudgetList.grade = this.outContractNo[i].grade
|
|
this.deptBudgetList.grade = this.outContractNo[i].grade
|
|
this.deptBudgetList.inOutType = this.outContractNo[i].inOutType
|
|
this.deptBudgetList.inOutType = this.outContractNo[i].inOutType
|
|
if (this.outContractNo[i].inOutType == '销售出库') {
|
|
if (this.outContractNo[i].inOutType == '销售出库') {
|
|
|
|
+ this.weightbills.buyer=this.outContractNo[i].buyer
|
|
|
|
+ this.weightbills.seller=localStorage.getItem('ws-pf_compName')
|
|
if(!this.outContractNo[i].unitContractPrice){
|
|
if(!this.outContractNo[i].unitContractPrice){
|
|
this.deptBudgetList.tips =
|
|
this.deptBudgetList.tips =
|
|
'买方' +
|
|
'买方' +
|
|
@@ -1012,6 +1012,9 @@ export default {
|
|
}
|
|
}
|
|
this.deptBudgetList.inOutTypeKey = 1
|
|
this.deptBudgetList.inOutTypeKey = 1
|
|
} else if (this.outContractNo[i].inOutType == '移库出库') {
|
|
} else if (this.outContractNo[i].inOutType == '移库出库') {
|
|
|
|
+
|
|
|
|
+ this.weightbills.buyer=this.outContractNo[i].receiveWarehouse
|
|
|
|
+ this.weightbills.seller=localStorage.getItem('ws-pf_compName')
|
|
this.deptBudgetList.goodsName = data.goodsName
|
|
this.deptBudgetList.goodsName = data.goodsName
|
|
this.deptBudgetList.goodsNameKey = data.goodsNameKey
|
|
this.deptBudgetList.goodsNameKey = data.goodsNameKey
|
|
this.deptBudgetList.grade = data.grade
|
|
this.deptBudgetList.grade = data.grade
|
|
@@ -1901,7 +1904,6 @@ export default {
|
|
localStorage.getItem('ws-pf_staffName')
|
|
localStorage.getItem('ws-pf_staffName')
|
|
this.deptBudgetList.inOutFlag = 1
|
|
this.deptBudgetList.inOutFlag = 1
|
|
this.deptBudgetList.statusFlag = 3
|
|
this.deptBudgetList.statusFlag = 3
|
|
-
|
|
|
|
addstorageputList(this.deptBudgetList)
|
|
addstorageputList(this.deptBudgetList)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
@@ -1911,12 +1913,21 @@ export default {
|
|
this.$message.success('添加成功')
|
|
this.$message.success('添加成功')
|
|
if(status){
|
|
if(status){
|
|
this.weightbills.carNo=this.deptBudgetList.carNo
|
|
this.weightbills.carNo=this.deptBudgetList.carNo
|
|
|
|
+ this.weightbills.boxNo=this.deptBudgetList.boxNo
|
|
|
|
+ this.weightbills.boxNoOther=this.deptBudgetList.boxNoOther
|
|
|
|
+ this.weightbills.wingNumber=this.deptBudgetList.wingNumber
|
|
|
|
+ this.weightbills.wingNumberOther=this.deptBudgetList.wingNumberOther
|
|
|
|
+ this.weightbills.shipName=this.deptBudgetList.shipName
|
|
|
|
+ this.weightbills.shipNumber=this.deptBudgetList.shipNumber
|
|
this.weightbills.type=this.deptBudgetList.type
|
|
this.weightbills.type=this.deptBudgetList.type
|
|
this.weightbills.grossWeight=this.deptBudgetList.grossWeight
|
|
this.weightbills.grossWeight=this.deptBudgetList.grossWeight
|
|
this.weightbills.tare=this.deptBudgetList.tare
|
|
this.weightbills.tare=this.deptBudgetList.tare
|
|
this.weightbills.netWeight=this.deptBudgetList.netWeight
|
|
this.weightbills.netWeight=this.deptBudgetList.netWeight
|
|
|
|
+ this.weightbills.outType=this.deptBudgetList.outType
|
|
|
|
+ this.weightbills.backOffice=this.deptBudgetList.outType
|
|
|
|
+
|
|
var date=new Date()
|
|
var date=new Date()
|
|
- this.weightbills.updateDate=date.getFullYear()+'-'+(date.getMonth()+1)+'-'+date.getDate()+' '+date.getHours()+date.getMinutes()+date.getSeconds()
|
|
|
|
|
|
+ this.weightbills.updateDate=date.getFullYear()+'-'+(date.getMonth()+1)+'-'+date.getDate()+' '+date.getHours()+':'+date.getMinutes()+':'+date.getSeconds()
|
|
window.open( '../../../../static/weightCheckOut.html?type=2&tableData=' +encodeURIComponent(JSON.stringify(this.weightbills)))
|
|
window.open( '../../../../static/weightCheckOut.html?type=2&tableData=' +encodeURIComponent(JSON.stringify(this.weightbills)))
|
|
}
|
|
}
|
|
this.$router.push({
|
|
this.$router.push({
|