Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
50756dbd
Commit
50756dbd
authored
Oct 26, 2023
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readonly
parent
5d38fd12
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
WarehouseRecordDetail.vue
...cw/order/warehousing/components/WarehouseRecordDetail.vue
+6
-6
WarehouseRecordDetailItem.vue
...rder/warehousing/components/WarehouseRecordDetailItem.vue
+14
-14
No files found.
src/views/ecw/order/warehousing/components/WarehouseRecordDetail.vue
View file @
50756dbd
...
...
@@ -14,13 +14,13 @@
:key=
"index"
v-model=
"dataList[index]"
:index=
"index"
:attr-list=
"attrList"
@
handle-delete=
"handleDelete(index)"
:read
-only=
"readO
nly"
:read
only=
"reado
nly"
/>
</el-form>
<el-button
v-show=
"!read
O
nly"
type=
"primary"
size=
"mini"
@
click=
"handleAddItem"
>
添加一条明细
</el-button>
<el-button
v-show=
"!read
o
nly"
type=
"primary"
size=
"mini"
@
click=
"handleAddItem"
>
添加一条明细
</el-button>
<span
v-show=
"!read
O
nly"
slot=
"footer"
class=
"dialog-footer"
>
<span
v-show=
"!read
o
nly"
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave"
>
确 定
</el-button>
</span>
...
...
@@ -45,7 +45,7 @@ export default {
type
:
Array
,
default
:
()
=>
[]
},
read
O
nly
:
{
read
o
nly
:
{
type
:
Boolean
,
default
:
false
}
...
...
@@ -117,7 +117,7 @@ export default {
this
.
dialogVisible
=
true
},
handleClose
(
done
)
{
if
(
this
.
read
O
nly
)
{
if
(
this
.
read
o
nly
)
{
return
done
()
}
this
.
$confirm
(
'
确认关闭?
'
)
...
...
@@ -134,7 +134,7 @@ export default {
computed
:
{
title
()
{
if
(
this
.
read
O
nly
)
{
if
(
this
.
read
o
nly
)
{
return
'
查看箱明细
'
}
return
!
this
.
value
||
this
.
value
.
length
===
0
?
'
添加箱明细
'
:
'
编辑箱明细
'
...
...
src/views/ecw/order/warehousing/components/WarehouseRecordDetailItem.vue
View file @
50756dbd
...
...
@@ -2,12 +2,12 @@
<el-card
style=
"margin-bottom: 10px"
>
<div
slot=
"header"
>
<span>
序号
{{
index
+
1
}}
</span>
<el-link
v-show=
"!read
O
nly"
type=
"danger"
@
click=
"handleDelete"
style=
"float: right"
>
删除
</el-link>
<el-link
v-show=
"!read
o
nly"
type=
"danger"
@
click=
"handleDelete"
style=
"float: right"
>
删除
</el-link>
</div>
<el-row
:gutter=
"10"
>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('中文品名')"
>
<product-selector
v-model=
"value.prodId"
determined
protect-once
:disabled=
"read
O
nly"
/>
<product-selector
v-model=
"value.prodId"
determined
protect-once
:disabled=
"read
o
nly"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
@@ -18,7 +18,7 @@
filterable
remote
:remote-method=
"getProductBrandPage"
:disabled=
"read
O
nly"
:disabled=
"read
o
nly"
clearable
>
<el-option
v-for=
"item in brandList"
...
...
@@ -34,7 +34,7 @@
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('商品特性')"
>
<el-checkbox-group
v-model=
"prodAttrIds"
>
<el-checkbox
v-for=
"item in attrList"
:key=
"item.id"
:label=
"item.id"
:disabled=
"read
O
nly"
>
{{
item
.
attrName
}}
</el-checkbox>
<el-checkbox
v-for=
"item in attrList"
:key=
"item.id"
:label=
"item.id"
:disabled=
"read
o
nly"
>
{{
item
.
attrName
}}
</el-checkbox>
</el-checkbox-group>
</el-form-item>
</el-col>
...
...
@@ -45,7 +45,7 @@
:type=
"DICT_TYPE.WAREHOUSING_RECORD_DETAIL_USAGE"
multiple
form-type=
"checkbox"
:disabled=
"read
O
nly"
:disabled=
"read
o
nly"
></dict-selector>
</el-form-item>
</el-col>
...
...
@@ -53,44 +53,44 @@
<el-row
:gutter=
"10"
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('长')"
>
<el-input
v-model=
"boxGauge1"
:disabled=
"read
O
nly"
/>
<el-input
v-model=
"boxGauge1"
:disabled=
"read
o
nly"
/>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('宽')"
>
<el-input
v-model=
"boxGauge2"
:disabled=
"read
O
nly"
/>
<el-input
v-model=
"boxGauge2"
:disabled=
"read
o
nly"
/>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('高')"
>
<el-input
v-model=
"boxGauge3"
:disabled=
"read
O
nly"
/>
<el-input
v-model=
"boxGauge3"
:disabled=
"read
o
nly"
/>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('重量')"
>
<el-input
v-model=
"value.weight"
:disabled=
"read
O
nly"
/>
<el-input
v-model=
"value.weight"
:disabled=
"read
o
nly"
/>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('体积')"
>
<el-input
v-model=
"value.volume"
:disabled=
"read
O
nly"
/>
<el-input
v-model=
"value.volume"
:disabled=
"read
o
nly"
/>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('快递单号')"
>
<el-input
v-model=
"value.expressNo"
:disabled=
"read
O
nly"
/>
<el-input
v-model=
"value.expressNo"
:disabled=
"read
o
nly"
/>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('包装类型')"
>
<dict-selector
:type=
"DICT_TYPE.ECW_PACKAGING_TYPE"
v-model=
"value.unit"
:disabled=
"read
O
nly"
></dict-selector>
<dict-selector
:type=
"DICT_TYPE.ECW_PACKAGING_TYPE"
v-model=
"value.unit"
:disabled=
"read
o
nly"
></dict-selector>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('数量')"
>
<el-input
v-model=
"value.quantityAll"
:disabled=
"read
O
nly"
/>
<el-input
v-model=
"value.quantityAll"
:disabled=
"read
o
nly"
/>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -120,7 +120,7 @@ export default {
type
:
Number
,
default
:
0
},
read
O
nly
:
{
read
o
nly
:
{
type
:
Boolean
,
default
:
false
},
...
...
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