jufubao-takeorder 1.0.2-beta2 → 1.0.2-beta4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/{JfbTakeorderQuotedDetail → JfbTakeorderFilterOrderList}/Api.js +9 -9
- package/src/components/JfbTakeorderFilterOrderList/Attr.js +12 -0
- package/src/components/JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderList.vue +210 -0
- package/src/components/{JfbTakeorderUnquotedDetail/JfbTakeorderUnquotedDetailLess.less → JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderListLess.less} +2 -2
- package/src/components/{JfbTakeorderUnquotedDetail/JfbTakeorderUnquotedDetailMixin.js → JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderListMixin.js} +1 -1
- package/src/components/JfbTakeorderFilterOrderList/Mock.js +13 -0
- package/src/components/JfbTakeorderFilterOrderList/components/order.vue +277 -0
- package/src/components/JfbTakeorderIndex/Api.js +9 -41
- package/src/components/JfbTakeorderIndex/Attr.js +9 -41
- package/src/components/JfbTakeorderIndex/JfbTakeorderIndex.vue +681 -85
- package/src/components/JfbTakeorderIndex/components/cityPicker.vue +299 -0
- package/src/components/JfbTakeorderIndex/components/order.vue +273 -0
- package/src/components/JfbTakeorderIndex/cusAttr/advanced.js +26 -0
- package/src/components/JfbTakeorderIndex/cusAttr/content.js +9 -0
- package/src/components/JfbTakeorderIndex/cusAttr/style.js +11 -0
- package/src/components/JfbTakeorderOrderDetail/Api.js +23 -0
- package/src/components/JfbTakeorderOrderDetail/Attr.js +16 -0
- package/src/components/JfbTakeorderOrderDetail/JfbTakeorderOrderDetail.vue +845 -0
- package/src/components/{JfbTakeorderUnquotedList/JfbTakeorderUnquotedListLess.less → JfbTakeorderOrderDetail/JfbTakeorderOrderDetailLess.less} +2 -2
- package/src/components/{JfbTakeorderQuotedDetail/JfbTakeorderQuotedDetailMixin.js → JfbTakeorderOrderDetail/JfbTakeorderOrderDetailMixin.js} +1 -1
- package/src/components/JfbTakeorderOrderDetail/Mock.js +13 -0
- package/src/components/JfbTakeorderOrderDetail/components/CusEditQuote.vue +161 -0
- package/src/components/JfbTakeorderOrderDetail/components/products.vue +138 -0
- package/src/components/JfbTakeorderOrderDetail/cusAttr/advanced.js +12 -0
- package/src/components/JfbTakeorderOrderDetail/cusAttr/content.js +233 -0
- package/src/components/JfbTakeorderOrderDetail/cusAttr/style.js +11 -0
- package/src/components/{JfbTakeorderQuotedList → JfbTakeorderOrderList}/Api.js +9 -9
- package/src/components/JfbTakeorderOrderList/Attr.js +16 -0
- package/src/components/JfbTakeorderOrderList/JfbTakeorderOrderList.vue +169 -0
- package/src/components/{JfbTakeorderQuotedList/JfbTakeorderQuotedListLess.less → JfbTakeorderOrderList/JfbTakeorderOrderListLess.less} +2 -2
- package/src/components/{JfbTakeorderQuotedList/JfbTakeorderQuotedListMixin.js → JfbTakeorderOrderList/JfbTakeorderOrderListMixin.js} +1 -1
- package/src/components/JfbTakeorderOrderList/Mock.js +13 -0
- package/src/components/JfbTakeorderOrderList/components/order.vue +273 -0
- package/src/components/JfbTakeorderOrderList/cusAttr/advanced.js +26 -0
- package/src/components/JfbTakeorderOrderList/cusAttr/content.js +23 -0
- package/src/components/JfbTakeorderOrderList/cusAttr/style.js +11 -0
- package/src/components/{JfbTakeorderUnquotedDetail → JfbTakeorderVoiceSwitch}/Api.js +9 -9
- package/src/components/JfbTakeorderVoiceSwitch/Attr.js +12 -0
- package/src/components/{JfbTakeorderQuotedList/JfbTakeorderQuotedList.vue → JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitch.vue} +42 -13
- package/src/components/{JfbTakeorderQuotedDetail/JfbTakeorderQuotedDetailLess.less → JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitchLess.less} +2 -2
- package/src/components/{JfbTakeorderUnquotedList/JfbTakeorderUnquotedListMixin.js → JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitchMixin.js} +1 -1
- package/src/components/JfbTakeorderVoiceSwitch/Mock.js +13 -0
- package/src/components/JfbTakeorderQuotedDetail/Attr.js +0 -48
- package/src/components/JfbTakeorderQuotedDetail/JfbTakeorderQuotedDetail.vue +0 -113
- package/src/components/JfbTakeorderQuotedDetail/Mock.js +0 -13
- package/src/components/JfbTakeorderQuotedList/Attr.js +0 -48
- package/src/components/JfbTakeorderQuotedList/Mock.js +0 -13
- package/src/components/JfbTakeorderUnquotedDetail/Attr.js +0 -48
- package/src/components/JfbTakeorderUnquotedDetail/JfbTakeorderUnquotedDetail.vue +0 -113
- package/src/components/JfbTakeorderUnquotedDetail/Mock.js +0 -13
- package/src/components/JfbTakeorderUnquotedList/Api.js +0 -58
- package/src/components/JfbTakeorderUnquotedList/Attr.js +0 -48
- package/src/components/JfbTakeorderUnquotedList/JfbTakeorderUnquotedList.vue +0 -113
- package/src/components/JfbTakeorderUnquotedList/Mock.js +0 -13
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<view
|
|
3
|
-
class="jfb-takeorder-unquoted-list"
|
|
4
|
-
@click="handleEditxSelect"
|
|
5
|
-
:class="{ editx : isEditx && active }"
|
|
6
|
-
>
|
|
7
|
-
<!--#ifdef H5-->
|
|
8
|
-
<view
|
|
9
|
-
class="jfb-takeorder-unquoted-list__edit"
|
|
10
|
-
:class="{ editx : isEditx && active }"
|
|
11
|
-
v-if="isEditx && active"
|
|
12
|
-
>
|
|
13
|
-
<view class="jfb-takeorder-unquoted-list__edit-icon" @click.stop="delEdit">
|
|
14
|
-
<xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
|
|
15
|
-
</view>
|
|
16
|
-
</view>
|
|
17
|
-
<!-- #endif -->
|
|
18
|
-
<view class="jfb-takeorder-unquoted-list__body">
|
|
19
|
-
<view>测试插件( {{containerId}} )</view>
|
|
20
|
-
</view>
|
|
21
|
-
</view>
|
|
22
|
-
</template>
|
|
23
|
-
|
|
24
|
-
<script>
|
|
25
|
-
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
26
|
-
import { jfbRootExec } from "@/utils/xd.event";
|
|
27
|
-
import JfbTakeorderUnquotedListMixin from "./JfbTakeorderUnquotedListMixin";
|
|
28
|
-
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
29
|
-
import componentsMixins from "@/mixins/componentsMixins";
|
|
30
|
-
import extsMixins from "@/mixins/extsMixins";
|
|
31
|
-
export default {
|
|
32
|
-
name: "JfbTakeorderUnquotedList",
|
|
33
|
-
components: {
|
|
34
|
-
XdFontIcon
|
|
35
|
-
},
|
|
36
|
-
mixins: [
|
|
37
|
-
componentsMixins, extsMixins, JfbTakeorderUnquotedListMixin
|
|
38
|
-
],
|
|
39
|
-
data() {
|
|
40
|
-
return {
|
|
41
|
-
|
|
42
|
-
//todo
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
watch: {
|
|
46
|
-
container(value, oldValue) {
|
|
47
|
-
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
48
|
-
if (this.$configProject['isPreview']) this.init(value)
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
created() {
|
|
52
|
-
this.init(this.container);
|
|
53
|
-
|
|
54
|
-
//todo
|
|
55
|
-
},
|
|
56
|
-
methods: {
|
|
57
|
-
onJfbLoad(options) {
|
|
58
|
-
|
|
59
|
-
// jfbRootExec('baiduUserLogin', {
|
|
60
|
-
|
|
61
|
-
// vm: this,// data: {
|
|
62
|
-
|
|
63
|
-
// account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
|
|
64
|
-
|
|
65
|
-
// }
|
|
66
|
-
|
|
67
|
-
// }).then().catch()
|
|
68
|
-
},
|
|
69
|
-
/**
|
|
70
|
-
* @description 监听事件变化
|
|
71
|
-
* @param container {object} 业务组件对象自己
|
|
72
|
-
*/
|
|
73
|
-
init(container) {
|
|
74
|
-
|
|
75
|
-
//this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
|
|
76
|
-
|
|
77
|
-
//this.height = getContainerPropsValue(container, 'content.height', 10);
|
|
78
|
-
},
|
|
79
|
-
onJfbScroll(options) {
|
|
80
|
-
console.log('event.onJfbScroll', options)
|
|
81
|
-
},
|
|
82
|
-
onJfbReachBottom(options) {
|
|
83
|
-
console.log('event.onJfbReachBottom', options)
|
|
84
|
-
},
|
|
85
|
-
onJfbShow(options) {
|
|
86
|
-
console.log('event.onJfbShow', options)
|
|
87
|
-
},
|
|
88
|
-
onJfbHide(options) {
|
|
89
|
-
console.log('event.onJfbHide', options)
|
|
90
|
-
},
|
|
91
|
-
onJfbBack(options) {
|
|
92
|
-
console.log('event.onJfbBack', options)
|
|
93
|
-
},
|
|
94
|
-
onJfbUpdate(...data) {
|
|
95
|
-
console.log('event.onJfbUpdate', data)
|
|
96
|
-
},
|
|
97
|
-
onJfbCustomEvent(options) {
|
|
98
|
-
console.log('event.onJfbReachBottom', options)
|
|
99
|
-
},
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
</script>
|
|
104
|
-
|
|
105
|
-
<style scoped lang="less">
|
|
106
|
-
@import "./JfbTakeorderUnquotedListLess.less";
|
|
107
|
-
|
|
108
|
-
.jfb-takeorder-unquoted-list {
|
|
109
|
-
&__body{
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
</style>
|