Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 334e11eb
authored
Sep 15, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.56.0-0908' into 'SAAS+V4.56.2'
上线完合并到目前开发分支 See merge request
!487
2 parents
f0183ee3
efb52e6a
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
158 additions
and
315 deletions
src/views/goods/components/selectGoodsDialog.vue
src/views/goods/coupons/reservationDialog.vue
src/views/goods/coupons/scheduling.vue
src/views/goods/purchaseOnShelves/components/groundingForm.vue
src/views/goods/purchaseOnShelves/components/relateStoreTable.vue
src/views/goods/shelfManage/components/detailCon/DivisionConfig.vue
src/views/goods/shelfManage/components/detailCon/FinanceConfig.vue
src/views/goods/shelfManage/components/editCon/DivisionConfig.vue
src/views/goods/shelfManage/components/editCon/components/tableAccount.vue
src/views/purchase/components/factoryDeliveryDetailDialog.vue
src/views/purchase/components/orderDetailDialog.vue
src/views/purchase/factoryPurchaseAndDelivery.vue
src/views/purchase/purchaseAndDelivery.vue
src/views/stockManage/outbound/outboundList.vue
src/views/systemConfig/merchant/merchantStep/components/ledgerAccount.vue
src/views/systemConfig/merchant/merchantStep/components/reconciliation.vue
src/views/systemConfig/ruleReview/components/ledgerAccount.vue
src/views/systemConfig/ruleReview/components/reconciliation.vue
src/views/goods/components/selectGoodsDialog.vue
View file @
334e11e
<
template
>
<
template
>
<d2-dialog
:title=
"title"
<d2-dialog
:title=
"title"
:is-visible
.
sync=
"selectGoodsVisible"
width=
"70%"
btn-ok-label=
"确定"
:is-visible
.
sync=
"selectGoodsVisible"
@
confirmDialog=
"handleSelectGoodsConfirm"
@
closeDialog=
"handleSelectGoodsClose"
class=
"selectGoods"
>
width=
"70%"
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:label-width=
"'100px'"
btn-ok-label=
"确定"
@
confirmDialog=
"handleSelectGoodsConfirm"
@
closeDialog=
"handleSelectGoodsClose"
class=
"selectGoods"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:label-width=
"'100px'"
:form-data=
"showFormData"
>
:form-data=
"showFormData"
>
<template
slot=
"commodityCode"
>
<template
slot=
"commodityCode"
>
<el-input
:style=
"
{ width: '100%'}"
<el-input
:style=
"
{ width: '100%' }" placeholder="请输入商品ID" v-model.trim="searchForm['commodityCode']"
placeholder="请输入商品ID"
:clearable="true" :maxlength="50" @input="event => searchInput(event, 'commodityCode')" />
v-model.trim="searchForm['commodityCode']"
:clearable="true"
:maxlength="50"
@input="event => searchInput(event, 'commodityCode')" />
</
template
>
</
template
>
<
template
slot=
"type"
>
<
template
slot=
"type"
>
<el-input
:style=
"
{ width: '100%'}"
<el-input
:style=
"
{ width: '100%' }" placeholder="请输入商品编码" v-model.trim="searchForm['type']" :clearable="true"
placeholder="请输入商品编码"
:maxlength="50" @input="event => searchInput(event, 'type')" />
v-model.trim="searchForm['type']"
:clearable="true"
:maxlength="50"
@input="event => searchInput(event, 'type')" />
</
template
>
</
template
>
<
template
slot=
"thirdPartyCode"
>
<
template
slot=
"thirdPartyCode"
>
<el-input
:style=
"
{ width: '100%'}"
<el-input
:style=
"
{ width: '100%' }" placeholder="请输入第三方编码" v-model.trim="searchForm['thirdPartyCode']"
placeholder="请输入第三方编码"
:clearable="true" :maxlength="50" @input="event => searchInput(event, 'thirdPartyCode')" />
v-model.trim="searchForm['thirdPartyCode']"
:clearable="true"
:maxlength="50"
@input="event => searchInput(event, 'thirdPartyCode')" />
</
template
>
</
template
>
<
template
slot=
"baseGoodsCommodityCode"
>
<
template
slot=
"baseGoodsCommodityCode"
>
<el-input
:style=
"
{ width: '100%'}"
<el-input
:style=
"
{ width: '100%' }" placeholder="请输入系列ID" v-model.trim="searchForm['baseGoodsCommodityCode']"
placeholder="请输入系列ID"
:clearable="true" :maxlength="50" @input="event => searchInput(event, 'baseGoodsCommodityCode')" />
v-model.trim="searchForm['baseGoodsCommodityCode']"
:clearable="true"
:maxlength="50"
@input="event => searchInput(event, 'baseGoodsCommodityCode')" />
</
template
>
</
template
>
<
template
slot=
"goodsCascader"
>
<
template
slot=
"goodsCascader"
>
<el-cascader
:options=
"baseData.productTypeList"
<el-cascader
:options=
"baseData.productTypeList"
style=
"width: 100%;"
v-model=
"tempGoodsType"
style=
"width: 100%;"
:placeholder=
"'请选择'"
filterable
@
change=
"selectAddAttr($event)"
clearable
v-model=
"tempGoodsType"
:placeholder=
"'请选择'"
filterable
@
change=
"selectAddAttr($event)"
clearable
:props=
"
{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }">
:props=
"
{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }">
</el-cascader>
</el-cascader>
</
template
>
</
template
>
</d2-search>
</d2-search>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
<el-button
:id=
"tableParams.btnId"
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
>
size=
"small"
type=
"primary"
>
查询
查询
</el-button>
</el-button>
</div>
</div>
<d2-table
ref=
"groundingIndexTable"
<d2-table
ref=
"groundingIndexTable"
:has-num=
"false"
:search-form=
"searchForm"
:table-params=
"tableParams"
:has-num=
"false"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
:search-form=
"searchForm"
<
template
slot=
"select_btn"
slot-scope=
"scope"
>
:table-params=
"tableParams"
<el-radio
v-model=
"selectedRowId"
:label=
"scope.scope.id"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<
template
slot=
"select_btn"
slot-scope=
"scope"
>
<el-radio
v-model=
"selectedRowId"
:label=
"scope.scope.id"
:disabled=
"packageSelectIds && packageSelectIds.includes(scope.scope.id)"
>
{{
''
}}
</el-radio>
:disabled=
"packageSelectIds && packageSelectIds.includes(scope.scope.id)"
>
{{
''
}}
</el-radio>
</
template
>
</
template
>
<
template
slot=
"carName"
slot-scope=
"scope"
>
<el-tooltip
v-if=
"scope.scope.carTypeConfigList && scope.scope.carTypeConfigList.length"
placement=
"top"
>
<div
slot=
"content"
class=
"car-type-list"
>
<div
v-for=
"(item, index) in scope.scope.carTypeConfigList"
:key=
"index"
>
{{
item
.
seriesName
}}
</div>
</div>
<div>
{{
scope
.
scope
.
carTypeConfigList
|
formatCar
}}
</div>
</el-tooltip>
<div
v-else
>
-
</div>
</
template
>
</d2-table>
</d2-table>
</d2-dialog>
</d2-dialog>
</template>
</template>
...
@@ -102,6 +73,15 @@ export default {
...
@@ -102,6 +73,15 @@ export default {
default
:
()
=>
[]
default
:
()
=>
[]
}
}
},
},
filters
:
{
formatCar
(
list
)
{
console
.
log
(
list
,
'list'
)
let
str
=
list
.
map
(
item
=>
{
return
item
.
seriesName
}).
join
(
','
)
return
str
.
length
>
15
?
str
.
substring
(
0
,
15
)
+
'...'
:
str
}
},
data
()
{
data
()
{
return
{
return
{
getListApi
:
getUpgradeProductList
,
getListApi
:
getUpgradeProductList
,
...
@@ -217,9 +197,11 @@ export default {
...
@@ -217,9 +197,11 @@ export default {
},
{
},
{
label
:
'适用车型'
,
label
:
'适用车型'
,
prop
:
''
,
prop
:
''
,
formatter
:
(
cellValue
)
=>
{
addHtml
:
'carName'
,
return
cellValue
?.
carTypeConfigList
?.
length
?
cellValue
.
carTypeConfigList
.
map
(
item
=>
item
.
seriesName
).
join
(
'/'
)
:
'-'
width
:
200
}
// formatter: (cellValue) => {
// return cellValue?.carTypeConfigList?.length ? cellValue.carTypeConfigList.map(item => item.seriesName).join('/') : '-'
// }
},
{
},
{
label
:
'所属系列'
,
label
:
'所属系列'
,
prop
:
'goodsName'
,
prop
:
'goodsName'
,
...
@@ -316,6 +298,11 @@ export default {
...
@@ -316,6 +298,11 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.car-type-list
{
max-height
:
300px
;
overflow-y
:
scroll
;
}
.show-search
{
.show-search
{
::v-deep
.d2-search-block
{
::v-deep
.d2-search-block
{
padding
:
0
;
padding
:
0
;
...
...
src/views/goods/coupons/reservationDialog.vue
View file @
334e11e
<
template
>
<
template
>
<div>
<div>
<baseDialog
:is-show
.
sync=
"dialogShow"
<baseDialog
:is-show
.
sync=
"dialogShow"
:dialog-config=
"dialogConfig.config"
@
handleClick=
"handleAddConfirm"
:dialog-config=
"dialogConfig.config"
@
handleClick=
"handleAddConfirm"
class=
"detail-content-warn"
>
class=
"detail-content-warn"
>
<div
v-loading=
"loading"
>
<div
v-loading=
"loading"
>
<div
class=
"form_div"
>
<div
class=
"form_div"
>
...
@@ -11,20 +9,12 @@
...
@@ -11,20 +9,12 @@
{{
paramsObj
.
customer
.
customerName
+
' | '
+
paramsObj
.
customer
.
customerPhone
}}
{{
paramsObj
.
customer
.
customerName
+
' | '
+
paramsObj
.
customer
.
customerPhone
}}
</div>
</div>
</div>
</div>
<el-form
label-width=
"100px"
<el-form
label-width=
"100px"
:model=
"infoForm"
ref=
"editRef"
:rules=
"formRules"
>
:model=
"infoForm"
<el-form-item
label=
"预约时间:"
required
>
ref=
"editRef"
:rules=
"formRules"
>
<el-form-item
label=
"预约时间:"
required
>
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
<el-form-item
prop=
"dateTime"
>
<el-form-item
prop=
"dateTime"
>
<el-date-picker
v-model=
"infoForm.dateTime"
<el-date-picker
v-model=
"infoForm.dateTime"
:clearable=
"false"
type=
"date"
class=
"default-width"
type=
"date"
placeholder=
"选择日期"
value-format=
"yyyy-MM-dd"
@
change=
"inviteStatMerchantList(true)"
class=
"default-width"
placeholder=
"选择日期"
value-format=
"yyyy-MM-dd"
@
change=
"inviteStatMerchantList"
:picker-options=
"datePickerOptions"
>
:picker-options=
"datePickerOptions"
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
...
@@ -32,21 +22,12 @@
...
@@ -32,21 +22,12 @@
<el-col
:span=
"1"
></el-col>
<el-col
:span=
"1"
></el-col>
<el-col
:span=
"13"
>
<el-col
:span=
"13"
>
<el-form-item
prop=
"times"
>
<el-form-item
prop=
"times"
>
<el-select
v-model=
"infoForm.times"
<el-select
v-model=
"infoForm.times"
filterable
placeholder=
"请选择"
class=
"default-width"
>
filterable
<el-option
v-for=
"(item, key) in timesOpt"
:key=
"key"
:label=
"item.confValue"
:value=
"item.confId"
placeholder=
"请选择"
class=
"default-width"
>
<el-option
v-for=
"(item, key) in timesOpt"
:key=
"key"
:label=
"item.confValue"
:value=
"item.confId"
:disabled=
"item.disabled"
>
:disabled=
"item.disabled"
>
</el-option>
</el-option>
</el-select>
</el-select>
<el-button
type=
"text"
<el-button
type=
"text"
size=
"small"
class=
"timesSle"
v-if=
"paramsObj.inviteDate"
size=
"small"
class=
"timesSle"
v-if=
"paramsObj.inviteDate"
@
click=
"cancelInvite"
>
取消预约
</el-button>
@
click=
"cancelInvite"
>
取消预约
</el-button>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -167,11 +148,14 @@ export default {
...
@@ -167,11 +148,14 @@ export default {
// 截取时分(去掉秒)
// 截取时分(去掉秒)
this
.
infoForm
.
times
=
dateTimeStr
.
split
(
' '
)[
1
].
substring
(
0
,
5
)
// "09:00"
this
.
infoForm
.
times
=
dateTimeStr
.
split
(
' '
)[
1
].
substring
(
0
,
5
)
// "09:00"
this
.
inviteStatMerchantList
()
this
.
inviteStatMerchantList
(
false
)
}
}
},
},
inviteStatMerchantList
()
{
inviteStatMerchantList
(
flag
)
{
if
(
flag
)
{
this
.
infoForm
.
times
=
''
}
var
params
=
{}
var
params
=
{}
params
.
merchantId
=
this
.
paramsObj
.
yqMerchantId
params
.
merchantId
=
this
.
paramsObj
.
yqMerchantId
params
.
startDate
=
this
.
infoForm
.
dateTime
params
.
startDate
=
this
.
infoForm
.
dateTime
...
@@ -263,24 +247,29 @@ export default {
...
@@ -263,24 +247,29 @@ export default {
color
:
#333333
;
color
:
#333333
;
margin
:
10px
0
20px
0
;
margin
:
10px
0
20px
0
;
}
}
.el-icon-circle-close
{
.el-icon-circle-close
{
color
:
#ffffff
;
color
:
#ffffff
;
}
}
.form_div
{
.form_div
{
color
:
#333333
;
color
:
#333333
;
.tipsDiv
{
.tipsDiv
{
height
:
28px
;
height
:
28px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
.tipsText
{
.tipsText
{
padding-left
:
20px
;
padding-left
:
20px
;
font-size
:
14px
;
font-size
:
14px
;
}
}
}
}
}
}
.default-width
{
.default-width
{
width
:
170px
;
width
:
170px
;
}
}
.timesSle
{
.timesSle
{
padding-left
:
10px
;
padding-left
:
10px
;
}
}
...
...
src/views/goods/coupons/scheduling.vue
View file @
334e11e
...
@@ -239,7 +239,7 @@ export default {
...
@@ -239,7 +239,7 @@ export default {
prop
:
"remark"
prop
:
"remark"
},
{
},
{
label
:
'操作人'
,
label
:
'操作人'
,
prop
:
'updated
By
'
prop
:
'updated
UserName
'
}
}
]
]
},
},
...
...
src/views/goods/purchaseOnShelves/components/groundingForm.vue
View file @
334e11e
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
<
el
-
form
-
item
:
prop
=
"item.name"
:
label
=
"item.label ? item.label + ':' : ''"
:
id
=
"item.name"
<
el
-
form
-
item
:
prop
=
"item.name"
:
label
=
"item.label ? item.label + ':' : ''"
:
id
=
"item.name"
:
label
-
width
=
"item.label ? '180px' : '0px'"
class
=
"dis-in-block"
:
label
-
width
=
"item.label ? '180px' : '0px'"
class
=
"dis-in-block"
:
style
=
"
{
'margin-bottom'
:
!
item
.
type
?
'0px'
:
'22px'
}
">
:
style
=
"
{
'margin-bottom'
:
!
item
.
type
?
'0px'
:
'22px'
}
">
<el-button icon="
el
-
icon
-
plus
" @click="
handleClick
">选择上架
门店
</el-button>
<el-button icon="
el
-
icon
-
plus
" @click="
handleClick
">选择上架
商户
</el-button>
<relateStoreTable v-if="
$$
(
formData
[
'merchantRefList'
],
'length'
)
"
<relateStoreTable v-if="
$$
(
formData
[
'merchantRefList'
],
'length'
)
"
:merchant-goods-ref-list="
formData
[
'merchantRefList'
]
" @handleDelete="
handleDelete
">
:merchant-goods-ref-list="
formData
[
'merchantRefList'
]
" @handleDelete="
handleDelete
">
</relateStoreTable>
</relateStoreTable>
...
@@ -305,8 +305,8 @@
...
@@ -305,8 +305,8 @@
@
handleRelateStoreClose
=
"handleRelateStoreClose"
>
@
handleRelateStoreClose
=
"handleRelateStoreClose"
>
<
el
-
row
slot
>
<
el
-
row
slot
>
<
el
-
form
:
model
=
"storeSearchForm"
ref
=
"relate"
:
inline
=
"true"
>
<
el
-
form
:
model
=
"storeSearchForm"
ref
=
"relate"
:
inline
=
"true"
>
<
el
-
form
-
item
label
=
"
门店
名称:"
>
<
el
-
form
-
item
label
=
"
商户
名称:"
>
<
el
-
input
v
-
model
.
trim
=
"storeSearchForm.merchantName"
placeholder
=
"
门店
名称"
@
keydown
.
native
=
"handleStoreInput"
<
el
-
input
v
-
model
.
trim
=
"storeSearchForm.merchantName"
placeholder
=
"
商户
名称"
@
keydown
.
native
=
"handleStoreInput"
clearable
/>
clearable
/>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"商户号:"
>
<
el
-
form
-
item
label
=
"商户号:"
>
...
@@ -375,34 +375,11 @@ export default {
...
@@ -375,34 +375,11 @@ export default {
show
:
false
,
show
:
false
,
rules
:
{
rules
:
{
merchantRefList
:
[
merchantRefList
:
[
{
required
:
true
,
message
:
"请选择上架
门店
"
,
trigger
:
"change"
}
{
required
:
true
,
message
:
"请选择上架
商户
"
,
trigger
:
"change"
}
],
],
// sceneType: [
//
{
required
:
true
,
message
:
"请选择业务场景"
,
trigger
:
"change"
}
// ],
upgradeGoodsId
:
[
upgradeGoodsId
:
[
{
required
:
true
,
message
:
"请选择上架商品"
,
trigger
:
"change"
}
{
required
:
true
,
message
:
"请选择上架商品"
,
trigger
:
"change"
}
],
],
// position: [
//
{
required
:
true
,
message
:
"请选择上架部位"
,
trigger
:
"change"
}
// ],
// productType: [
//
{
required
:
true
,
message
:
"请选择产品类型"
,
trigger
:
"change"
}
// ],
// baseSupplyMode: [
//
{
// required: true,
// message: "请选择基础产品供货模式",
// trigger: "change"
//
}
// ],
// upgradeSupplyMode: [
//
{
// required: true,
// message: "请选择升级/产品供货模式",
// trigger: "change"
//
}
// ],
purchasePrice
:
[
purchasePrice
:
[
{
required
:
true
,
message
:
"请输入采购价"
,
trigger
:
"blur"
}
,
{
required
:
true
,
message
:
"请输入采购价"
,
trigger
:
"blur"
}
,
{
{
...
@@ -925,7 +902,7 @@ export default {
...
@@ -925,7 +902,7 @@ export default {
handleRelateStoreConfirm
(
selectedData
)
{
handleRelateStoreConfirm
(
selectedData
)
{
if
(
!
selectedData
.
length
)
{
if
(
!
selectedData
.
length
)
{
this
.
$message
({
this
.
$message
({
message
:
"请选择关联
门店
"
,
message
:
"请选择关联
商户
"
,
type
:
"warning"
,
type
:
"warning"
,
showClose
:
true
showClose
:
true
}
)
}
)
...
...
src/views/goods/purchaseOnShelves/components/relateStoreTable.vue
View file @
334e11e
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
<el-table
:data=
"merchantGoodsRefList"
style=
"width: 100%"
:header-row-style=
"headerRowStyle"
<el-table
:data=
"merchantGoodsRefList"
style=
"width: 100%"
:header-row-style=
"headerRowStyle"
header-cell-class-name=
"header-cell-class-name"
border
>
header-cell-class-name=
"header-cell-class-name"
border
>
<el-table-column
align=
"center"
width=
"60px"
label=
"序号"
type=
"index"
/>
<el-table-column
align=
"center"
width=
"60px"
label=
"序号"
type=
"index"
/>
<el-table-column
prop=
"merchantName"
label=
"
门店
名称"
align=
"center"
/>
<el-table-column
prop=
"merchantName"
label=
"
商户
名称"
align=
"center"
/>
<el-table-column
prop=
"merchantId"
label=
"
门店
商户号"
align=
"center"
/>
<el-table-column
prop=
"merchantId"
label=
"商户号"
align=
"center"
/>
<el-table-column
prop=
"yqMerchantName"
label=
"商户类型"
align=
"center"
>
<el-table-column
prop=
"yqMerchantName"
label=
"商户类型"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span>
{{
merchantClassifyList
.
find
(
item
=>
item
.
confId
==
scope
.
row
.
merchantType
).
confLabel
}}
</span>
<span>
{{
merchantClassifyList
.
find
(
item
=>
item
.
confId
==
scope
.
row
.
merchantType
).
confLabel
}}
</span>
...
...
src/views/goods/shelfManage/components/detailCon/DivisionConfig.vue
View file @
334e11e
...
@@ -200,7 +200,7 @@ export default {
...
@@ -200,7 +200,7 @@ export default {
}
}
},
},
filteredExpenseCategoryRules
()
{
filteredExpenseCategoryRules
()
{
const
allowedIds
=
[
1
,
2
,
3
02
,
701
]
const
allowedIds
=
[
1
,
2
,
3
,
701
]
return
this
.
financialObj
.
goodsTypeGroupRules
[
return
this
.
financialObj
.
goodsTypeGroupRules
[
this
.
editableTabsValue
-
1
this
.
editableTabsValue
-
1
].
expenseCategoryRules
.
filter
(
item
=>
].
expenseCategoryRules
.
filter
(
item
=>
...
@@ -320,7 +320,7 @@ export default {
...
@@ -320,7 +320,7 @@ export default {
console
.
log
(
"this.settleTimeObj: "
,
this
.
settleTimeObj
)
console
.
log
(
"this.settleTimeObj: "
,
this
.
settleTimeObj
)
},
},
getExpenseCategoryCalculateType
(
value
,
num
)
{
getExpenseCategoryCalculateType
(
value
,
num
)
{
if
(
!
value
||
num
==
null
)
{
if
(
!
value
||
value
==
7
||
num
==
null
)
{
return
"-"
return
"-"
}
}
// console.log('num: ', num)
// console.log('num: ', num)
...
...
src/views/goods/shelfManage/components/detailCon/FinanceConfig.vue
View file @
334e11e
...
@@ -74,7 +74,7 @@ export default {
...
@@ -74,7 +74,7 @@ export default {
},
},
methods
:
{
methods
:
{
getExpenseCategoryCalculateType
(
value
,
num
,
name
)
{
getExpenseCategoryCalculateType
(
value
,
num
,
name
)
{
if
(
!
value
||
num
==
null
)
{
if
(
!
value
||
value
==
7
||
num
==
null
)
{
return
"-"
return
"-"
}
}
...
...
src/views/goods/shelfManage/components/editCon/DivisionConfig.vue
View file @
334e11e
...
@@ -216,7 +216,7 @@ export default {
...
@@ -216,7 +216,7 @@ export default {
merchantLevelList
:
[],
merchantLevelList
:
[],
PlatformLevelList
:
[
PlatformLevelList
:
[
{
{
merchantId
:
"-1"
,
merchantId
:
-
1
,
showMerchantName
:
"嘀加智慧云"
,
showMerchantName
:
"嘀加智慧云"
,
merchantName
:
"嘀加智慧云"
,
merchantName
:
"嘀加智慧云"
,
userType
:
1
userType
:
1
...
...
src/views/goods/shelfManage/components/editCon/components/tableAccount.vue
View file @
334e11e
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<el-radio-group
v-model=
"form2['id' + item.expenseCategoryId]"
@
change=
"
<el-radio-group
v-model=
"form2['id' + item.expenseCategoryId]"
@
change=
"
(e) => handleClearValid2(e, 'id' + item.expenseCategoryId)
(e) => handleClearValid2(e, 'id' + item.expenseCategoryId)
"
>
"
>
<el-radio
v-for=
"(el, index
) in tableSelectOptions"
:key=
"index"
:label=
"+
el.merchantId"
/>
<el-radio
v-for=
"(el, index
2) in tableSelectOptions"
:key=
"index2"
:label=
"
el.merchantId"
/>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
</td>
</td>
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<el-radio-group
v-model=
"form['id' + item.expenseCategoryId]"
@
change=
"
<el-radio-group
v-model=
"form['id' + item.expenseCategoryId]"
@
change=
"
(e) => handleClearValid(e, 'id' + item.expenseCategoryId)
(e) => handleClearValid(e, 'id' + item.expenseCategoryId)
"
>
"
>
<el-radio
v-for=
"(el, index
) in tableSelectOptions"
:key=
"index"
:label=
"+
el.merchantId"
/>
<el-radio
v-for=
"(el, index
2) in tableSelectOptions"
:key=
"index2"
:label=
"
el.merchantId"
/>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
</td>
</td>
...
@@ -324,6 +324,13 @@ export default {
...
@@ -324,6 +324,13 @@ export default {
return
opt
.
merchantId
==
element
return
opt
.
merchantId
==
element
})
==
-
1
&&
(
this
.
form
[
key
]
=
""
)
})
==
-
1
&&
(
this
.
form
[
key
]
=
""
)
}
}
for
(
const
key
in
this
.
form2
)
{
const
element
=
this
.
form2
[
key
]
this
.
tableSelectOptions
.
findIndex
((
opt
)
=>
{
return
opt
.
merchantId
==
element
})
==
-
1
&&
(
this
.
form2
[
key
]
=
""
)
}
this
.
$forceUpdate
()
},
},
handleClearValid2
(
e
,
validField
)
{
handleClearValid2
(
e
,
validField
)
{
this
.
$forceUpdate
()
this
.
$forceUpdate
()
...
...
src/views/purchase/components/factoryDeliveryDetailDialog.vue
View file @
334e11e
<!-- 发货单详情弹窗 -->
<!-- 发货单详情弹窗 -->
<
template
>
<
template
>
<div>
<div>
<baseDialog
title=
"详细信息"
<baseDialog
title=
"详细信息"
:is-show
.
sync=
"detailVisible"
:config=
"dialogConfig.setting"
:is-show
.
sync=
"detailVisible"
:dialog-config=
"dialogConfig.config"
width=
"1050px"
:no-cancel=
"true"
btn-ok-label=
"关闭"
@
closeDialog=
"handleClose"
:config=
"dialogConfig.setting"
:dialog-config=
"dialogConfig.config"
width=
"1050px"
:no-cancel=
"true"
btn-ok-label=
"关闭"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
@
confirmDialog=
"handleClose"
>
<div
class=
"stockMonthDailog"
>
<div
class=
"stockMonthDailog"
>
<div
class=
"addressTitle"
>
<div
class=
"addressTitle"
>
<img
src=
"../images/addressIcon.webp"
<img
src=
"../images/addressIcon.webp"
alt=
""
class=
"icon"
>
alt=
""
class=
"icon"
>
<span
class=
"title"
>
{{
recordInfo
.
merchantName
}}
</span>
<span
class=
"title"
>
{{
recordInfo
.
merchantName
}}
</span>
</div>
</div>
<div
class=
"address-info"
<div
class=
"address-info"
v-if=
"detailInfo[0]"
>
v-if=
"detailInfo[0]"
>
<span
class=
"name"
>
收货人:
<span
class=
"label"
>
{{
detailInfo
[
0
].
contactName
}}
</span></span>
<span
class=
"name"
>
收货人:
<span
class=
"label"
>
{{
detailInfo
[
0
].
contactName
}}
</span></span>
<span
class=
"phone"
>
电话:
<span
class=
"label"
>
{{
detailInfo
[
0
].
contactPhone
}}
</span></span>
<span
class=
"phone"
>
电话:
<span
class=
"label"
>
{{
detailInfo
[
0
].
contactPhone
}}
</span></span>
<span
class=
"address"
>
收货地址:
<span
<span
class=
"address"
>
收货地址:
<span
class=
"label"
>
{{
detailInfo
[
0
].
contactAddress
}}
</span></span>
class=
"label"
>
{{
detailInfo
[
0
].
contactAddress
}}
</span></span>
</div>
</div>
<div
class=
"address-info"
<div
class=
"address-info"
v-if=
"detailInfo[0]"
>
v-if=
"detailInfo[0].purchaseOrderRemark"
>
<span
class=
"address"
>
备注:
<span
class=
"label"
>
{{
detailInfo
[
0
].
purchaseOrderRemark
}}
</span></span>
<span
class=
"address"
>
备注:
<span
class=
"label"
>
{{
detailInfo
[
0
].
purchaseOrderRemark
}}
</span></span>
</div>
</div>
<div
v-for=
"(itemList, index) in detailInfo"
<div
v-for=
"(itemList, index) in detailInfo"
:key=
"index"
>
:key=
"index"
>
<div
class=
"detail-info"
>
<div
class=
"detail-info"
>
<div>
<div>
发货单号:
发货单号:
...
@@ -44,22 +32,15 @@
...
@@ -44,22 +32,15 @@
<span>
{{
itemList
.
deliveryDate
}}
</span>
<span>
{{
itemList
.
deliveryDate
}}
</span>
</div>
</div>
</div>
</div>
<d2-table
ref=
"recordTable"
<d2-table
ref=
"recordTable"
:table-data=
"itemList.deliveryDetailList"
:table-params=
"tableParams"
:table-data=
"itemList.deliveryDetailList"
:table-params=
"tableParams"
:has-page=
"false"
>
:has-page=
"false"
>
<span
slot=
"deliveryCard"
<span
slot=
"deliveryCard"
slot-scope=
"scope"
>
slot-scope=
"scope"
>
<template
v-if=
"scope.scope.deliveryCardList && scope.scope.deliveryCardList.length > 1"
>
<template
v-if=
"scope.scope.deliveryCardList && scope.scope.deliveryCardList.length > 1"
>
<!--
{{
scope
.
scope
.
deliveryCardList
.
length
||
0
}}
-->
<!--
{{
scope
.
scope
.
deliveryCardList
.
length
||
0
}}
-->
<span>
+
{{
scope
.
scope
.
deliveryCardList
.
length
}}
</span>
<span>
+
{{
scope
.
scope
.
deliveryCardList
.
length
}}
</span>
<el-button
mini
<el-button
mini
type=
"text"
@
click=
"handleDeliveryCard(scope.scope.deliveryCardList)"
>
查看
</el-button>
type=
"text"
@
click=
"handleDeliveryCard(scope.scope.deliveryCardList)"
>
查看
</el-button>
</
template
>
</
template
>
<
template
<
template
v-else-if=
"scope.scope.deliveryCardList && scope.scope.deliveryCardList.length == 1"
>
v-else-if=
"scope.scope.deliveryCardList && scope.scope.deliveryCardList.length == 1"
>
<!--
{{
scope
.
scope
.
deliveryCardList
.
length
||
0
}}
-->
<!--
{{
scope
.
scope
.
deliveryCardList
.
length
||
0
}}
-->
<span>
{{
scope
.
scope
.
deliveryCardList
[
0
]
}}
</span>
<span>
{{
scope
.
scope
.
deliveryCardList
[
0
]
}}
</span>
<!--
<el-button
mini
type=
"text"
@
click=
"handleDeliveryCard(scope.scope.deliveryCardList)"
>
查看
</el-button>
-->
<!--
<el-button
mini
type=
"text"
@
click=
"handleDeliveryCard(scope.scope.deliveryCardList)"
>
查看
</el-button>
-->
...
@@ -70,19 +51,10 @@
...
@@ -70,19 +51,10 @@
</div>
</div>
</div>
</div>
</baseDialog>
</baseDialog>
<baseDialog
title=
"查看发货卡号"
<baseDialog
title=
"查看发货卡号"
:config=
"carDialogConfig.setting"
:dialog-config=
"carDialogConfig.config"
:config=
"carDialogConfig.setting"
:is-show
.
sync=
"handleDeliveryCardVisible"
width=
"500px"
:no-cancel=
"true"
btn-ok-label=
"关闭"
:dialog-config=
"carDialogConfig.config"
@
closeDialog=
"handleDeliveryCardVisible = false"
@
confirmDialog=
"handleDeliveryCardVisible = false"
>
:is-show
.
sync=
"handleDeliveryCardVisible"
<d2-table
class=
"deliveryCardCon"
ref=
"recordTable"
:table-data=
"deliveryCardList"
:table-params=
"innerParams"
width=
"500px"
:no-cancel=
"true"
btn-ok-label=
"关闭"
@
closeDialog=
"handleDeliveryCardVisible = false"
@
confirmDialog=
"handleDeliveryCardVisible = false"
>
<d2-table
class=
"deliveryCardCon"
ref=
"recordTable"
:table-data=
"deliveryCardList"
:table-params=
"innerParams"
:has-page=
"false"
>
:has-page=
"false"
>
</d2-table>
</d2-table>
</baseDialog>
</baseDialog>
...
@@ -279,7 +251,7 @@ export default {
...
@@ -279,7 +251,7 @@ export default {
font-size
:
14px
;
font-size
:
14px
;
color
:
#666666
;
color
:
#666666
;
>
span
{
>span
{
margin-right
:
20px
;
margin-right
:
20px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
...
...
src/views/purchase/components/orderDetailDialog.vue
View file @
334e11e
...
@@ -218,7 +218,9 @@ export default {
...
@@ -218,7 +218,9 @@ export default {
}
}
]
]
},
},
detailInfo
:
{},
detailInfo
:
{
purchaseOrderRemark
:
''
,
},
examineStatusClass
:
{
examineStatusClass
:
{
2
:
'greenSp'
,
2
:
'greenSp'
,
4
:
'redSp'
,
4
:
'redSp'
,
...
...
src/views/purchase/factoryPurchaseAndDelivery.vue
View file @
334e11e
<!-- 仓库/工厂发货 -->
<!-- 仓库/工厂发货 -->
<
template
>
<
template
>
<d2-container
class=
"container"
>
<d2-container
class=
"container"
>
<div
class=
"header"
<div
class=
"header"
slot=
"header"
>
slot=
"header"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
>
</d2-search>
</d2-search>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
<el-button
:id=
"tableParams.btnId"
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
handle
>
size=
"small"
type=
"primary"
handle
>
查询
查询
</el-button>
</el-button>
<el-button
size=
"small"
<el-button
size=
"small"
@
click=
"handleReset"
>
@
click=
"handleReset"
>
重置
重置
</el-button>
</el-button>
</div>
</div>
...
@@ -33,26 +25,17 @@
...
@@ -33,26 +25,17 @@
</el-button>
</el-button>
</span>
-->
</span>
-->
</d2-table-header>
</d2-table-header>
<d2-table
ref=
"purchaseAndDeliveryTable"
<d2-table
ref=
"purchaseAndDeliveryTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
:search-form=
"tableSearchForm"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
:table-params=
"tableParams"
<div
slot=
"auth-button"
slot-scope=
"scope"
>
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
<!-- 查看 -->
<!-- 查看 -->
<span
style=
"margin-right: 10px;"
<span
style=
"margin-right: 10px;"
v-if=
"scope.scope.deliveryStatus != 1"
>
v-if=
"scope.scope.deliveryStatus != 1"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090701']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090701']"
/>
</span>
</span>
<!-- 确认发货 -->
<!-- 确认发货 -->
<!-- style="margin-right: 10px;" -->
<!-- style="margin-right: 10px;" -->
<span
v-show=
"scope.scope.deliveryStatus != 2"
<span
v-if=
"scope.scope.deliveryStatus == 1 || scope.scope.deliveryStatus == 3"
style=
"margin-right: 10px;"
>
style=
"margin-right: 10px;"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090702']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090702']"
/>
</span>
</span>
<!--
<el-button
:data=
"scope.scope"
type=
"text"
@
click=
"handleDelivery(scope.scope)"
>
发货
</el-button>
-->
<!--
<el-button
:data=
"scope.scope"
type=
"text"
@
click=
"handleDelivery(scope.scope)"
>
发货
</el-button>
-->
<!-- 发货 -->
<!-- 发货 -->
...
@@ -67,35 +50,19 @@
...
@@ -67,35 +50,19 @@
</div>
</div>
</d2-table>
</d2-table>
</div>
</div>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
v-if=
"detailVisible"
:record-info=
"paramsObj"
></orderDeatilDialog>
v-if=
"detailVisible"
<EditOrderDialog
v-if=
"editVisible"
:page=
"'factory'"
:visible
.
sync=
"editVisible"
:params-obj=
"dialogData"
:record-info=
"paramsObj"
></orderDeatilDialog>
<EditOrderDialog
v-if=
"editVisible"
:page=
"'factory'"
:visible
.
sync=
"editVisible"
:params-obj=
"dialogData"
@
editClose=
"editClose"
>
@
editClose=
"editClose"
>
</EditOrderDialog>
</EditOrderDialog>
<!-- :config="rejectConfig.setting" :dialog-config="rejectConfig.config" :config="rejectConfig.setting"-->
<!-- :config="rejectConfig.setting" :dialog-config="rejectConfig.config" :config="rejectConfig.setting"-->
<baseDialog
:is-show
.
sync=
"rejectVisible"
<baseDialog
:is-show
.
sync=
"rejectVisible"
:dialog-config=
"rejectConfig.config"
@
handleClick=
"handleRejectConfirm"
>
:dialog-config=
"rejectConfig.config"
@
handleClick=
"handleRejectConfirm"
>
<!--
<d2-dialog
v-if=
"rejectVisible"
:is-visible=
"rejectVisible"
title=
"驳回提2"
@
confirmDialog=
"handleRejectConfirm"
<!--
<d2-dialog
v-if=
"rejectVisible"
:is-visible=
"rejectVisible"
title=
"驳回提2"
@
confirmDialog=
"handleRejectConfirm"
@
closeDialog=
"handleRejectClose"
>
-->
@
closeDialog=
"handleRejectClose"
>
-->
<div
class=
"reject-dialog"
>
<div
class=
"reject-dialog"
>
<el-form
:rules=
"rejectRules"
<el-form
:rules=
"rejectRules"
:model=
"rejectData"
label-width=
"150px"
ref=
"delivery-dialog-form"
>
:model=
"rejectData"
<el-form-item
label=
"驳回原因:"
prop=
"rejectCause"
>
label-width=
"150px"
<el-input
type=
"textarea"
placeholder=
"请输入驳回原因"
maxlength=
"50"
:rows=
"3"
show-word-limit
ref=
"delivery-dialog-form"
>
v-model
.
trim=
"rejectData.rejectCause"
class=
"dis-in-block reject-input"
/>
<el-form-item
label=
"驳回原因:"
prop=
"rejectCause"
>
<el-input
type=
"textarea"
placeholder=
"请输入驳回原因"
maxlength=
"50"
:rows=
"3"
show-word-limit
v-model
.
trim=
"rejectData.rejectCause"
class=
"dis-in-block reject-input"
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
...
...
src/views/purchase/purchaseAndDelivery.vue
View file @
334e11e
...
@@ -2,12 +2,7 @@
...
@@ -2,12 +2,7 @@
<
template
>
<
template
>
<d2-container
class=
"container"
>
<d2-container
class=
"container"
>
<div
class=
"header"
slot=
"header"
>
<div
class=
"header"
slot=
"header"
>
<d2-search
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
>
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
>
</d2-search>
</d2-search>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
handle
>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
handle
>
...
@@ -29,94 +24,50 @@
...
@@ -29,94 +24,50 @@
<auth-button
category=
"Button"
:show-btn-ids=
"['9090405']"
/>
<auth-button
category=
"Button"
:show-btn-ids=
"['9090405']"
/>
</span>
</span>
</d2-table-header>
</d2-table-header>
<d2-table
<d2-table
ref=
"purchaseAndDeliveryTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
ref=
"purchaseAndDeliveryTable"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
<div
slot=
"auth-button"
slot-scope=
"scope"
width=
"400"
>
<div
slot=
"auth-button"
slot-scope=
"scope"
width=
"400"
>
<!-- 查看 -->
<!-- 查看 -->
<span
style=
"margin-right: 10px"
>
<span
style=
"margin-right: 10px"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090401']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090401']"
/>
</span>
</span>
<!-- 确认发货 -->
<!-- 确认发货 -->
<span
<span
v-if=
"scope.scope.deliveryStatus == 1 || scope.scope.deliveryStatus == 3"
style=
"margin-right: 10px"
>
v-show=
"scope.scope.deliveryStatus != 2"
style=
"margin-right: 10px"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090402']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090402']"
/>
</span>
</span>
<!-- 分配 -->
<!-- 分配 -->
<span
<span
v-if=
"scope.scope.deliveryStatus != 2 && scope.scope.deliveryStatus != 4
v-show=
"
"
style=
"margin-right: 10px"
>
scope.scope.deliveryStatus != 2 && scope.scope.deliveryStatus != 4
"
style=
"margin-right: 10px"
>
<!--
<el-button
:data=
"scope.scope"
type=
"text"
@
click=
"handleAllocat(scope.scope)"
>
分配
</el-button>
-->
<!--
<el-button
:data=
"scope.scope"
type=
"text"
@
click=
"handleAllocat(scope.scope)"
>
分配
</el-button>
-->
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090404']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090404']"
/>
</span>
</span>
<!-- 驳回 -->
<!-- 驳回 -->
<span
<span
v-if=
"scope.scope.deliveryStatus == 1 && scope.scope.status == 5"
>
v-show=
"scope.scope.deliveryStatus == 1 && scope.scope.status == 5"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090403']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090403']"
/>
</span>
</span>
<!-- 结束 -->
<!-- 结束 -->
<span
v-
show
=
"scope.scope.deliveryStatus == 3"
>
<span
v-
if
=
"scope.scope.deliveryStatus == 3"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090406']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090406']"
/>
</span>
</span>
</div>
</div>
</d2-table>
</d2-table>
</div>
</div>
<orderDeatilDialog
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
v-if=
"detailVisible"
:params-obj=
"paramsObj"
></orderDeatilDialog>
:visible
.
sync=
"detailVisible"
<EditOrderDialog
v-if=
"editVisible"
:is-empty-edit=
"true"
:visible
.
sync=
"editVisible"
:params-obj=
"dialogData"
v-if=
"detailVisible"
@
editClose=
"editClose"
>
:params-obj=
"paramsObj"
></orderDeatilDialog>
<EditOrderDialog
v-if=
"editVisible"
:is-empty-edit=
"true"
:visible
.
sync=
"editVisible"
:params-obj=
"dialogData"
@
editClose=
"editClose"
>
</EditOrderDialog>
</EditOrderDialog>
<AllocateDialog
<AllocateDialog
v-if=
"allocateVisible"
:visible
.
sync=
"allocateVisible"
:params-obj=
"allocateData"
v-if=
"allocateVisible"
@
editClose=
"allocateClose"
>
:visible
.
sync=
"allocateVisible"
:params-obj=
"allocateData"
@
editClose=
"allocateClose"
>
</AllocateDialog>
</AllocateDialog>
<!-- :config="rejectConfig.setting" :dialog-config="rejectConfig.config" :config="rejectConfig.setting"-->
<!-- :config="rejectConfig.setting" :dialog-config="rejectConfig.config" :config="rejectConfig.setting"-->
<baseDialog
<baseDialog
:is-show
.
sync=
"rejectVisible"
:dialog-config=
"rejectConfig.config"
@
handleClick=
"handleRejectConfirm"
>
:is-show
.
sync=
"rejectVisible"
:dialog-config=
"rejectConfig.config"
@
handleClick=
"handleRejectConfirm"
>
<!--
<d2-dialog
v-if=
"rejectVisible"
:is-visible=
"rejectVisible"
title=
"驳回提2"
@
confirmDialog=
"handleRejectConfirm"
<!--
<d2-dialog
v-if=
"rejectVisible"
:is-visible=
"rejectVisible"
title=
"驳回提2"
@
confirmDialog=
"handleRejectConfirm"
@
closeDialog=
"handleRejectClose"
>
-->
@
closeDialog=
"handleRejectClose"
>
-->
<div
class=
"reject-dialog"
>
<div
class=
"reject-dialog"
>
<el-form
<el-form
:rules=
"rejectRules"
:model=
"rejectData"
label-width=
"150px"
ref=
"delivery-dialog-form"
>
:rules=
"rejectRules"
:model=
"rejectData"
label-width=
"150px"
ref=
"delivery-dialog-form"
>
<el-form-item
label=
"驳回原因:"
prop=
"rejectCause"
>
<el-form-item
label=
"驳回原因:"
prop=
"rejectCause"
>
<el-input
<el-input
type=
"textarea"
placeholder=
"请输入驳回原因"
maxlength=
"50"
:rows=
"3"
show-word-limit
type=
"textarea"
v-model
.
trim=
"rejectData.rejectCause"
class=
"dis-in-block reject-input"
/>
placeholder=
"请输入驳回原因"
maxlength=
"50"
:rows=
"3"
show-word-limit
v-model
.
trim=
"rejectData.rejectCause"
class=
"dis-in-block reject-input"
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
...
@@ -127,29 +78,14 @@
...
@@ -127,29 +78,14 @@
</div>
-->
</div>
-->
<!--
</d2-dialog>
-->
<!--
</d2-dialog>
-->
</baseDialog>
</baseDialog>
<baseDialog
<baseDialog
:is-show
.
sync=
"endVisible"
:dialog-config=
"endConfig.config"
@
handleClick=
"handleEndConfirm"
>
:is-show
.
sync=
"endVisible"
:dialog-config=
"endConfig.config"
@
handleClick=
"handleEndConfirm"
>
<!--
<d2-dialog
v-if=
"rejectVisible"
:is-visible=
"rejectVisible"
title=
"驳回提2"
@
confirmDialog=
"handleRejectConfirm"
<!--
<d2-dialog
v-if=
"rejectVisible"
:is-visible=
"rejectVisible"
title=
"驳回提2"
@
confirmDialog=
"handleRejectConfirm"
@
closeDialog=
"handleRejectClose"
>
-->
@
closeDialog=
"handleRejectClose"
>
-->
<div
class=
"reject-dialog"
>
<div
class=
"reject-dialog"
>
<el-form
<el-form
:model=
"terminateDelivery"
label-width=
"150px"
ref=
"delivery-dialog-form"
>
:model=
"terminateDelivery"
label-width=
"150px"
ref=
"delivery-dialog-form"
>
<el-form-item
label=
"备注:"
prop=
"rejectCause"
>
<el-form-item
label=
"备注:"
prop=
"rejectCause"
>
<el-input
<el-input
type=
"textarea"
placeholder=
"请输入备注信息"
maxlength=
"200"
:rows=
"3"
show-word-limit
type=
"textarea"
v-model
.
trim=
"terminateDelivery.terminateDeliveryInstruction"
class=
"dis-in-block reject-input"
/>
placeholder=
"请输入备注信息"
maxlength=
"200"
:rows=
"3"
show-word-limit
v-model
.
trim=
"terminateDelivery.terminateDeliveryInstruction"
class=
"dis-in-block reject-input"
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<p
style=
"margin-left: 150px"
>
<p
style=
"margin-left: 150px"
>
...
@@ -186,7 +122,7 @@ import EditOrderDialog from "./components/EditOrderDialog"
...
@@ -186,7 +122,7 @@ import EditOrderDialog from "./components/EditOrderDialog"
import
AllocateDialog
from
"./components/AllocateDialog"
import
AllocateDialog
from
"./components/AllocateDialog"
// import { limitPrice } from '@/common/format'
// import { limitPrice } from '@/common/format'
export
default
{
export
default
{
name
:
"Purchase
Order
"
,
name
:
"Purchase
AndDelivery
"
,
components
:
{
components
:
{
orderDeatilDialog
,
orderDeatilDialog
,
EditOrderDialog
,
EditOrderDialog
,
...
@@ -689,11 +625,13 @@ export default {
...
@@ -689,11 +625,13 @@ export default {
.reject-input
{
.reject-input
{
color
:
red
;
color
:
red
;
::v-deep
.el-textarea__inner{
::v-deep
.el-textarea__inner
{
height
:
79px
;
height
:
79px
;
width
:
432px
!important
;
width
:
432px
!important
;
}
}
}
}
::v-deep
.el-textarea
.el-input__count
{
::v-deep
.el-textarea
.el-input__count
{
right
:
90px
;
right
:
90px
;
bottom
:
-10px
;
bottom
:
-10px
;
...
...
src/views/stockManage/outbound/outboundList.vue
View file @
334e11e
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
slot-scope=
"scope"
>
slot-scope=
"scope"
>
<!-- 关联技师 -->
<!-- 关联技师 -->
<span
style=
"margin-right: 10px;"
<span
style=
"margin-right: 10px;"
v-if=
"scope.scope.
orderStatus != 1
2"
>
v-if=
"scope.scope.
subOrderStatus !=
2"
>
<auth-button
:data=
"scope.scope"
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9080302']"
/>
:show-btn-ids=
"['9080302']"
/>
</span>
</span>
...
@@ -287,7 +287,7 @@ export default {
...
@@ -287,7 +287,7 @@ export default {
}
}
},
{
},
{
label
:
'操作人'
,
label
:
'操作人'
,
prop
:
'updated
By
'
,
prop
:
'updated
UserName
'
,
width
:
'100px'
width
:
'100px'
},
{
},
{
label
:
'最后操作时间'
,
label
:
'最后操作时间'
,
...
...
src/views/systemConfig/merchant/merchantStep/components/ledgerAccount.vue
View file @
334e11e
...
@@ -591,7 +591,7 @@ export default {
...
@@ -591,7 +591,7 @@ export default {
return
dayjs
(
value
).
format
(
'YYYY年MM月DD日'
)
return
dayjs
(
value
).
format
(
'YYYY年MM月DD日'
)
},
},
getExpenseCategoryCalculateType
(
value
,
num
)
{
getExpenseCategoryCalculateType
(
value
,
num
)
{
if
(
!
value
||
num
==
null
)
{
if
(
!
value
||
value
==
7
||
num
==
null
)
{
return
'-'
return
'-'
}
}
// console.log('num: ', num)
// console.log('num: ', num)
...
...
src/views/systemConfig/merchant/merchantStep/components/reconciliation.vue
View file @
334e11e
...
@@ -596,7 +596,7 @@ export default {
...
@@ -596,7 +596,7 @@ export default {
}
}
},
},
getExpenseCategoryCalculateType(value, num) {
getExpenseCategoryCalculateType(value, num) {
if (!value || num == null) {
if (!value ||
value == 7 ||
num == null) {
return "-"
return "-"
}
}
// 1按毛利比例 2按收入比例 3按固定金额 4按(产值-流量成本) 5按(产值-流量成本-其他费用不包含产品成本) 6按(产值-流量成本-其他费用包含产品成本) 8按(收入-自定义其他费用) 9按(收入-其他费用)
// 1按毛利比例 2按收入比例 3按固定金额 4按(产值-流量成本) 5按(产值-流量成本-其他费用不包含产品成本) 6按(产值-流量成本-其他费用包含产品成本) 8按(收入-自定义其他费用) 9按(收入-其他费用)
...
...
src/views/systemConfig/ruleReview/components/ledgerAccount.vue
View file @
334e11e
...
@@ -419,7 +419,10 @@ export default {
...
@@ -419,7 +419,10 @@ export default {
copyValue
?.
goodsTypeGroupRules
?.
map
(
item
=>
{
copyValue
?.
goodsTypeGroupRules
?.
map
(
item
=>
{
let
otherObj
=
{}
let
otherObj
=
{}
this
.
otherCostList
.
map
(
otherItem
=>
{
this
.
otherCostList
.
map
(
otherItem
=>
{
// console.log(item?.[otherItem.name] == 'Y')
// console.log(otherItem.name == 'commission')
if
(
item
?.[
otherItem
.
name
]
==
'Y'
||
otherItem
.
name
==
'commission'
)
{
if
(
item
?.[
otherItem
.
name
]
==
'Y'
||
otherItem
.
name
==
'commission'
)
{
console
.
log
(
'otherItem'
,
item
)
otherObj
=
item
?.
merchantDistributionRules
?.
find
(
ele
=>
ele
.
expenseCategoryName
==
otherItem
.
text
)
||
{}
otherObj
=
item
?.
merchantDistributionRules
?.
find
(
ele
=>
ele
.
expenseCategoryName
==
otherItem
.
text
)
||
{}
otherObj
.
nodeType
=
1
// 不可拓展类目
otherObj
.
nodeType
=
1
// 不可拓展类目
otherObj
.
isCost
=
true
otherObj
.
isCost
=
true
...
@@ -428,6 +431,7 @@ export default {
...
@@ -428,6 +431,7 @@ export default {
otherObj
.
expenseCategoryValue
=
otherItem
.
ratename
?
item
[
otherItem
.
ratename
]
:
null
otherObj
.
expenseCategoryValue
=
otherItem
.
ratename
?
item
[
otherItem
.
ratename
]
:
null
let
index
=
item
.
expenseCategoryRuleTargetTypeGroups
?.
findIndex
(
ele
=>
ele
.
targetType
==
3
)
let
index
=
item
.
expenseCategoryRuleTargetTypeGroups
?.
findIndex
(
ele
=>
ele
.
targetType
==
3
)
if
(
index
>
-
1
)
{
if
(
index
>
-
1
)
{
console
.
log
(
item
?.
expenseCategoryRuleTargetTypeGroups
[
index
]?.
expenseCategoryRuleLevels
,
'item?.expenseCategoryRuleTargetTypeGroups[index]?.expenseCategoryRuleLevels'
)
if
(
item
?.
expenseCategoryRuleTargetTypeGroups
[
index
]?.
expenseCategoryRuleLevels
?.
findIndex
(
v
=>
v
.
expenseCategoryName
==
otherItem
.
text
)
<=
0
)
{
if
(
item
?.
expenseCategoryRuleTargetTypeGroups
[
index
]?.
expenseCategoryRuleLevels
?.
findIndex
(
v
=>
v
.
expenseCategoryName
==
otherItem
.
text
)
<=
0
)
{
item
?.
expenseCategoryRuleTargetTypeGroups
?.[
index
].
expenseCategoryRuleLevels
.
unshift
(
otherObj
)
item
?.
expenseCategoryRuleTargetTypeGroups
?.[
index
].
expenseCategoryRuleLevels
.
unshift
(
otherObj
)
}
}
...
@@ -552,7 +556,7 @@ export default {
...
@@ -552,7 +556,7 @@ export default {
}
}
},
},
getExpenseCategoryCalculateType
(
value
,
num
)
{
getExpenseCategoryCalculateType
(
value
,
num
)
{
if
(
!
value
||
num
==
null
)
{
if
(
!
value
||
value
==
7
||
num
==
null
)
{
return
'-'
return
'-'
}
}
let
res
let
res
...
...
src/views/systemConfig/ruleReview/components/reconciliation.vue
View file @
334e11e
...
@@ -691,7 +691,7 @@ export default {
...
@@ -691,7 +691,7 @@ export default {
}
}
},
},
getExpenseCategoryCalculateType(value, num) {
getExpenseCategoryCalculateType(value, num) {
if (!value || num == null) {
if (!value ||
value == 7 ||
num == null) {
return "-"
return "-"
}
}
// 1按毛利比例 2按收入比例 3按固定金额 4按(产值-流量成本) 5按(产值-流量成本-其他费用不包含产品成本) 6按(产值-流量成本-其他费用包含产品成本) 8按(收入-自定义其他费用) 9按(收入-其他费用)
// 1按毛利比例 2按收入比例 3按固定金额 4按(产值-流量成本) 5按(产值-流量成本-其他费用不包含产品成本) 6按(产值-流量成本-其他费用包含产品成本) 8按(收入-自定义其他费用) 9按(收入-其他费用)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment