diff --git a/src/views/goods/Index.vue b/src/views/goods/Index.vue
index c9b6193..09fb13f 100644
--- a/src/views/goods/Index.vue
+++ b/src/views/goods/Index.vue
@@ -389,7 +389,7 @@
>编辑 -->
编辑
- 复制文字
+ 复制文案
生成图片
![]()
-
{{
+ {{
item.merchant.shop_name
}}
@@ -220,7 +220,7 @@
>删除
复制
-
+ 审单记录
@@ -264,6 +264,7 @@
+
@@ -285,7 +286,7 @@ import {
ReceiptStatusEnum,
} from '@/common/enum/order'
import { PaymentMethodEnum } from '@/common/enum/payment'
-import { DeliveryForm, ExtractForm, CancelForm } from './modules'
+import { DeliveryForm, ExtractForm, CancelForm,DocumentRecord,DocumentRecordList } from './modules'
// 表格字段
const columns = [
@@ -352,6 +353,8 @@ export default {
DeliveryForm,
ExtractForm,
CancelForm,
+ DocumentRecordList,
+ DocumentRecord
},
data() {
return {
@@ -472,7 +475,49 @@ export default {
getDataType() {
return this.$route.path.split('/')[3].replace('-', '_')
},
-
+ reviewDocuments(item, type) {
+ if (type == 1) {
+ const app = this
+ const modal = app.$confirm({
+ title: '是否确定审单?',
+ onOk() {
+ return Api.standard({
+ orderId: item.order_id,
+ form: {
+ type: 10,
+ },
+ })
+ .then((result) => {
+ app.$message.success(result.message, 1.5)
+ app.handleRefresh()
+ })
+ .finally((result) => modal.destroy())
+ },
+ })
+ }
+ if (type == 2) {
+ const app = this
+ const modal = app.$confirm({
+ title: '是否确定再次审单?',
+ onOk() {
+ return Api.standard({
+ orderId: item.order_id,
+ form: {
+ type: 20,
+ },
+ })
+ .then((result) => {
+ app.$message.success(result.message, 1.5)
+ app.handleRefresh()
+ })
+ .finally((result) => modal.destroy())
+ },
+ })
+ }
+ },
+ documentRecord(record) {
+ this.$refs.DocumentRecordList.show(record)
+ },
async copyText(text) {
try {
const textToCopy = text
diff --git a/src/views/order/modules/DocumentRecord.vue b/src/views/order/modules/DocumentRecord.vue
new file mode 100644
index 0000000..5761a55
--- /dev/null
+++ b/src/views/order/modules/DocumentRecord.vue
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+ 同意
+ 拒绝
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/order/modules/DocumentRecordDetails.vue b/src/views/order/modules/DocumentRecordDetails.vue
new file mode 100644
index 0000000..a0015cf
--- /dev/null
+++ b/src/views/order/modules/DocumentRecordDetails.vue
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+
+ {{ isFrom[record.from] }}
+
+
+
+
+ {{ isYes[record.is_city] }}
+
+
+
+ 审审通过
+ 审审不通过
+ 审核中
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/order/modules/DocumentRecordList.vue b/src/views/order/modules/DocumentRecordList.vue
new file mode 100644
index 0000000..a596938
--- /dev/null
+++ b/src/views/order/modules/DocumentRecordList.vue
@@ -0,0 +1,174 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ text == 10 ? '是' : '否' }}
+
+
+ 本地同城线下真实零售客户
+ 电商平台客户
+ 短视频平台客户
+
+
+ 单审通过
+ 审审不通过
+ 审核中
+
+
+ 详情
+ 审单
+
+
+
+
+
+
+
+
+
diff --git a/src/views/order/modules/index.js b/src/views/order/modules/index.js
index 119ecc7..a8a9d0b 100644
--- a/src/views/order/modules/index.js
+++ b/src/views/order/modules/index.js
@@ -7,4 +7,7 @@ import RemarkFormAdd from './RemarkFormAdd'
import RemarkFormEdit from './RemarkFormEdit'
import JingDong from './JingDong'
import DeliveryFormEdit from './DeliveryFormEdit'
-export { DeliveryForm, ExtractForm, CancelForm, PrinterForm, PriceForm,RemarkFormEdit, RemarkFormAdd,JingDong,DeliveryFormEdit }
+import DocumentRecord from './DocumentRecord'
+import DocumentRecordList from './DocumentRecordList'
+import DocumentRecordDetails from './DocumentRecordDetails'
+export { DeliveryForm, ExtractForm, CancelForm, PrinterForm, PriceForm,RemarkFormEdit, RemarkFormAdd,JingDong,DeliveryFormEdit,DocumentRecord,DocumentRecordList,DocumentRecordDetails }