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
0df68ec2
Commit
0df68ec2
authored
Nov 21, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拆单只有空运显示成交价
parent
9a738cd9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
index.vue
src/views/ecw/order/splitApply/index.vue
+1
-1
NewProduct.vue
src/views/ecw/order/stocking/components/NewProduct.vue
+10
-2
No files found.
src/views/ecw/order/splitApply/index.vue
View file @
0df68ec2
...
...
@@ -211,7 +211,7 @@
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('数量(个)')"
align=
"center"
prop=
"quantity"
width=
"80"
></el-table-column>
<el-table-column
:label=
"$t('成交单价')"
align=
"center"
min-width=
"220px"
v-if=
"[3,4].indexOf(
orderData
.transportId) > -1"
>
<el-table-column
:label=
"$t('成交单价')"
align=
"center"
min-width=
"220px"
v-if=
"[3,4].indexOf(
item
.transportId) > -1"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.charging != 1"
>
<div
class=
"flex"
>
...
...
src/views/ecw/order/stocking/components/NewProduct.vue
View file @
0df68ec2
...
...
@@ -12,9 +12,10 @@
<span
style=
"min-width: 200px;margin-right: 15px;display: inline-block"
>
<product-selector
v-model=
"form.prodId"
@
change=
"handleProdChange"
/>
</span>
<el-button
type=
"text"
@
click=
"isShowProduct = true"
>
{{ $t('添加新
品名
') }}
</el-button>
<el-button
type=
"text"
@
click=
"isShowProduct = true"
>
{{ $t('添加新
商品
') }}
</el-button>
</el-descriptions-item>
<el-descriptions-item>
<
template
slot=
"label"
><span
style=
"color: red"
>
*
</span>
{{
$t
(
'
英文品名
'
)
}}
</
template
>
...
...
@@ -22,6 +23,7 @@
<product-selector
lang=
"En"
v-model=
"form.prodId"
@
change=
"handleProdChange"
/>
</span>
</el-descriptions-item>
...
...
@@ -272,7 +274,7 @@ import WarehouseRecordDetail from "@/views/ecw/order/warehousing/components/Ware
import
ImageAndVideoUpload
from
"
@/components/ImageAndVideoUpload/index.vue
"
;
export
default
{
name
:
"
Package
"
,
name
:
"
NewProduct
"
,
components
:
{
ImageAndVideoUpload
,
WarehouseRecordDetail
,
...
...
@@ -672,6 +674,12 @@ export default {
titleZh
:
undefined
,
titleEn
:
undefined
}
},
handleProdChange
(
prod
){
console
.
log
(
'
handleProdChange
'
,
prod
)
let
attrIds
=
prod
.
attrId
?.
split
(
'
,
'
)?.
map
(
item
=>
parseInt
(
item
))
||
[]
this
.
$set
(
this
.
form
,
'
warehouseInProdAttrIds
'
,
attrIds
)
this
.
$set
(
this
.
form
,
'
material
'
,
prod
.
materialType
)
}
}
}
...
...
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