|
@@ -241,7 +241,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
},
|
|
|
- getWarehouse() {debugger
|
|
|
+ getWarehouse() {
|
|
|
selectWarehouseSelf({
|
|
|
compId: sessionStorage.getItem('ws-pf_compId')
|
|
|
})
|
|
@@ -291,19 +291,21 @@ export default {
|
|
|
this.deptBudgetTotal = response.total
|
|
|
})
|
|
|
this.isShowAdopt = true
|
|
|
- // getpayment({
|
|
|
- // warehouseName: this.warehouseName,
|
|
|
- // managementType : 1
|
|
|
- // })
|
|
|
- // .toPromise()
|
|
|
- // .then((response) => {
|
|
|
- // for(let i = 0 ; i < response.length ; i++){
|
|
|
- // if(response[i].taskId){
|
|
|
- // this.isShowAdopt = true
|
|
|
- // return
|
|
|
- // }
|
|
|
- // }
|
|
|
- // })
|
|
|
+ getpayment({
|
|
|
+ currentPage: 1,
|
|
|
+ pageSize: 99999,
|
|
|
+ warehouseName: this.warehouseName,
|
|
|
+ managementType : 1
|
|
|
+ })
|
|
|
+ .toPromise()
|
|
|
+ .then((response) => {
|
|
|
+ for(let i = 0 ; i < response.length ; i++){
|
|
|
+ if(response[i].taskId){
|
|
|
+ this.isShowAdopt = true
|
|
|
+ return
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
del(row) {
|
|
|
this.$confirm(
|
|
@@ -511,13 +513,7 @@ export default {
|
|
|
this.isShowPrint = true
|
|
|
this.printData = response
|
|
|
let date = new Date()
|
|
|
- this.printData.currentTime =
|
|
|
- date.getFullYear() +
|
|
|
- '年' +
|
|
|
- date.getMonth() +
|
|
|
- '月' +
|
|
|
- date.getDay() +
|
|
|
- '日'
|
|
|
+ this.printData.currentTime = date.getFullYear() + '年' + Number(date.getMonth() + 1) + '月' + date.getDate() + '日'
|
|
|
})
|
|
|
},
|
|
|
examine() {
|