|
@@ -15,7 +15,7 @@
|
|
|
class="label-width"
|
|
|
@change="selectType($event)"
|
|
|
></el-checkbox>
|
|
|
- <el-checkbox label="打印发票" name="type" class="label-width" @change="selectType($event)"></el-checkbox>
|
|
|
+ <!-- <el-checkbox label="打印发票" name="type" class="label-width" @change="selectType($event)"></el-checkbox> -->
|
|
|
</el-checkbox-group>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -43,6 +43,7 @@
|
|
|
<ws-button :type="searchType == -1 ? 'primary' : ''" @click="screen(-1)">全部</ws-button>
|
|
|
<ws-button type="primary" @click="reject" v-if="isShowAdopt">驳回</ws-button>
|
|
|
<ws-button type="primary" @click="adopt" v-if="isShowAdopt">通过</ws-button>
|
|
|
+ <ws-button type="primary" @click="invoicingClick" v-if="isShowAdopt" v-hasPermission="`acquisitionManagement.acquisitionPay.finace`">开票</ws-button>
|
|
|
<!-- <ws-button type="primary" @click="handlepass" v-if="isShowAdopt">审核</ws-button> -->
|
|
|
<ws-button
|
|
|
type="primary"
|
|
@@ -149,6 +150,14 @@
|
|
|
@click="print(scope.row)"
|
|
|
v-hasPermission="`acquisitionManagement.acquisitionPay.print`"
|
|
|
>打印</el-button>
|
|
|
+ <el-button
|
|
|
+ v-if="
|
|
|
+ scope.row.approveStatus ||
|
|
|
+ (scope.row.status != '待结算' && !scope.row.approveStatus)
|
|
|
+ "
|
|
|
+ @click="print(scope.row)"
|
|
|
+ v-hasPermission="`acquisitionManagement.acquisitionPay.finace`"
|
|
|
+ >财务打印</el-button>
|
|
|
<el-button
|
|
|
type="danger"
|
|
|
v-if="
|
|
@@ -249,7 +258,8 @@ import {
|
|
|
getpaymentexamine,
|
|
|
getCustomerLook,
|
|
|
paymentCommit,
|
|
|
- getJurisdiction
|
|
|
+ getJurisdiction,
|
|
|
+ invoicing
|
|
|
} from '@/model/houseSelfCollect/index'
|
|
|
import { posthandle } from '@/model/purchasingManagement/index'
|
|
|
import paymentPrint from './component/paymentPrint.vue'
|
|
@@ -320,6 +330,17 @@ export default {
|
|
|
// this.getList()
|
|
|
},
|
|
|
methods: {
|
|
|
+ invoicingClick(){
|
|
|
+ let data = JSON.stringify(this.modification)
|
|
|
+ console.log("开票",this.modification)
|
|
|
+ //开票
|
|
|
+ invoicing(data)
|
|
|
+ .toPromise()
|
|
|
+ .then(response => {
|
|
|
+ console.log(response)
|
|
|
+
|
|
|
+ })
|
|
|
+ },
|
|
|
selectType(val) {
|
|
|
console.log(val)
|
|
|
console.log(this.ruleForm.type)
|
|
@@ -919,7 +940,7 @@ table {
|
|
|
right: 0;
|
|
|
margin: auto;
|
|
|
width: 200px;
|
|
|
- height: 215px;
|
|
|
+ height: 200px;
|
|
|
background: white;
|
|
|
border-radius: 10px;
|
|
|
z-index: 999;
|