Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
b256eb56
Commit
b256eb56
authored
Aug 16, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: 备件-物料
parent
ef4f9e56
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
168 additions
and
168 deletions
+168
-168
XhParts.vue
src/components/createCom/XhParts.vue
+17
-17
bottomButtons.vue
src/components/order/bottomButtons.vue
+89
-89
appliedPartsCell.vue
src/components/parts/appliedPartsCell.vue
+1
-1
applyButton.vue
src/components/parts/applyButton.vue
+11
-11
applyList.vue
src/components/parts/applyList.vue
+35
-35
returnCell.vue
src/components/parts/returnCell.vue
+1
-1
adjust.md
src/components/select-parts/adjust.md
+4
-4
index.md
src/components/select-parts/index.md
+2
-2
index.vue
src/components/submit-bar/index.vue
+5
-5
readme.md
src/components/submit-bar/readme.md
+3
-3
No files found.
src/components/createCom/XhParts.vue
View file @
b256eb56
<!-- *******************
配件
选择 ******************* -->
<!-- *******************
物料
选择 ******************* -->
<
template
>
<
template
>
<view>
<view>
<view
class=
"list u-flex u-row-between"
>
<view
class=
"list u-flex u-row-between"
>
<image
class=
"item-image"
:src=
"mixingImage"
v-if=
"item.required"
></image>
<image
class=
"item-image"
:src=
"mixingImage"
v-if=
"item.required"
></image>
<view
class=
"u-m-r-20"
>
{{
item
.
fieldsTitle
}}
</view>
<view
class=
"u-m-r-20"
>
{{
item
.
fieldsTitle
}}
</view>
<view
class=
"u-flex-1 add-parts"
@
click=
"toParts"
v-if=
"!disabled && lists.length > 0"
>
<view
class=
"u-flex-1 add-parts"
@
click=
"toParts"
v-if=
"!disabled && lists.length > 0"
>
添加
备件
<u-icon
name=
"arrow-right"
color=
"#2979ff"
size=
"30"
></u-icon>
添加
物料
<u-icon
name=
"arrow-right"
color=
"#2979ff"
size=
"30"
></u-icon>
</view>
</view>
</view>
</view>
<view
class=
"complete-part"
>
<view
class=
"complete-part"
>
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
<image
:src=
"noPartsImage"
class=
"part-icon"
/>
<image
:src=
"noPartsImage"
class=
"part-icon"
/>
</view>
</view>
<view
class=
"u-flex content"
>
<view
class=
"u-flex content"
>
<text
class=
"title"
>
暂无
备件
信息
</text>
<text
class=
"title"
>
暂无
物料
信息
</text>
<text
class=
"desc"
>
可选择
备件仓备件
</text>
<text
class=
"desc"
>
可选择
物料仓物料
</text>
</view>
</view>
<view
class=
"btn"
>
<view
class=
"btn"
>
<u-button
shape=
"circle"
:custom-style=
"customStyle"
@
click=
"toParts"
>
<u-button
shape=
"circle"
:custom-style=
"customStyle"
@
click=
"toParts"
>
...
...
src/components/order/bottomButtons.vue
View file @
b256eb56
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
buttons
:
{
buttons
:
{
type
:
Array
,
type
:
Array
,
default
()
{
default
()
{
// id: 0 主流程; 1 过程反馈;2 异常签到; 3 现场拍照; 4
配件申请
// id: 0 主流程; 1 过程反馈;2 异常签到; 3 现场拍照; 4
物料申请
// label: 按钮文字,
// label: 按钮文字,
// type: 'image' 上图片下文字;'text' 纯文字,
// type: 'image' 上图片下文字;'text' 纯文字,
// image: 图片名,
// image: 图片名,
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
id
:
3
id
:
3
},
},
{
{
label
:
'
备件申请'
,
label
:
'
物料申请'
,
type
:
'image'
,
type
:
'image'
,
image
:
'peijian.png'
,
image
:
'peijian.png'
,
show
:
false
,
show
:
false
,
...
...
src/components/parts/appliedPartsCell.vue
View file @
b256eb56
<
template
>
<
template
>
<!-- 已申请
配件
cell -->
<!-- 已申请
物料
cell -->
<view
class=
"return-cell"
@
click=
"handleClick"
>
<view
class=
"return-cell"
@
click=
"handleClick"
>
<view
class=
"title-view"
>
<view
class=
"title-view"
>
<text
class=
"title-text"
:style=
"
{'color': titleColor}">
{{
title
}}
</text>
<text
class=
"title-text"
:style=
"
{'color': titleColor}">
{{
title
}}
</text>
...
...
src/components/parts/applyButton.vue
View file @
b256eb56
<
template
>
<
template
>
<!-- 申请
配件
按钮 -->
<!-- 申请
物料
按钮 -->
<view
class=
"apply-button"
>
<view
class=
"apply-button"
>
<u-button
:custom-style=
"customStyle"
shape=
"circle"
@
click
.
stop=
"handleClick"
type=
"primary"
>
<u-button
:custom-style=
"customStyle"
shape=
"circle"
@
click
.
stop=
"handleClick"
type=
"primary"
>
<u-icon
class=
"apply-icon"
name=
"plus"
></u-icon>
<u-icon
class=
"apply-icon"
name=
"plus"
></u-icon>
<text
class=
"apply-text"
v-if=
"showText"
>
申请
备件
</text>
<text
class=
"apply-text"
v-if=
"showText"
>
申请
物料
</text>
</u-button>
</u-button>
</view>
</view>
</
template
>
</
template
>
...
...
src/components/parts/applyList.vue
View file @
b256eb56
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<view
class=
"bottom-view"
>
<view
class=
"bottom-view"
>
<view
class=
"bottom-warehouse"
>
<view
class=
"bottom-warehouse"
>
<view
class=
"bottom-title"
>
<view
class=
"bottom-title"
>
<text>
备件
订单
</text>
<text>
物料
订单
</text>
<view
class=
"order-file-right"
@
click=
"$u.throttle(handleClick, 500)"
>
<view
class=
"order-file-right"
@
click=
"$u.throttle(handleClick, 500)"
>
<text>
点击查看
</text>
<text>
点击查看
</text>
<u-icon
name=
"arrow-right"
></u-icon>
<u-icon
name=
"arrow-right"
></u-icon>
...
...
src/components/parts/returnCell.vue
View file @
b256eb56
<
template
>
<
template
>
<!-- 已申请
配件
cell -->
<!-- 已申请
物料
cell -->
<view
class=
"applied-cell"
@
click=
"handleClick"
>
<view
class=
"applied-cell"
@
click=
"handleClick"
>
<view
class=
"title-view"
>
<view
class=
"title-view"
>
<text
class=
"title-text"
>
{{
title
}}
</text>
<text
class=
"title-text"
>
{{
title
}}
</text>
...
...
src/components/select-parts/adjust.md
View file @
b256eb56
##
配件
数量调整组件使用说明
##
物料
数量调整组件使用说明
```
```
该组件用于仓库
配件
的数量调整
该组件用于仓库
物料
的数量调整
```
```
## API
## API
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
```
json
```
json
{
{
"name"
:
"正泰漏保"
,
//
配件
名称
"name"
:
"正泰漏保"
,
//
物料
名称
"quantity"
:
1
,
//
配件
数量
"quantity"
:
1
,
//
物料
数量
"min"
:
1
,
//
数量最小值
"min"
:
1
,
//
数量最小值
"max"
:
100
//
数量最大值
"max"
:
100
//
数量最大值
}
}
...
...
src/components/select-parts/index.md
View file @
b256eb56
##
配件
选择组件使用说明
##
物料
选择组件使用说明
```
```
该组件用于
备件
申请,数量调整
该组件用于
物料
申请,数量调整
```
```
## API
## API
...
...
src/components/submit-bar/index.vue
View file @
b256eb56
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
return
false
return
false
}
}
},
},
partNum
:
{
//
配件
数量
partNum
:
{
//
物料
数量
type
:
Number
,
type
:
Number
,
default
()
{
default
()
{
return
0
return
0
...
...
src/components/submit-bar/readme.md
View file @
b256eb56
## 提交工具栏组件使用说明
## 提交工具栏组件使用说明
```
```
该组件用于勾选
配件,显示配件
数量以及提交操作
该组件用于勾选
物料,显示物料
数量以及提交操作
```
```
## API
## API
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
| showChecked | Boolean | true | true/false | 是否显示勾选 |
| showChecked | Boolean | true | true/false | 是否显示勾选 |
| allChecked | Boolean | true | true/false | 是否全选 |
| allChecked | Boolean | true | true/false | 是否全选 |
| btnStatus | Boolean | true | true/false | 确定按钮是否可点击 |
| btnStatus | Boolean | true | true/false | 确定按钮是否可点击 |
| partNum | Number | 0 | |
配件
数量 |
| partNum | Number | 0 | |
物料
数量 |
| num | Number | 0 | | 合计总件数 |
| num | Number | 0 | | 合计总件数 |
| submitTxt | String | 确定 | | 确定按钮文字 |
| submitTxt | String | 确定 | | 确定按钮文字 |
...
@@ -50,7 +50,7 @@ export default {
...
@@ -50,7 +50,7 @@ export default {
}
}
},
},
computed
:
{
computed
:
{
//
配件
数
//
物料
数
partNum
()
{
partNum
()
{
return
0
return
0
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment