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,48 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
+
import Style from './cusAttr/style'
|
|
3
|
+
import Advanced from './cusAttr/advanced'
|
|
4
|
+
import Content from './cusAttr/content'
|
|
2
5
|
|
|
3
|
-
/**
|
|
4
|
-
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
-
*/
|
|
6
6
|
export default {
|
|
7
7
|
style: [],
|
|
8
|
-
content: (data) => {
|
|
8
|
+
content: (data, gValue, gColor, oldData) => {
|
|
9
9
|
return [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
value: data.bgColor || '',
|
|
15
|
-
placeholder: '请输入占位框背景颜色',
|
|
16
|
-
groupKey:'content',
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
label: '选中路径:',
|
|
20
|
-
groupKey:'advanced',
|
|
21
|
-
className: 'input100',
|
|
22
|
-
ele: 'xd-select-pages-path',
|
|
23
|
-
valueKey: 'select-pages-path',
|
|
24
|
-
value: data['select-pages-path'] || null,
|
|
25
|
-
setting: {
|
|
26
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
data.bgColor && {
|
|
30
|
-
label: '高度:',
|
|
31
|
-
ele: 'el-input',
|
|
32
|
-
groupKey:'style',
|
|
33
|
-
type: 'number',
|
|
34
|
-
valueKey: 'height',
|
|
35
|
-
value: data.height || 100,
|
|
36
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
37
|
-
className: 'input60',
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
label: '', //label
|
|
41
|
-
groupKey:'advanced',
|
|
42
|
-
ele: 'slot', //package 名称
|
|
43
|
-
slot: 'is_reference',
|
|
44
|
-
},
|
|
45
|
-
].filter(i=>i)
|
|
10
|
+
...Content(data, gValue, gColor, oldData),
|
|
11
|
+
...Style(data, gValue, gColor, oldData),
|
|
12
|
+
...Advanced(data, gValue, gColor, oldData),
|
|
13
|
+
].filter(i => i)
|
|
46
14
|
},
|
|
47
15
|
advanced: [],
|
|
48
|
-
}
|
|
16
|
+
}
|