-
-
-
- {{ record.order_no }}
-
-
-
-
- {{ record.transactor != '' ? record.transactor : '--' }}
- {{ record.teachers != '' ? record.teachers : '--' }}
- {{ record.institution_name || '-' }}
-
- ¥ {{ record.price }}
-
- {{ record.status }}
-
-
- {{ record.status_two_text }}
-
-
-
+ :scroll="{ x: 1200, y: 1000 }">
+
{{ record.created_at }}
-
- {{ record.audit_at || '-' }}
-
- {{ record.settle_at || '-' }}
-
- {{ record.prescription > 0 ? record.prescription + '天' : '-' }}
@@ -154,130 +91,93 @@ import { STable, UserInfo } from '@/components'
import DeriveButton from '@/components/OrderDetailInfo/DeriveButton'
import { institutionsExports } from '@/api/storage'
import moment from 'moment'
+import Info from '@/views/home/components/Info'
import {
getList,
init,
- changeStatus,
canExport
} from '@/api/organization'
import storage from 'store'
-import EditStatus from './widgets/EditStatu.vue'
+import StockInfo from './widgets/StockInfo.vue'
+import onUpData from './widgets/onUpData.vue'
// 列表规格
const columns = [
{
- title: '订单号码',
- dataIndex: 'order_no',
- scopedSlots: { customRender: 'order_no' },
+ title: '用户ID',
+ dataIndex: 'order_id',
align: 'center',
- width: 160,
- fixed: 'left'
+ width: 80
},
{
- title: '机构号码',
- dataIndex: 'order_item_id',
- width: 100,
+ title: '当前用户信息',
+ children: [
+ {
+ title: '昵称',
+ dataIndex: 'name',
+ key: 'name',
+ align: 'center',
+ width: 200
+ },
+ {
+ title: '账号',
+ dataIndex: 'name23',
+ key: 'name23',
+ align: 'center',
+ width: 140
+ },
+ {
+ title: '身份',
+ dataIndex: 'name2',
+ key: 'name2',
+ align: 'center',
+ width: 140
+ }
+ ],
+ width: 300,
align: 'center'
},
{
- title: '机构名称',
- dataIndex: 'institution',
+ title: '库变类型(入库、出库)',
+ dataIndex: 'user212',
width: 140,
align: 'center'
},
{
- title: '机构名称2',
- scopedSlots: { customRender: 'institution_name' },
+ title: '库变数量',
+ dataIndex: 'user232',
width: 140,
align: 'center'
},
{
- title: '机构状态',
- scopedSlots: { customRender: 'status' },
- width: 160,
- align: 'center'
- },
- {
- title: '机构状态2',
- scopedSlots: { customRender: 'status_two_text' },
- width: 160,
- align: 'center'
- },
- {
- title: '客户姓名',
- dataIndex: 'user',
- key: 'user',
- width: 180,
- align: 'center'
- },
- {
- title: '业务类型',
- dataIndex: 'business_type',
- width: 140,
- align: 'center'
- }, {
- title: '欠款金额',
- dataIndex: 'price',
- scopedSlots: { customRender: 'price' },
- width: 140,
- align: 'center'
- }, {
- title: '匹配额度',
- dataIndex: 'allocation',
- scopedSlots: { customRender: 'allocation' },
- width: 140,
- align: 'center'
- }, {
- title: '法务老师',
- dataIndex: 'teacher',
- width: 140,
- align: 'center'
- }, {
- title: '法务助理',
- dataIndex: 'tutor',
+ title: '当前库存',
+ dataIndex: 'user22',
width: 140,
align: 'center'
},
{
- title: '下单时间',
- dataIndex: 'paid_at',
+ title: '库变时间',
+ dataIndex: 'created_at',
+ width: 200,
align: 'center',
- width: 140,
sorter: true
},
{
- title: '申请时间',
- dataIndex: 'audit_at',
- scopedSlots: { customRender: 'audit_at' },
- width: 140,
- align: 'center'
- }, {
- title: '结案时间',
- dataIndex: 'settle_at',
- scopedSlots: { customRender: 'settle_at' },
- width: 140,
- align: 'center'
- }, {
- title: '处理时效',
- dataIndex: 'prescription',
- scopedSlots: { customRender: 'prescription' },
- width: 140,
- align: 'center'
- }, {
title: '操作',
- dataIndex: 'status10',
+ dataIndex: 'status110',
scopedSlots: { customRender: 'actions' },
- width: 180,
align: 'center',
+ width: 200,
fixed: 'right'
}
]
export default {
- name: 'Index',
+ name: 'DealerIndex',
components: {
STable,
UserInfo,
+ Info,
DeriveButton
},
data () {
@@ -302,9 +202,6 @@ export default {
listCount: 0,
loadData: (parameter) => {
const requestParameters = Object.assign({}, parameter, this.queryParam)
- getList(requestParameters).then(res => {
- this.listCount = res.data.length
- })
return getList(requestParameters)
}
}
@@ -329,28 +226,12 @@ export default {
},
methods: {
moment,
- // 更改机构状态
- actions (status, record) {
- console.log(status, record.order_item_id)
- const params = {
- status: status
- }
- changeStatus(record.order_item_id, params).then(res => {
- this.$notification.success({
- message: '成功',
- description: '机构状态修改成功'
- })
- this.$refs.table.loadData()
- }).catch(err => {
- console.log(err)
- })
- },
// 获取检索的基本样式
init () {
init().then(res => {
this.statusArray = res.status // 机构状态
this.businessArray = res.type // 业务类型
- this.canExports()
+ // this.canExports()
})
},
// 更改创建时间
@@ -422,19 +303,42 @@ export default {
})
}
},
- // 修改状态2
- onEditStatus (item) {
+ // 更改库存
+ onUpData (item) {
console.log(item)
const success = {
- title: '修改机构状态2',
+ title: '更改库存',
width: 600,
maskClosable: true,
closable: true,
- okText: '确认修改',
- cancelText: '取消'
+ okText: '知道了'
}
this.$dialog(
- EditStatus,
+ onUpData,
+ {
+ item,
+ on: {
+ ok: () => {
+ console.log('成功了。。')
+ this.$refs.table.loadData()
+ }
+ }
+ },
+ success
+ )
+ },
+ // 修改用户
+ onEdit (item) {
+ const success = {
+ title: '库变详情',
+ width: 1000,
+ maskClosable: true,
+ closable: true,
+ footer: '',
+ okText: '知道了'
+ }
+ this.$dialog(
+ StockInfo,
{
item,
on: {
diff --git a/src/views/stock/In.vue b/src/views/stock/In.vue
new file mode 100644
index 0000000..287ed08
--- /dev/null
+++ b/src/views/stock/In.vue
@@ -0,0 +1,308 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ record.created_at }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/stock/Out.vue b/src/views/stock/Out.vue
new file mode 100644
index 0000000..cbe0646
--- /dev/null
+++ b/src/views/stock/Out.vue
@@ -0,0 +1,326 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ record.created_at }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/stock/widgets/AddRole.vue b/src/views/stock/widgets/AddRole.vue
new file mode 100644
index 0000000..863703b
--- /dev/null
+++ b/src/views/stock/widgets/AddRole.vue
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+ {{ it.title }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/stock/widgets/StockInfo.vue b/src/views/stock/widgets/StockInfo.vue
new file mode 100644
index 0000000..2f7977a
--- /dev/null
+++ b/src/views/stock/widgets/StockInfo.vue
@@ -0,0 +1,119 @@
+
+
+
+
+
+ 张冬雪
+ 1810000000
+ 创客
+
+
+
+
+ 线上零售、优惠券扣除库存
+ 12件
+
+
+
+
+ 12件
+ 线上发货
+ 待发货
+ 2023-12-12 12:12:12
+ 20398475766539979
+ 张冬雪
+ 哈尔滨市香坊区香顺街98号-2-201
+
+
+
+
+ 12件
+ 自提
+ 2023-11-11 10:12:12
+
+
+
+
+ 20398475766539979
+ 99件
+ 张冬雪14745798055
+ 2023-11-11 10:12:12
+
+
+
+
+ 20398475766539979
+ 99件
+ 张冬雪14745798055
+ 2023-11-11 10:12:12
+ 20398475766539979
+ 待发货
+ 哈尔滨市香坊区香顺街98号-2-201
+
+
+
+
+ 20398475766539979
+ 99件
+ 张冬雪14745798055
+ 2023-11-11 10:12:12
+
+
+
+
+
+
+
diff --git a/src/views/stock/widgets/onUpData.vue b/src/views/stock/widgets/onUpData.vue
new file mode 100644
index 0000000..1512d99
--- /dev/null
+++ b/src/views/stock/widgets/onUpData.vue
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/user/Index.vue b/src/views/user/Index.vue
new file mode 100644
index 0000000..9b8f634
--- /dev/null
+++ b/src/views/user/Index.vue
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+ 搜索
+ 新增
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ record.created_at }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/user/widgets/AddRole.vue b/src/views/user/widgets/AddRole.vue
new file mode 100644
index 0000000..1e8d7db
--- /dev/null
+++ b/src/views/user/widgets/AddRole.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/user/widgets/EditInvite.vue b/src/views/user/widgets/EditInvite.vue
new file mode 100644
index 0000000..d9d85cc
--- /dev/null
+++ b/src/views/user/widgets/EditInvite.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/assign/Index.vue b/src/views/widgets-old/assign/Index.vue
similarity index 100%
rename from src/views/assign/Index.vue
rename to src/views/widgets-old/assign/Index.vue
diff --git a/src/views/completeOrder/Index.vue b/src/views/widgets-old/completeOrder/Index.vue
similarity index 100%
rename from src/views/completeOrder/Index.vue
rename to src/views/widgets-old/completeOrder/Index.vue
diff --git a/src/views/handleService/Index.vue b/src/views/widgets-old/handleService/Index.vue
similarity index 100%
rename from src/views/handleService/Index.vue
rename to src/views/widgets-old/handleService/Index.vue
diff --git a/src/views/pendingOrder/Order.vue b/src/views/widgets-old/pendingOrder/Order.vue
similarity index 100%
rename from src/views/pendingOrder/Order.vue
rename to src/views/widgets-old/pendingOrder/Order.vue
diff --git a/src/views/pendingOrder/modules/DispatchOrder.vue b/src/views/widgets-old/pendingOrder/modules/DispatchOrder.vue
similarity index 100%
rename from src/views/pendingOrder/modules/DispatchOrder.vue
rename to src/views/widgets-old/pendingOrder/modules/DispatchOrder.vue
diff --git a/src/views/recheck/Index.vue b/src/views/widgets-old/recheck/Index.vue
similarity index 100%
rename from src/views/recheck/Index.vue
rename to src/views/widgets-old/recheck/Index.vue
diff --git a/src/views/firstCheck/Index.vue b/src/views/widgets-old/resignCheck/Index.vue
similarity index 100%
rename from src/views/firstCheck/Index.vue
rename to src/views/widgets-old/resignCheck/Index.vue
diff --git a/src/views/signIn/Index.vue b/src/views/widgets-old/signIn/Index.vue
similarity index 100%
rename from src/views/signIn/Index.vue
rename to src/views/widgets-old/signIn/Index.vue
diff --git a/src/views/signIn/modules/Receipt.vue b/src/views/widgets-old/signIn/modules/Receipt.vue
similarity index 100%
rename from src/views/signIn/modules/Receipt.vue
rename to src/views/widgets-old/signIn/modules/Receipt.vue