diff --git a/src/api/MarketingCenter/PerformanceBond.js b/src/api/MarketingCenter/PerformanceBond.js
index c91f91ad..aa498530 100644
--- a/src/api/MarketingCenter/PerformanceBond.js
+++ b/src/api/MarketingCenter/PerformanceBond.js
@@ -108,3 +108,25 @@ export function delPerformanceBond() {
}
})
}
+export function addPerformanceGuarantee() {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '合同信息管理_履约保证金_履约保函新增',
+ param: '项目流水号=' + arguments[0]
+ }
+ })
+}
+export function delPerformanceGuarantee() {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '合同信息管理_履约保证金_履约保函_删除',
+ param: '项目流水号=' + arguments[0]
+ }
+ })
+}
diff --git a/src/api/PurchasingCenter/ProjectTotalSearch.js b/src/api/PurchasingCenter/ProjectTotalSearch.js
index 1e46e7a1..8e4a7c1e 100644
--- a/src/api/PurchasingCenter/ProjectTotalSearch.js
+++ b/src/api/PurchasingCenter/ProjectTotalSearch.js
@@ -18,7 +18,7 @@ export function searchProjectTotal(num) {
method: 'post',
data: {
type: '1',
- name: '采购管理_项目总价_明细_查询数据',
+ name: '采购管理_项目采购总价_查询数据',
param: `项目流水号=${num}`
}
})
diff --git a/src/views/ManufacturingCenter/InitialProduction/index.vue b/src/views/ManufacturingCenter/InitialProduction/index.vue
index d0fa55ee..3d29e001 100644
--- a/src/views/ManufacturingCenter/InitialProduction/index.vue
+++ b/src/views/ManufacturingCenter/InitialProduction/index.vue
@@ -86,7 +86,7 @@
~
-
+
diff --git a/src/views/MarketingCenter/DeliveryManagement/index.vue b/src/views/MarketingCenter/DeliveryManagement/index.vue
index 683105d1..92e810fa 100644
--- a/src/views/MarketingCenter/DeliveryManagement/index.vue
+++ b/src/views/MarketingCenter/DeliveryManagement/index.vue
@@ -104,14 +104,13 @@
:file-list="fileList"
:before-upload="beforeUpload"
:on-success="onSuccess"
- :action="'http://192.168.1.122:8410/submit/upload2.ashx?InvoiceNum='+ invoiceNum"
+ :action="'http://localhost:8411/submit/upload2.ashx?InvoiceNum='+ invoiceNum"
list-type="picture-card">
-
@@ -818,7 +817,7 @@ export default {
if (response.data[0].result === '1') {
this.$message.success('删除成功')
this.getTable(addressSearch, [this.pageCurrent1, this.pageSize1], ['addressData', 'total1'])
- } else { this.$message.error('数据占用') }
+ } else { this.$message.error('删除失败') }
})
}).catch(() => {
this.$message({
@@ -1093,7 +1092,7 @@ export default {
return {
_id: item.附件号,
name: item.文件标识,
- url: 'http://192.168.1.122:8410/webpage/img/' + item.文件标识
+ url: 'http://localhost:8411/webpage/img/' + item.文件标识
}
})
},
@@ -1107,7 +1106,7 @@ export default {
}
})
if (data[0].result === '0') {
- this.$message.error('数据占用')
+ this.$message.error('删除失败')
}
},
handlePictureCardPreview(file) {
@@ -1127,7 +1126,7 @@ export default {
this.$message.error('只能上传图片。。')
}
if (!isLt4M) {
- this.$message.error('上传头像图片大小不能超过 4MB!')
+ this.$message.error('上传图片大小不能超过 4MB!')
}
return isJPG && isLt4M && isInvoiceNum
diff --git a/src/views/MarketingCenter/InvoiceRecord/index.vue b/src/views/MarketingCenter/InvoiceRecord/index.vue
index f0b6a296..c3d4b0eb 100644
--- a/src/views/MarketingCenter/InvoiceRecord/index.vue
+++ b/src/views/MarketingCenter/InvoiceRecord/index.vue
@@ -94,7 +94,7 @@
size="mini"
type="primary"
icon="el-icon-circle-plus-outline"
- @click.stop="openAddInvoiceRecordingDialog(); flag = 1">增加记录
+ @click.stop="openAddInvoiceRecordingDialog(scope.row); flag = 1">增加记录
@@ -391,6 +391,7 @@ export default {
},
created() {
this.init()
+ this.fetchTableData1()
},
methods: {
// 初始化条件
@@ -466,7 +467,7 @@ export default {
sums[index] = this.taxRate * 100 + '% (税率)'
return
} else if (index === 9) {
- sums[index] = parseFloat(sums[7]) * this.taxRate + ' 元(税额)'
+ sums[index] = (parseInt(sums[7]) * 100 * this.taxRate) / 100 + ' 元(税额)'
return
} else if (index === 10) {
sums[index] = parseFloat(sums[7]) - parseFloat(sums[9]) + ' 元(未税)'
@@ -522,7 +523,8 @@ export default {
this.peopleid = ''
},
// 打开增加开票记录对话框
- openAddInvoiceRecordingDialog() {
+ openAddInvoiceRecordingDialog(row) {
+ this.projectid = row.项目流水号
this.addForm('form')
this.title = '增加'
this.dialogFormVisible1 = true
diff --git a/src/views/MarketingCenter/PerformanceBond/index.vue b/src/views/MarketingCenter/PerformanceBond/index.vue
index c751dfe1..5c3eddfc 100644
--- a/src/views/MarketingCenter/PerformanceBond/index.vue
+++ b/src/views/MarketingCenter/PerformanceBond/index.vue
@@ -32,11 +32,11 @@
@@ -70,7 +70,7 @@
- {{ scope.row.姓名 }}
+ {{ scope.row.联系人 }}
@@ -90,13 +90,13 @@
size="mini"
type="primary"
icon="el-icon-circle-plus-outline"
- @click.stop="openPerformanceBondDialog(); flag = 1">履约保证金
+ @click.stop="openPerformanceBondDialog(scope.row); flag = 1">履约保证金
履约保函
+ @click.stop="addPerformanceGuarantee(scope.row)">履约保函
@@ -114,7 +114,7 @@
-
+
-
- 履约保函
+
+
+
删除
+
+
+
+
+
+
+
+
+
@@ -270,8 +287,9 @@