-
+
@@ -15,31 +15,31 @@
style="width:250px;margin-left: 5px;margin-top: 10px;margin-bottom: 10px"
start-placeholder="开始日期"
end-placeholder="结束日期"/>
- 查询
- 导出
+ 查询
+ 导出
-
-
+
+
{{ scope.row.外协厂家名称 }}
-
+
{{ scope.row.总价 }}
-
+
{{ scope.row.开票金额 }}
-
+
{{ scope.row.付款金额 }}
-
+
{{ scope.row.应付金额 }}
@@ -54,7 +54,7 @@
到票
-
+
{{ scope.row.发票号 }}
@@ -71,8 +71,8 @@
-
-
+ 编辑
+ 删除
@@ -108,8 +108,8 @@
-
-
+ 编辑
+ 删除
@@ -131,16 +131,16 @@
-
+
-
-
+
+
-
+
+ placeholder="到票时间"/>
@@ -163,7 +163,7 @@
-
+
@@ -230,11 +230,11 @@ export default {
付款时间: ''
},
rules: {
- 发票号: [{ required: true, message: '请输入发票号', trigger: 'blur' }],
- 开票时间: [{ required: true, message: '请选择开票时间', trigger: 'change' }],
- 开票金额: [{ required: true, message: '请输入开票金额', trigger: 'blur' }],
- 付款时间: [{ required: true, message: '请选择开票时间', trigger: 'change' }],
- 付款金额: [{ required: true, message: '请输入开票金额', trigger: 'blur' }]
+ 发票号: [{ required: true, message: '请输入到票号', trigger: 'blur' }],
+ 开票时间: [{ required: true, message: '请选择到票时间', trigger: 'change' }],
+ 开票金额: [{ required: true, message: '请输入到票金额', trigger: 'blur' }],
+ 付款时间: [{ required: true, message: '请选择到票时间', trigger: 'change' }],
+ 付款金额: [{ required: true, message: '请输入到票金额', trigger: 'blur' }]
}
}
},
@@ -244,6 +244,7 @@ export default {
methods: {
// 获取表格1数据
getParts() {
+ this.外协厂家流水号 = ''
this.loading = true
this.tableData = []
var check
@@ -257,11 +258,6 @@ export default {
}
})
},
- checkNumber() {
- // content.withdrawAmount = (withdrawAmount.match(/^\d*(\.?\d{0,2})/g)[0]) || null
- this.form1.开票金额 = Number(this.form1.开票金额).toFixed(2)
- this.form2.付款金额 = Number(this.form2.付款金额).toFixed(2)
- },
rowClick(row) {
this.外协厂家流水号 = row.外协厂家流水号
this.外协厂家流水号_Select = row.外协厂家流水号
@@ -290,9 +286,7 @@ export default {
getInvoice() {
this.loading2 = true
this.tableData2 = []
- var check2
- this.startTime ? check2 = 1 : (check2 = 0, this.startTime = '')
- getInvoice(this.外协厂家流水号_Select, check2, this.startTime[0], this.startTime[1], this.pageCurrent2, this.pageSize2).then(response => {
+ getInvoice(this.外协厂家流水号_Select, this.pageCurrent2, this.pageSize2).then(response => {
this.loading2 = false
if (response.data.rows.length !== 0) {
this.tableData2 = response.data.rows
@@ -304,9 +298,7 @@ export default {
getPayment() {
this.loading3 = true
this.tableData3 = []
- var check2
- this.startTime ? check2 = 1 : (check2 = 0, this.startTime = '')
- getPayment(this.外协厂家流水号_Select, check2, this.startTime[0], this.startTime[1], this.pageCurrent2, this.pageSize2).then(response => {
+ getPayment(this.外协厂家流水号_Select, this.pageCurrent2, this.pageSize2).then(response => {
this.loading3 = false
if (response.data.rows.length !== 0) {
this.tableData3 = response.data.rows
@@ -352,7 +344,7 @@ export default {
}
this.id_edit1 = row.id
this.param1 = 0
- this.title1 = '编辑发票'
+ this.title1 = '编辑到票'
this.form1.发票号 = row.发票号
this.form1.开票时间 = row.开票时间
this.form1.开票金额 = row.开票金额
@@ -451,7 +443,7 @@ export default {
}
this.id_edit2 = row.外协付款流水号
this.param2 = 0
- this.title2 = '编辑发票'
+ this.title2 = '编辑到票'
this.form2.付款金额 = row.付款金额
this.form2.付款时间 = row.付款日期
this.dialogFormVisible2 = true
diff --git a/src/views/PurchasingCenter/BacklogGoodsAnalysis/index.vue b/src/views/PurchasingCenter/BacklogGoodsAnalysis/index.vue
index 418b4dfb..38533a46 100644
--- a/src/views/PurchasingCenter/BacklogGoodsAnalysis/index.vue
+++ b/src/views/PurchasingCenter/BacklogGoodsAnalysis/index.vue
@@ -12,119 +12,123 @@
查询
- 采购件列表
-
-
-
- {{ scope.row.物料名称 }}
-
-
-
-
- {{ scope.row.物料型号 }}
-
-
-
-
- {{ scope.row.物料规格 }}
-
-
-
-
- {{ scope.row.仓库名称 }}
-
-
-
-
- {{ scope.row.货位名称 }}
-
-
-
-
- {{ scope.row.货位存量 }}
-
-
-
-
- {{ scope.row.待出库数量 }}
-
-
-
-
- {{ scope.row.可转滞货数量 = scope.row.货位存量 - scope.row.待出库数量 }}
-
-
-
-
- {{ scope.row.机床图号 }}
-
-
-
-
- {{ scope.row.组号 }}
-
-
-
-
- 转为滞货
-
-
-
-
-
-
- 滞货件列表
-
-
-
- {{ scope.row.物料名称 }}
-
-
-
-
- {{ scope.row.物料型号 }}
-
-
-
-
- {{ scope.row.物料规格 }}
-
-
-
-
- {{ scope.row.仓库名称 }}
-
-
-
-
- {{ scope.row.货位名称 }}
-
-
-
-
- {{ scope.row.货位存量 }}
-
-
-
-
-
-
+
+ 采购件列表
+
+
+
+ {{ scope.row.物料名称 }}
+
+
+
+
+ {{ scope.row.物料型号 }}
+
+
+
+
+ {{ scope.row.物料规格 }}
+
+
+
+
+ {{ scope.row.仓库名称 }}
+
+
+
+
+ {{ scope.row.货位名称 }}
+
+
+
+
+ {{ scope.row.货位存量 }}
+
+
+
+
+ {{ scope.row.待出库数量 }}
+
+
+
+
+ {{ scope.row.可转滞货数量 = scope.row.货位存量 - scope.row.待出库数量 }}
+
+
+
+
+ {{ scope.row.机床图号 }}
+
+
+
+
+ {{ scope.row.组号 }}
+
+
+
+
+ 转为滞货
+
+
+
+
+
+
+
+
+ 滞货件列表
+
+
+
+ {{ scope.row.物料名称 }}
+
+
+
+
+ {{ scope.row.物料型号 }}
+
+
+
+
+ {{ scope.row.物料规格 }}
+
+
+
+
+ {{ scope.row.仓库名称 }}
+
+
+
+
+ {{ scope.row.货位名称 }}
+
+
+
+
+ {{ scope.row.货位存量 }}
+
+
+
+
+
+
+
diff --git a/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue b/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue
index 28274614..7f49e22d 100644
--- a/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue
+++ b/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue
@@ -3,7 +3,7 @@
-
+
@@ -49,12 +49,12 @@
{{ scope.row.供应商名称 }}
-
+
{{ scope.row.发票号 }}
-
+
{{ scope.row.发票金额 }}
@@ -174,13 +174,13 @@
-
-
+
+
-
-
+
+
@@ -188,7 +188,7 @@
-
+
-
+
@@ -245,17 +245,17 @@
供应商:
-
+
-
-
+
+
@@ -274,7 +274,45 @@
-
+
+
+
+
+ {{ scope.row.物料名称 ? scope.row.物料名称 : scope.row.零件名称 }}
+
+
+
+
+ {{ scope.row.物料型号 ? scope.row.物料型号 : scope.row.零件图号 }}
+
+
+
+
+ {{ scope.row.物料规格 ? scope.row.物料规格 : scope.row.规格 }}
+
+
+
+
+ {{ scope.row.数量 }}
+
+
+
+
+ {{ scope.row.已到货数量 }}
+
+
+
+
+ {{ scope.row.到票数量 }}
+
+
+
+
+
+
+
+
+
@@ -308,7 +346,7 @@
-
+
@@ -329,6 +367,8 @@ export default {
name: '', // 发票结算申请
data() {
return {
+ showtable02: true,
+ showtable03: false,
supperiler: '',
disabled: false,
contractType: '采购合同',
@@ -360,7 +400,7 @@ export default {
},
rules1: {
invoiceNum: [
- { required: true, message: '请输入发票号' }
+ { required: true, message: '请输入到票号' }
],
money: [
{ required: true, message: '请输入开票金额' }
@@ -373,6 +413,7 @@ export default {
limit: 1,
tableData01: [],
tableData02: [],
+ tableDara03: [],
inboundCardNumber: '', // 入库单号
group: [] // 发票结算申请单明细流水号组
}
@@ -415,10 +456,11 @@ export default {
this.form1.tax = ''
this.form1.isCost = ''
this.form1.remark = ''
- this.title1 = '发票结算申请'
+ this.title1 = '到票结算申请'
this.dialogVisible1 = true
},
searchTable1() {
+ this.tableData2 = []
let check1, check2
this.invoiceNum ? check1 = 1 : check1 = 0
this.supperiler ? check2 = 1 : check2 = 0
@@ -482,7 +524,7 @@ export default {
this.form1.isCost = row.是否费用类
this.form1.remark = row.备注
this.form1.applyOrderNum = row.发票结算申请单流水号
- this.title1 = '编辑发票结算申请单'
+ this.title1 = '编辑到票结算申请单'
this.dialogVisible1 = true
},
handleDelete(row) {
@@ -543,7 +585,7 @@ export default {
},
submitApply(row) {
if (this.tableData2.length === 0) {
- this.$message.warning('发票结算申请明细为空!')
+ this.$message.warning('到票结算申请明细为空!')
} else {
this.$confirm('确认提交申请吗?', '提示', {
confirmButtonText: '确定',
@@ -581,12 +623,13 @@ export default {
this.title2 = '追加入库'
this.dialogVisible2 = true
} else {
- this.$message.error('请选择发票!')
+ this.$message.error('请选择到票!')
}
},
searchTable01() {
this.tableData01 = []
this.tableData02 = []
+ this.tableData03 = []
if (this.contractType === '采购合同') {
searchPurchase(this.supplierValue).then(response => {
this.tableData01 = response.data
@@ -603,6 +646,7 @@ export default {
},
searchTable02(row) {
this.tableData02 = []
+ this.tableData03 = []
if (this.contractType === '采购合同') {
searchPurchaseDetail(row.采购合同流水号).then(response => {
response.data.map(data => {
@@ -616,7 +660,7 @@ export default {
response.data.map(data => {
this.$set(data, '本次到票数量', 0)
data.本次到票数量 = data.到货数量 - data.到票数量
- this.tableData02.push(data)
+ this.tableData03.push(data)
})
})
}
diff --git a/src/views/PurchasingCenter/InvoiceSettlementApprove/index.vue b/src/views/PurchasingCenter/InvoiceSettlementApprove/index.vue
index c2e126bf..9843c02e 100644
--- a/src/views/PurchasingCenter/InvoiceSettlementApprove/index.vue
+++ b/src/views/PurchasingCenter/InvoiceSettlementApprove/index.vue
@@ -53,12 +53,12 @@
{{ scope.row.供应商名称 }}
-
+
{{ scope.row.发票号 }}
-
+
{{ scope.row.发票金额 }}
diff --git a/src/views/PurchasingCenter/PurchaseContractSearch/index.vue b/src/views/PurchasingCenter/PurchaseContractSearch/index.vue
index e30d2539..978b3fb2 100644
--- a/src/views/PurchasingCenter/PurchaseContractSearch/index.vue
+++ b/src/views/PurchasingCenter/PurchaseContractSearch/index.vue
@@ -360,7 +360,7 @@ export default {
},
created() {
this.fetchData()
- // this.searchTable1()
+ this.searchTable1()
},
methods: {
// 处理完成
diff --git a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue
index 5a01127b..55443f9d 100644
--- a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue
+++ b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue
@@ -506,7 +506,7 @@
size="small"
icon="el-icon-menu"
style="margin-left: 10px"
- @click="executeReturn2">分配
+ @click="allocateTask2">分配
打回
+ @click="executeReturn2">打回
diff --git a/src/views/PurchasingCenter/ReceiveCheck/index.vue b/src/views/PurchasingCenter/ReceiveCheck/index.vue
index f2f64913..af7c5382 100644
--- a/src/views/PurchasingCenter/ReceiveCheck/index.vue
+++ b/src/views/PurchasingCenter/ReceiveCheck/index.vue
@@ -302,9 +302,9 @@ export default {
this.searchProject()
},
exportExcel() {
- if (this.sum === '' || this.sum === 0) {
+ if (this.totalPrice === '' || this.totalPrice === 0) {
this.$message.error('请先查询内容,确认无误后导出')
- console.log(this.sum)
+ console.log(this.totalPrice)
return
}
let check2, check3, check4
@@ -321,7 +321,7 @@ export default {
param[5] = ['组件流水号', this.groupValue]
param[6] = ['机床号物料名称_check', check4]
param[7] = ['机床号物料名称', this.machinenum]
- param[8] = ['合计', this.sum]
+ param[8] = ['合计', this.totalPrice]
param[9] = ['表名', '采购核算']
var Data = this.CreateData('2001', '采购管理_领用核算_查询数据_导出', param)
this.exportExcel_NPOI(Data)
diff --git a/src/views/WorkshopProcurement/InvoiceSettlementApplication1/index.vue b/src/views/WorkshopProcurement/InvoiceSettlementApplication1/index.vue
index aeca874a..ffe299dc 100644
--- a/src/views/WorkshopProcurement/InvoiceSettlementApplication1/index.vue
+++ b/src/views/WorkshopProcurement/InvoiceSettlementApplication1/index.vue
@@ -2,7 +2,7 @@
-
+
查询
到票
@@ -47,12 +47,12 @@
{{ scope.row.供应商名称 }}
-
+
{{ scope.row.发票号 }}
-
+
{{ scope.row.发票金额 }}
@@ -128,8 +128,8 @@
到票结算申请单明
- 发票号:
-
+ 到票号:
+
追加入库记录
@@ -188,20 +188,20 @@
-
-
+
+
-
-
+
+
-
+
-
+
@@ -258,14 +258,14 @@
供应商:
-
+
@@ -412,10 +412,10 @@ export default {
},
rules1: {
invoiceNum: [
- { required: true, message: '请输入发票号' }
+ { required: true, message: '请输入到票号' }
],
money: [
- { required: true, message: '请输入开票金额' }
+ { required: true, message: '请输入到票金额' }
],
supplierValue: [
{ required: true, message: '请选择供应商' }
@@ -465,7 +465,7 @@ export default {
this.form1.tax = ''
this.form1.isCost = ''
this.form1.remark = ''
- this.title1 = '创建发票结算申请单'
+ this.title1 = '创建到票结算申请单'
this.dialogVisible1 = true
},
searchTable1() {
@@ -530,7 +530,7 @@ export default {
this.form1.isCost = row.是否费用类
this.form1.remark = row.备注
this.form1.applyOrderNum = row.发票结算申请单流水号
- this.title1 = '编辑发票结算申请单'
+ this.title1 = '编辑到票结算申请单'
this.dialogVisible1 = true
},
handleDelete(row) {
@@ -557,7 +557,7 @@ export default {
async searchPic(row, i) {
},
warningExceed() {
- this.$message.error('仅可上传一张发票')
+ this.$message.error('仅可上传一张到票')
},
beforeUpload(file) { // 上传前检测
const isJPG = /^image\/.*/.test(file.type)
@@ -591,7 +591,7 @@ export default {
},
submitApply(row) {
if (this.tableData2.length === 0) {
- this.$message.warning('发票结算申请明细为空!')
+ this.$message.warning('到票结算申请明细为空!')
} else {
this.$confirm('确认提交申请吗?', '提示', {
confirmButtonText: '确定',
@@ -630,7 +630,7 @@ export default {
this.title2 = '追加入库单'
this.dialogVisible2 = true
} else {
- this.$message.error('请选择发票!')
+ this.$message.error('请选择到票!')
}
},
searchTable01() {
diff --git a/src/views/WorkshopProcurement/InvoiceSettlementApprove1/index.vue b/src/views/WorkshopProcurement/InvoiceSettlementApprove1/index.vue
index bda0aa13..73657840 100644
--- a/src/views/WorkshopProcurement/InvoiceSettlementApprove1/index.vue
+++ b/src/views/WorkshopProcurement/InvoiceSettlementApprove1/index.vue
@@ -7,51 +7,51 @@
查询
- 发票结算申请单
+ 到票结算申请单
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.已付款项 }}
-
-
- {{ scope.row.尚欠金额 }}
-
-
- {{ scope.row.备注 }}
-
-
-
-
- {{ scope.row.是否费用类 }}
-
-
- {{ scope.row.税额 }}
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ scope.row.供应商名称 }}
-
+
{{ scope.row.发票号 }}
-
+
{{ scope.row.发票金额 }}
@@ -63,10 +63,10 @@
- {{ scope.row.申请时间 ? scope.row.申请时间 : '—' }}
+ {{ scope.row.申请时间 ? scope.row.申请时间.split(' ')[0] : '—' }}
-
+
{{ scope.row.审批人1姓名 ? scope.row.审批人1姓名 : '未审批' }}
@@ -76,7 +76,7 @@
{{ scope.row.审批1时间 ? scope.row.审批1时间 : '—' }}
-
+
{{ scope.row.审批人2姓名 ? scope.row.审批人2姓名 : '未审批' }}
@@ -86,7 +86,7 @@
{{ scope.row.审批2时间 ? scope.row.审批2时间 : '—' }}
-
+
{{ scope.row.审批人3姓名 ? scope.row.审批人3姓名 : '未审批' }}
@@ -116,9 +116,9 @@
- 发票结算申请单明细
- 发票号:
-
+ 到结算申请单明细
+ 到票号:
+
diff --git a/src/views/WorkshopProcurement/OutsourcingMaterialsInvoice/index.vue b/src/views/WorkshopProcurement/OutsourcingMaterialsInvoice/index.vue
index fb69c62e..6fa6794e 100644
--- a/src/views/WorkshopProcurement/OutsourcingMaterialsInvoice/index.vue
+++ b/src/views/WorkshopProcurement/OutsourcingMaterialsInvoice/index.vue
@@ -2,7 +2,7 @@
-
+
-
+
查询
到票
@@ -64,26 +64,21 @@
已请款
-
+
{{ scope.row.发票号 }}
-
+
{{ scope.row.开票时间 | formatTime }}
-
+
{{ scope.row.开票金额.toFixed(2) }}
-
-
- {{ Number(scope.row.到货金额).toFixed(2) }}
-
-
{{ scope.row.供应商名称 }}
@@ -147,7 +142,7 @@