diff --git a/common/css/reset.scss b/common/css/reset.scss
index 2178bac..b5da5f8 100644
--- a/common/css/reset.scss
+++ b/common/css/reset.scss
@@ -91,7 +91,7 @@ cover-view {
white-space: normal;
}
-::webkit-scrollbar {
+*::webkit-scrollbar {
display: none;
}
diff --git a/pages/message/system-message.vue b/pages/message/system-message.vue
index ce79c13..8f44a9d 100644
--- a/pages/message/system-message.vue
+++ b/pages/message/system-message.vue
@@ -1,195 +1,195 @@
-
-
-
-
-
-
- {{ item.messageType | meesageTypeFilter }}
-
-
- {{ item.createTime }}
-
- {{ item.content }}
-
-
-
-
+
+
+
+
+
+
+ {{ item.messageType | meesageTypeFilter }}
+
+
+ {{ item.createTime }}
+
+ {{ item.content }}
+
+
+
+
diff --git a/pages/mine/index.vue b/pages/mine/index.vue
index fb0fcfb..e029a48 100644
--- a/pages/mine/index.vue
+++ b/pages/mine/index.vue
@@ -275,9 +275,6 @@ export default {
}
},
watch: {
- tradeDate(val) {
- console.log('val:', val)
- },
'$store.state.supplierInfo.supplierId': {
handler(val) {
console.log('切换了供应商:', val)
diff --git a/pages/order-detail/index.vue b/pages/order-detail/index.vue
index 6216992..c0e32fa 100644
--- a/pages/order-detail/index.vue
+++ b/pages/order-detail/index.vue
@@ -396,7 +396,9 @@ export default {
go2('page-view', { title: '供应商订单签约', url: encodeURIComponent(res.signUrl), params: this.params })
// #endif
// #ifdef H5
- window ? (window.location.href = res.signUrl) : ''
+ if (window) {
+ window.location.href = res.signUrl
+ }
// #endif
}
}
diff --git a/pages/trade/quotationList.vue b/pages/trade/quotationList.vue
index b4cecb5..bbd0955 100644
--- a/pages/trade/quotationList.vue
+++ b/pages/trade/quotationList.vue
@@ -1,50 +1,30 @@
-
-
+
+
{{ item.belongEnterpriseName }}
- {{
- item.replyStatus | replyStatusName
- }}
+ {{ item.replyStatus | replyStatusName }}
{{ subItem.paperName }}
- {{ subItem.brandName }}/{{ subItem.categoryName }}/{{
- subItem.gramWeight
- }}g/{{ subItem.width }}*{{ subItem.length }}/{{
- subItem.quantity
- }}张
+ {{ subItem.brandName }}/{{ subItem.categoryName }}/{{ subItem.gramWeight }}g/{{ subItem.width }}*{{ subItem.length }}/{{ subItem.quantity }}张
@@ -63,9 +43,7 @@
报价截止:
{{ item.enquiryValidTime }}
-
+
@@ -73,11 +51,7 @@
-
+
我的报价
@@ -92,17 +66,15 @@ export default {
props: {
queryData: {
type: Object,
- default: () => {},
+ default: () => {}
},
- },
- components: {
- uGap,
- },
- props: {
refresh: {
type: Boolean,
- default: false,
- },
+ default: false
+ }
+ },
+ components: {
+ uGap
},
data() {
return {
@@ -111,25 +83,25 @@ export default {
auto: true,
emptyText: '暂无报价信息~',
fontSize: '40rpx',
- emptyImage: '/static/imgs/client-detail/no-data-icon.png',
+ emptyImage: '/static/imgs/client-detail/no-data-icon.png'
},
params: {
asc: '',
desc: '',
- mallSupplierIds: [this.$store.state.supplierInfo.supplierId], // 网关获取供应商ID集合
+ mallSupplierIds: [this.$store.state.supplierInfo.supplierId] // 网关获取供应商ID集合
// mallSupplierIds: ['553703427180466176'] // 网关获取供应商ID集合
},
pagination: {
pageNum: 0, // 初始会执行一次下拉加载
- pageSize: 20,
+ pageSize: 20
},
- list: [],
+ list: []
}
},
watch: {
refresh() {
this.quotationDown()
- },
+ }
},
filters: {
replyStatusName(status) {
@@ -152,7 +124,7 @@ export default {
break
}
return name
- },
+ }
},
methods: {
// 获取报价列表
@@ -205,15 +177,15 @@ export default {
offerClick(item) {
var params = {
...item,
- title: '提交报价',
+ title: '提交报价'
}
go2('submit-quotation', params)
},
// 我的报价页面跳转事件
nativeTo() {
go2('my-offer')
- },
- },
+ }
+ }
}
diff --git a/store/index.js b/store/index.js
index c3cbdef..e50491a 100644
--- a/store/index.js
+++ b/store/index.js
@@ -236,7 +236,7 @@ if (!store) {
commit('removeSupplierInfo')
},
addSearchHistory({ commit, state }, searchHistory) {
- const arr = [...state.searchHistory] // 单层数组直接解构
+ let arr = [...state.searchHistory] // 单层数组直接解构
let index = arr.findIndex((item) => item === searchHistory)
if (index > -1) {
arr.splice(index, 1)