|
@@ -11,6 +11,7 @@
|
|
<el-checkbox label="打印银行卡" name="type" class="label-width" @change="selectType"></el-checkbox>
|
|
<el-checkbox label="打印银行卡" name="type" class="label-width" @change="selectType"></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 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 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 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 label="打印发票" name="type" class="label-width" @change="selectType($event)"></el-checkbox> -->
|
|
</el-checkbox-group>
|
|
</el-checkbox-group>
|
|
@@ -105,7 +106,13 @@
|
|
href="https://taohaoliang.oss-cn-beijing.aliyuncs.com/pcfiles/%E6%94%B6%E8%B4%AD%E4%BF%A1%E6%81%AF%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF%EF%BC%88%E6%96%B0%EF%BC%89.xlsx"
|
|
href="https://taohaoliang.oss-cn-beijing.aliyuncs.com/pcfiles/%E6%94%B6%E8%B4%AD%E4%BF%A1%E6%81%AF%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF%EF%BC%88%E6%96%B0%EF%BC%89.xlsx"
|
|
style="margin-left: 8px"
|
|
style="margin-left: 8px"
|
|
>
|
|
>
|
|
- <el-button type="primary">模板下载</el-button>
|
|
|
|
|
|
+ <el-button type="primary">收购导入模板</el-button>
|
|
|
|
+ </el-link>
|
|
|
|
+ <el-link
|
|
|
|
+ href="https://taohaoliang.oss-cn-beijing.aliyuncs.com/pcfiles/2023%E5%B9%B4%E8%87%AA%E4%BA%A7%E8%87%AA%E9%94%80%E8%AF%81%E6%98%8E%EF%BC%88%E6%97%A0%E7%BB%8F%E6%B5%8E%E4%BA%BA%EF%BC%89%202023.4.19.xlsx"
|
|
|
|
+ style="margin-left: 8px"
|
|
|
|
+ >
|
|
|
|
+ <el-button type="primary">自产证明模板</el-button>
|
|
</el-link>
|
|
</el-link>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="4">
|
|
<el-col :span="4">
|
|
@@ -158,6 +165,15 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column class="table_td" prop="accountPaymentDate" width="120" label="总账付款日期"></el-table-column>
|
|
|
|
+ <el-table-column class="table_td" prop="paymentVoucherNumber" width="120" label="付款凭证编号"></el-table-column>
|
|
|
|
+ <el-table-column class="table_td" prop="amountIngPayable" width="80" label="自产证明">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
|
|
|
|
+ src="../../../public/img/fujian.png" @click="fujian(scope.row)" alt="" />
|
|
|
|
+ <span v-if="scope.row.selfCertificate != null">1</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column class="table_td" prop="updateDate" label="更新时间" width="150" sortable></el-table-column>
|
|
<el-table-column class="table_td" prop="updateDate" label="更新时间" width="150" sortable></el-table-column>
|
|
<el-table-column class="table_td" prop="status" width="80" label="状态">
|
|
<el-table-column class="table_td" prop="status" width="80" label="状态">
|
|
<template scope="scope">
|
|
<template scope="scope">
|
|
@@ -207,9 +223,9 @@
|
|
(scope.row.status != '待结算' && !scope.row.approveStatus)
|
|
(scope.row.status != '待结算' && !scope.row.approveStatus)
|
|
" @click="print1(scope.row,2)" v-hasPermission="`acquisitionManagement.acquisitionPay.yeda`">业务打印
|
|
" @click="print1(scope.row,2)" v-hasPermission="`acquisitionManagement.acquisitionPay.yeda`">业务打印
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button @click="previewPayOrder(scope.row)" class="my-pre"
|
|
|
|
|
|
+ <!-- <el-button @click="previewPayOrder(scope.row)" class="my-pre"
|
|
v-hasPermission="`acquisitionManagement.acquisitionPay.pay`">预览付款单
|
|
v-hasPermission="`acquisitionManagement.acquisitionPay.pay`">预览付款单
|
|
- </el-button>
|
|
|
|
|
|
+ </el-button> -->
|
|
<el-button type="danger" v-show="
|
|
<el-button type="danger" v-show="
|
|
(!scope.row.approveStatus ||
|
|
(!scope.row.approveStatus ||
|
|
scope.row.approveStatus == '待结算') &&
|
|
scope.row.approveStatus == '待结算') &&
|
|
@@ -377,6 +393,15 @@
|
|
<el-button type="primary" @click="invoicingconfirm">确 定</el-button>
|
|
<el-button type="primary" @click="invoicingconfirm">确 定</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <WinseaContentModal v-model="accessoryTFs" :title="$t('system.noticeCircular.information')">
|
|
|
|
+ <div v-if="!appendixIdss">
|
|
|
|
+ <ws-upload ref="upload" :size-limit="size" @onChange="onChange" :comp-id="compId" :appendix-ids="appendixIdss"
|
|
|
|
+ accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .zip, .rar"
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+ <ws-upload v-else ref="upload" :comp-id="compId" :appendix-ids="appendixIdss" :editable="false"
|
|
|
|
+ accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar" />
|
|
|
|
+ </WinseaContentModal>
|
|
<div class="mask1" v-show="isShowPrintTypeBills"></div>
|
|
<div class="mask1" v-show="isShowPrintTypeBills"></div>
|
|
<div class="print-type1" v-show="isShowPrintTypeBills">
|
|
<div class="print-type1" v-show="isShowPrintTypeBills">
|
|
<div class="print-type-content">
|
|
<div class="print-type-content">
|
|
@@ -458,7 +483,8 @@
|
|
suspendinstance,
|
|
suspendinstance,
|
|
importWord,
|
|
importWord,
|
|
getPrint,
|
|
getPrint,
|
|
- getwarehouse
|
|
|
|
|
|
+ getwarehouse,
|
|
|
|
+ uploadself
|
|
} from '@/model/houseSelfCollect/index'
|
|
} from '@/model/houseSelfCollect/index'
|
|
import {
|
|
import {
|
|
posthandle,
|
|
posthandle,
|
|
@@ -469,9 +495,11 @@
|
|
getHp
|
|
getHp
|
|
} from '@/utils/getHasPermission'
|
|
} from '@/utils/getHasPermission'
|
|
import download from '../../components/WsDownload/download'
|
|
import download from '../../components/WsDownload/download'
|
|
|
|
+ import WsUpload from '@/components/WsUpload'
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
paymentPrint,
|
|
paymentPrint,
|
|
|
|
+ WsUpload
|
|
},
|
|
},
|
|
watch: {},
|
|
watch: {},
|
|
data() {
|
|
data() {
|
|
@@ -484,6 +512,7 @@
|
|
isShowPrintType2: true,
|
|
isShowPrintType2: true,
|
|
isShowPrintType3: true,
|
|
isShowPrintType3: true,
|
|
isShowPrintType4: true,
|
|
isShowPrintType4: true,
|
|
|
|
+ isShowPrintType5:false,
|
|
customerInfo: false,
|
|
customerInfo: false,
|
|
form: {},
|
|
form: {},
|
|
labelposition: 'right',
|
|
labelposition: 'right',
|
|
@@ -651,7 +680,11 @@
|
|
ewCustomer: '黑龙江利润元粮食贸易有限公司',
|
|
ewCustomer: '黑龙江利润元粮食贸易有限公司',
|
|
printSeparately:false,
|
|
printSeparately:false,
|
|
onePrint:false,
|
|
onePrint:false,
|
|
- dialogDataList:[]
|
|
|
|
|
|
+ dialogDataList:[],
|
|
|
|
+ id:'',
|
|
|
|
+ accessoryTFs:false,
|
|
|
|
+ appendixIdss:'',
|
|
|
|
+ deptBudgetList:{}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -817,6 +850,31 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ onChange() {
|
|
|
|
+ this.$refs.upload
|
|
|
|
+ .handleSaveBill()
|
|
|
|
+ .then(async (response) => {
|
|
|
|
+ this.deptBudgetList.selfCertificate = response
|
|
|
|
+ this.deptBudgetList.id = this.id
|
|
|
|
+ uploadself(this.deptBudgetList)
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.accessoryTFs = false
|
|
|
|
+ this.$message.success('上传成功')
|
|
|
|
+ this.getList()
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ .catch((res) => {
|
|
|
|
+ EventBus.$emit('error', (JSON.parse(res) || {}).message)
|
|
|
|
+ this.$refs.upload.clearFiles()
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ fujian(row) {
|
|
|
|
+ this.id = row.id
|
|
|
|
+ this.accessoryTFs = true
|
|
|
|
+ this.appendixIdss = row.selfCertificate
|
|
|
|
+ console.log(this.appendixIdss)
|
|
|
|
+ },
|
|
changeEw(e) {
|
|
changeEw(e) {
|
|
this.ddchecked = false
|
|
this.ddchecked = false
|
|
if (e) {
|
|
if (e) {
|
|
@@ -1380,6 +1438,9 @@
|
|
case '打印检斤单':
|
|
case '打印检斤单':
|
|
this.isShowPrintType4 = !this.isShowPrintType4
|
|
this.isShowPrintType4 = !this.isShowPrintType4
|
|
break
|
|
break
|
|
|
|
+ case '打印自产证明':
|
|
|
|
+ this.isShowPrintType5 = !this.isShowPrintType5
|
|
|
|
+ break
|
|
// case '打印回执单':
|
|
// case '打印回执单':
|
|
// this.isShowPrintType5 = !this.isShowPrintType5
|
|
// this.isShowPrintType5 = !this.isShowPrintType5
|
|
// break
|
|
// break
|