|
@@ -74,6 +74,13 @@
|
|
|
v-hasPermission="`acquisitionManagement.acquisitionPay.finace`">开票</ws-button>
|
|
|
<ws-button type="primary" @click="exportlist" v-hasPermission="`acquisitionManagement.acquisitionPay.print`">导出
|
|
|
</ws-button>
|
|
|
+ <ws-button type="primary" v-show='warehouseName=="丹东港"' @click="generateClick()">生成入库单</ws-button>
|
|
|
+ <el-upload style="margin-left: 8px;" class="upload-demo inline-block margin-right-10" action=""
|
|
|
+ :on-change="importClick" :show-file-list="false"
|
|
|
+ accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
|
|
|
+ :auto-upload="false">
|
|
|
+ <ws-button type="primary">导入</ws-button>
|
|
|
+ </el-upload>
|
|
|
<!-- <ws-button type="primary" @click="handlepass" v-if="isShowAdopt">审核</ws-button> -->
|
|
|
<!-- <ws-button type="primary" @click="payment" v-hasPermission="`acquisitionManagement.acquisitionPay.pay`">付款 -->
|
|
|
<!-- </ws-button> -->
|
|
@@ -93,18 +100,13 @@
|
|
|
<!-- <el-upload :on-change="importClick" action="" :show-file-list="false" accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" :auto-upload="false"
|
|
|
v-hasPermission="`acquisitionManagement.acquisitionPay.dow`"><el-button type="primary">导入</el-button>
|
|
|
</el-upload> -->
|
|
|
- <el-upload style="margin-left: 8px;" class="upload-demo inline-block margin-right-10" action=""
|
|
|
- :on-change="importClick" :show-file-list="false"
|
|
|
- accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
|
|
|
- :auto-upload="false">
|
|
|
- <ws-button type="primary">导入</ws-button>
|
|
|
- </el-upload>
|
|
|
<el-link
|
|
|
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"
|
|
|
>
|
|
|
<el-button type="primary">模板下载</el-button>
|
|
|
</el-link>
|
|
|
+
|
|
|
</template>
|
|
|
<template slot="right"></template>
|
|
|
</BaseHeaderLayout>
|
|
@@ -386,7 +388,7 @@
|
|
|
getpaymentexamine,
|
|
|
getCustomerLook,
|
|
|
paymentCommit,
|
|
|
- getJurisdiction,
|
|
|
+ dandongOrder,
|
|
|
invoicing,
|
|
|
export1,
|
|
|
settlementEdit,
|
|
@@ -745,6 +747,26 @@
|
|
|
this.printType = 1
|
|
|
this.isShowPrintType = true
|
|
|
},
|
|
|
+ generateClick() {
|
|
|
+ this.$confirm(`确定生成入库单?`, {
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ type: 'warning',
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ dandongOrder({}).toPromise()
|
|
|
+ .then((response) => {
|
|
|
+ this.$notify.success({
|
|
|
+ title: '成功',
|
|
|
+ message: '生成入库单成功',
|
|
|
+ })
|
|
|
+ this.getList()
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ return false
|
|
|
+ })
|
|
|
+ },
|
|
|
agreementPrint() {
|
|
|
var arr = []
|
|
|
for (let i = 0; i < this.modification.length; i++) {
|