From 66c1a4a0c979d532c851939572d9945bad0e3eaf Mon Sep 17 00:00:00 2001
From: 15820893422 <1978476055@qq.com>
Date: Fri, 10 May 2024 17:40:38 +0800
Subject: [PATCH] edit
---
src/components/uploadPicture/index.vue | 3 ++
.../uploadPicture/uploadFrom/index.js | 4 +-
.../uploadPicture/uploadFrom/index.vue | 7 ++--
src/components/uploadVideo/index.vue | 4 +-
src/views/order/orderInvoice/index.vue | 18 ++++-----
src/views/product/addProduct/index.vue | 7 ----
src/views/product/productList/index.vue | 4 +-
src/views/product/productList/proDetails.vue | 37 +++++++++++++++++--
.../systemForm/setSystem/modifyStoreInfo.vue | 6 +--
9 files changed, 60 insertions(+), 30 deletions(-)
diff --git a/src/components/uploadPicture/index.vue b/src/components/uploadPicture/index.vue
index 243d1ee..c913761 100644
--- a/src/components/uploadPicture/index.vue
+++ b/src/components/uploadPicture/index.vue
@@ -949,4 +949,7 @@ export default {
font-size: 12px;
white-space: nowrap;
}
+::v-deep.el-radio-group{
+ vertical-align: top;
+}
diff --git a/src/components/uploadPicture/uploadFrom/index.js b/src/components/uploadPicture/uploadFrom/index.js
index e412d3c..b30fb36 100644
--- a/src/components/uploadPicture/uploadFrom/index.js
+++ b/src/components/uploadPicture/uploadFrom/index.js
@@ -14,10 +14,12 @@ uploadFrom.install = function (Vue, options) {
const instance = new ToastConstructor()
instance.$mount(document.createElement('div'))
document.body.appendChild(instance.$el)
- Vue.prototype.$modalUpload = function (callback, isMore) {
+ Vue.prototype.$modalUpload = function (callback, isMore, isPage) {
instance.visible = true
+ console.log(instance);
instance.callback = callback
instance.isMore = isMore
+ instance.isPage = isPage
}
}
export default uploadFrom
diff --git a/src/components/uploadPicture/uploadFrom/index.vue b/src/components/uploadPicture/uploadFrom/index.vue
index 0c59d33..83186a9 100644
--- a/src/components/uploadPicture/uploadFrom/index.vue
+++ b/src/components/uploadPicture/uploadFrom/index.vue
@@ -3,10 +3,10 @@
-
+
@@ -21,7 +21,8 @@ export default {
return {
visible: false,
callback: function() {},
- isMore: ''
+ isMore: '',
+ isPage:false
}
},
watch: {
diff --git a/src/components/uploadVideo/index.vue b/src/components/uploadVideo/index.vue
index 5c81e2c..666c470 100644
--- a/src/components/uploadVideo/index.vue
+++ b/src/components/uploadVideo/index.vue
@@ -92,8 +92,10 @@ export default {
if(this.isDiy){
this.$emit('getVideo',this.formValidate.video_link)
}else if(nowEditor){
+ let video_html = `
`
nowEditor.dialog.close(true)
- nowEditor.editor.setContent("", true)
+ nowEditor.editor.execCommand("insertHtml", video_html);
+ // nowEditor.editor.setContent(`
`, true)
}
}
diff --git a/src/views/order/orderInvoice/index.vue b/src/views/order/orderInvoice/index.vue
index d74d670..4e9ea9c 100644
--- a/src/views/order/orderInvoice/index.vue
+++ b/src/views/order/orderInvoice/index.vue
@@ -1,7 +1,7 @@
-
+
全部
@@ -32,8 +32,8 @@
v-model="tableFrom.keyword"
placeholder="请输入订单号/收货人/联系方式"
class="selWidth"
- @keyup.enter.native="getList(1)"
clearable
+ @keyup.enter.native="getList(1)"
/>
@@ -57,13 +57,13 @@
v-model="tableFrom.username"
placeholder="请输入用户昵称/手机号"
class="selWidth"
- @keyup.enter.native="getList(1)"
clearable
+ @keyup.enter.native="getList(1)"
/>
搜索
- 重置
+ 重置
@@ -96,7 +96,7 @@
-
+
{{ scope.row.receipt_info.receipt_type == 1 ? '普通发票' : '专用发票' }}
@@ -195,7 +195,7 @@ import {
invoiceInfoApi,
invoiceApi
} from '@/api/order'
-import timeOptions from '@/utils/timeOptions';
+import timeOptions from '@/utils/timeOptions'
export default {
name: 'OrderInvoice',
data() {
@@ -259,10 +259,10 @@ export default {
},
methods: {
- /**重置 */
- searchReset(){
+ /** 重置 */
+ searchReset() {
this.timeVal = []
- this.tableFrom.date = ""
+ this.tableFrom.date = ''
this.$refs.searchForm.resetFields()
this.getList(1)
},
diff --git a/src/views/product/addProduct/index.vue b/src/views/product/addProduct/index.vue
index 0d88161..ca91886 100644
--- a/src/views/product/addProduct/index.vue
+++ b/src/views/product/addProduct/index.vue
@@ -2637,10 +2637,6 @@ export default {
window.removeEventListener('popstate', this.goBack, false)
},
methods: {
- // handleLeave(activeName, oldActiveName){
- // console.log(!!this.$route.params.id);
- // return !!this.$route.params.id
- // },
onsubmit(){
this.dialogVisible = false
},
@@ -2669,7 +2665,6 @@ export default {
}
},
handlCommodity(name) {
- console.log(this.importBusinessList);
this.$refs[name].clearValidate()
},
beforeUpload(file,fileList) {
@@ -2679,7 +2674,6 @@ export default {
}
},
handlePictureCardPreview(file) {
- console.log(file);
// 预览pdf
if (['application/pdf'].includes(file.type)) {
window.open(file.url)
@@ -2710,7 +2704,6 @@ export default {
fileList.map(item => {
arr.push({ name:item.name,uid:item.uid,url: item?.response?.data?.src||item.url,type:item?.raw?.type||item.type})
})
- console.log(fileList);
this.formValidate.qualification[name] = arr
console.log(this.formValidate.qualification[name]);
}
diff --git a/src/views/product/productList/index.vue b/src/views/product/productList/index.vue
index 008019a..279f210 100644
--- a/src/views/product/productList/index.vue
+++ b/src/views/product/productList/index.vue
@@ -87,7 +87,7 @@
-
+
详情
-
+
编辑
预览
diff --git a/src/views/product/productList/proDetails.vue b/src/views/product/productList/proDetails.vue
index ee82ed5..347412c 100644
--- a/src/views/product/productList/proDetails.vue
+++ b/src/views/product/productList/proDetails.vue
@@ -143,6 +143,10 @@
规格:
{{productData.spec_type == 1 ? "多规格" : "单规格"}}
+
+ 佐证图片:
+
+