diff --git a/src/views/customer/AddCustomer.vue b/src/views/customer/AddCustomer.vue
index 8a72c3f..5e16490 100644
--- a/src/views/customer/AddCustomer.vue
+++ b/src/views/customer/AddCustomer.vue
@@ -140,14 +140,26 @@
-
+
+
+ {{scope.row.periodOfUse}} 月
+
+
- {{scope.row.startTime}}~{{scope.row.endTime}}
+ {{scope.row.startTime}} - {{scope.row.endTime}}
+
+
+
+
+ {{scope.row.remainingPeriod}} 天
+
+
+
+
+ {{scope.row.accountNum}} 个
-
-
配置
@@ -176,10 +188,16 @@
+
+ {{scope.row.startTime.split(' ').shift()}} - {{scope.row.endTime.split(' ').shift()}}
+
+
+ {{scope.row.contractMoney}} 元
+
@@ -559,7 +577,8 @@ export default {
},
showContract(row){
if(!row.contractFile) return this.$message.warning('文件链接无效')
- let type = file.name.split('.').pop()
+ console.log(row.contractFile,'f');
+ let type = row.contractFile.split('.').pop()
let img = ['jpg','gif','png','jepg']
this.fileSrc = row.contractFile
diff --git a/src/views/data/Product.vue b/src/views/data/Product.vue
index ca8f9cf..0d83f9f 100644
--- a/src/views/data/Product.vue
+++ b/src/views/data/Product.vue
@@ -48,7 +48,7 @@
-
+
diff --git a/src/views/order/AddOrder.vue b/src/views/order/AddOrder.vue
index c1ccabc..f0b573e 100644
--- a/src/views/order/AddOrder.vue
+++ b/src/views/order/AddOrder.vue
@@ -1214,7 +1214,7 @@ export default {
beforeAvatarUpload(file) {
const size = file.size / 1024 / 1024 < 10;
let type = file.name.split('.').pop()
- let str = ["jpg","jepg","gif","png","doc","pdf"].includes(type.toLowerCase())
+ let str = ["jpg","jepg","gif","png","doc","docx","pdf"].includes(type.toLowerCase())
console.log(type,str,'类型判断');
if(!str){
this.$message.error('只能上传图片,word文件和pdf文件!')
diff --git a/src/views/order/Order.vue b/src/views/order/Order.vue
index 65e9b99..5f58148 100644
--- a/src/views/order/Order.vue
+++ b/src/views/order/Order.vue
@@ -79,7 +79,7 @@
-
+