|
@@ -144,7 +144,7 @@
|
|
|
<el-button type="danger" v-if='!scope.row.approveStatus&&scope.row.status!="已驳回"' @click="del(scope.row)">删除</el-button>
|
|
|
<el-button v-if='!scope.row.approveStatus&&scope.row.status!="已驳回"' @click="settlement(1,scope.row)">结算</el-button>
|
|
|
<el-button v-if='scope.row.approveStatus||scope.row.status=="已驳回"' @click="settlement(2,scope.row)">查看</el-button>
|
|
|
- <el-button v-if='scope.row.approveStatus||scope.row.status=="已驳回"' @click='print(scope.row)'>打印</el-button>
|
|
|
+ <el-button v-if='scope.row.approveStatus||scope.row.status=="已驳回"||userJurisdiction' @click='print(scope.row)'>打印</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -203,6 +203,7 @@
|
|
|
import {getpayment,selectWarehouseSelf,delpayment,auditpayment,getpaymentexamine} from '@/model/houseSelfCollect/index'
|
|
|
import { posthandle } from '@/model/purchasingManagement/index'
|
|
|
import paymentPrint from './component/paymentPrint.vue'
|
|
|
+ import { getHp } from '@/utils/getHasPermission'
|
|
|
export default {
|
|
|
components: {paymentPrint},
|
|
|
watch: {},
|
|
@@ -227,9 +228,11 @@ export default {
|
|
|
warehouse:[],
|
|
|
value1: '', //付款日期
|
|
|
modification: [],
|
|
|
+ userJurisdiction:true
|
|
|
}
|
|
|
},
|
|
|
- activated() {
|
|
|
+ activated() {debugger
|
|
|
+ this.userJurisdiction = getHp('acquisitionManagement.acquisitionPay.print')
|
|
|
selectWarehouseSelf({
|
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
personCharge: sessionStorage.getItem('ws-pf_staffName'),
|
|
@@ -391,9 +394,6 @@ export default {
|
|
|
this.printData =response
|
|
|
console.log("printData",response)
|
|
|
})
|
|
|
-
|
|
|
- // 打印价格对照表
|
|
|
- // window.location.href="../../../static/payprint.html?data="+JSON.stringify(row)
|
|
|
},
|
|
|
examine() {
|
|
|
if (this.modification.length == 0) {
|