|
@@ -323,6 +323,7 @@
|
|
|
getstaff,
|
|
|
goodsnameXiala,
|
|
|
getReceiptTaskNo,
|
|
|
+ getPrintInfo
|
|
|
} from '@/model/warehouse/index'
|
|
|
import Pagination from '@/components/Pagination'
|
|
|
import WsUpload from '@/components/WsUpload'
|
|
@@ -1451,6 +1452,8 @@
|
|
|
}).then(() => {
|
|
|
this.$refs.deptBudgetList.validate((valid) => {
|
|
|
if (valid) {
|
|
|
+ console.log( this.deptBudgetList)
|
|
|
+
|
|
|
this.deptBudgetList.grossWeight /= 1000
|
|
|
this.deptBudgetList.tare /= 1000
|
|
|
this.deptBudgetList.netWeight /= 1000
|
|
@@ -1470,25 +1473,19 @@
|
|
|
}
|
|
|
this.$message.success('添加成功')
|
|
|
if (status) {
|
|
|
- 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.grossWeight = this.deptBudgetList.grossWeight
|
|
|
- this.weightbills.tare = this.deptBudgetList.tare
|
|
|
- this.weightbills.netWeight = this.deptBudgetList.netWeight
|
|
|
- this.weightbills.outType = this.deptBudgetList.outType
|
|
|
- this.weightbills.backOffice = this.deptBudgetList.outType
|
|
|
-
|
|
|
- var date = new Date()
|
|
|
- this.weightbills.updateDate = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' +
|
|
|
- date.getDate() + ' ' + date.getHours() + ':' + date.getMinutes() + ':' + date.getSeconds()
|
|
|
- localStorage.setItem('ck_bd_printData1',JSON.stringify(this.weightbills))
|
|
|
- window.open('../../../../static/weightCheckOut.html?type=2')
|
|
|
+ getPrintInfo({
|
|
|
+ id: response,
|
|
|
+ })
|
|
|
+ .toPromise()
|
|
|
+ .then((res) => {
|
|
|
+ localStorage.setItem('ck_bd_printData',JSON.stringify(res))//出库皮重检斤
|
|
|
+ window.open('../../../../static/weightCheckInOut.html?type=2')
|
|
|
+ })
|
|
|
+ // var date = new Date()
|
|
|
+ // this.weightbills.updateDate = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' +
|
|
|
+ // date.getDate() + ' ' + date.getHours() + ':' + date.getMinutes() + ':' + date.getSeconds()
|
|
|
+ // localStorage.setItem('ck_bd_printData',JSON.stringify(this.deptBudgetList))//出库皮重检斤
|
|
|
+ // window.open('../../../../static/weightCheckInOut.html?type=2')
|
|
|
}
|
|
|
this.$router.push({
|
|
|
path: 'warehouseManagementList',
|