|
@@ -145,7 +145,7 @@
|
|
</span>
|
|
</span>
|
|
<el-button @click="settlement(2, scope.row)" v-hasPermission="`acquisitionManagement.acquisitionPay.view`">查看
|
|
<el-button @click="settlement(2, scope.row)" v-hasPermission="`acquisitionManagement.acquisitionPay.view`">查看
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button v-if="scope.row.approveStatus&&scope.row.reverseFlag!=1" @click="settleaccounts(scope.row)" v-hasPermission="`acquisitionManagement.acquisitionPay.view`">反结算
|
|
|
|
|
|
+ <el-button v-if="scope.row.approveStatus&&scope.row.reverseFlag!=1" @click="settleaccounts(scope.row)" v-hasPermission="`acquisitionManagement.acquisitionPay.seet`">反结算
|
|
</el-button>
|
|
</el-button>
|
|
<el-button v-if="
|
|
<el-button v-if="
|
|
scope.row.approveStatus ||
|
|
scope.row.approveStatus ||
|
|
@@ -310,7 +310,21 @@
|
|
:preview-src-list="[paymentReceipt]">
|
|
:preview-src-list="[paymentReceipt]">
|
|
</el-image>
|
|
</el-image>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
-
|
|
|
|
|
|
+ <el-dialog width="50%" title="开票信息" :visible.sync="invoicingshow" :close="invoicingClose">
|
|
|
|
+ <el-form class="customer">
|
|
|
|
+ <el-form-item label="税控盘:">
|
|
|
|
+ <el-select v-model="invoiceFlag" placeholder="请选择税控盘"
|
|
|
|
+ filterable clearable style="margin: 0 10px">
|
|
|
|
+ <el-option v-for="item in invoicingList" :key="'invoicing'+item.value" :label="item.label" :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-form>
|
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
|
+ <el-button @click="invoicingshow = false">取 消</el-button>
|
|
|
|
+ <el-button type="primary" @click="invoicingconfirm">确 定</el-button>
|
|
|
|
+ </span>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -357,12 +371,14 @@
|
|
paymentReceipt: '',
|
|
paymentReceipt: '',
|
|
isPreviewPayOrder: false,
|
|
isPreviewPayOrder: false,
|
|
printType: 0,
|
|
printType: 0,
|
|
|
|
+ invoiceFlag:'',
|
|
isShowPrintType1: true,
|
|
isShowPrintType1: true,
|
|
isShowPrintType2: true,
|
|
isShowPrintType2: true,
|
|
isShowPrintType3: true,
|
|
isShowPrintType3: true,
|
|
isShowPrintType4: true,
|
|
isShowPrintType4: true,
|
|
customerInfo: false,
|
|
customerInfo: false,
|
|
form: {},
|
|
form: {},
|
|
|
|
+ invoicingList:[{label:'航天信息',value:1},{label:'百旺',value:2}],
|
|
formLabelWidth: '300px',
|
|
formLabelWidth: '300px',
|
|
invoicing: '',
|
|
invoicing: '',
|
|
deleteshow: false,
|
|
deleteshow: false,
|
|
@@ -405,6 +421,7 @@
|
|
warehouseNameKey: '',
|
|
warehouseNameKey: '',
|
|
warehouseName: '',
|
|
warehouseName: '',
|
|
isShowPrint: false,
|
|
isShowPrint: false,
|
|
|
|
+ invoicingshow:false,
|
|
printData: {},
|
|
printData: {},
|
|
warehouse: [],
|
|
warehouse: [],
|
|
disabled: false,
|
|
disabled: false,
|
|
@@ -442,6 +459,9 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ invoicingClose(){
|
|
|
|
+ this.invoicingshow=false
|
|
|
|
+ },
|
|
settleaccounts(row){
|
|
settleaccounts(row){
|
|
this.$confirm('确定将该笔业务进行反结算操作?', '提示', {
|
|
this.$confirm('确定将该笔业务进行反结算操作?', '提示', {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
@@ -606,21 +626,12 @@
|
|
xmlhttp.send()
|
|
xmlhttp.send()
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- invoicingClick() {
|
|
|
|
- // let data = JSON.stringify({
|
|
|
|
- // paymentManagementList : this.modification
|
|
|
|
- // })
|
|
|
|
- // //开票
|
|
|
|
- // invoicing(data)
|
|
|
|
- // .toPromise()
|
|
|
|
- // .then(response => {
|
|
|
|
- // console.log(response)
|
|
|
|
- // })
|
|
|
|
-
|
|
|
|
|
|
+ invoicingconfirm(){
|
|
let data = {
|
|
let data = {
|
|
paymentManagementList: this.modification,
|
|
paymentManagementList: this.modification,
|
|
}
|
|
}
|
|
for (let i = 0; i < this.modification.length; i++) {
|
|
for (let i = 0; i < this.modification.length; i++) {
|
|
|
|
+ this.modification[i].invoiceFlag=this.invoiceFlag
|
|
if (
|
|
if (
|
|
this.modification[i].status != '全部付款' &&
|
|
this.modification[i].status != '全部付款' &&
|
|
this.modification[i].status != '部分付款' &&
|
|
this.modification[i].status != '部分付款' &&
|
|
@@ -647,6 +658,19 @@
|
|
})
|
|
})
|
|
.catch(() => {})
|
|
.catch(() => {})
|
|
},
|
|
},
|
|
|
|
+ invoicingClick() {
|
|
|
|
+ this.invoicingshow=true
|
|
|
|
+ // let data = JSON.stringify({
|
|
|
|
+ // paymentManagementList : this.modification
|
|
|
|
+ // })
|
|
|
|
+ // //开票
|
|
|
|
+ // invoicing(data)
|
|
|
|
+ // .toPromise()
|
|
|
|
+ // .then(response => {
|
|
|
|
+ // console.log(response)
|
|
|
|
+ // })
|
|
|
|
+
|
|
|
|
+ },
|
|
customer(row) {
|
|
customer(row) {
|
|
getCustomerLook({
|
|
getCustomerLook({
|
|
id: row.identityId,
|
|
id: row.identityId,
|