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 a2f84f5b
authored
Jul 14, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' into 'master'
Develop See merge request
!217
2 parents
eb354dd5
ac0fa9d5
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
664 additions
and
398 deletions
src/api/stockManage.js
src/api/vdrule.js
src/common/constants.js
src/layout/header-aside/components/header-user/index.vue
src/views/customer/editCustomer.vue
src/views/customer/recordList.vue
src/views/goods/grounding/components/groundingForm.vue
src/views/goods/grounding/components/relateStoreDialog.vue
src/views/goods/productManage/components/multipleSpecificationForm.vue
src/views/goods/productManage/components/singleSpecificationForm.vue
src/views/orderManage/orderDetail.vue
src/views/purchase/components/EditOrderDialog.vue
src/views/purchase/components/factoryDeliveryDetailDialog.vue
src/views/purchase/factoryPurchaseAndDelivery.vue
src/views/purchase/procurementBusiness.vue
src/views/purchase/procurementReview.vue
src/views/purchase/purchaseOrder.vue
src/views/rightsAndInterestsManage/components/ruleConfigurationDialog.vue
src/views/stockManage/BenefitCardManage/index.vue
src/views/stockManage/allocation/allocationList.vue
src/views/stockManage/earlyWarning/earlyWarningList.vue
src/views/stockManage/inventory/inventoryList.vue
src/views/stockManage/outbound/outboundList.vue
src/views/stockManage/stock/stockList.vue
src/views/stockManage/warehousing/warehousingList.vue
src/views/systemConfig/ShopConfig/index.vue
src/views/systemConfig/merchant/components/relateMerDialog.vue
src/api/stockManage.js
View file @
a2f84f5
...
@@ -118,3 +118,21 @@ export function vdCardCount(data) {
...
@@ -118,3 +118,21 @@ export function vdCardCount(data) {
data
.
method
=
`dj.smartcarlife.stock.vdCard.count`
data
.
method
=
`dj.smartcarlife.stock.vdCard.count`
return
request
(
data
,
RequestMethods
.
POST
)
return
request
(
data
,
RequestMethods
.
POST
)
}
}
// 入库管理列表统计
export
function
goodsWarehousingInfoCount
(
data
)
{
data
.
method
=
`dj.api.life.GoodsWarehousingInfo.count`
return
request
(
data
,
RequestMethods
.
POST
)
}
// 库存记录统计
export
function
stockMonthReportCount
(
data
)
{
data
.
method
=
`
${
path
}
MerchantGoodsStockMonthReport.count`
return
request
(
data
,
RequestMethods
.
POST
)
}
// 出库记录列表统计
export
function
stockReduceRecordCount
(
data
)
{
data
.
method
=
`
${
path
}
MerchantGoodsStockReduceRecord.count`
return
request
(
data
,
RequestMethods
.
POST
)
}
src/api/vdrule.js
View file @
a2f84f5
import
request
from
'./request'
import
request
from
"./request"
const
path
=
'dj.api.smartcarlife.'
const
path
=
"dj.api.smartcarlife."
// 车损权益规则分页列表
// 车损权益规则分页列表
export
function
getList
(
data
)
{
export
function
getList
(
data
)
{
data
.
method
=
`
${
path
}
vdrule.page`
data
.
method
=
`
${
path
}
vdrule.page`
return
request
(
data
)
return
request
(
data
)
}
}
// 车损权益规则新增/编辑
// 车损权益规则新增/编辑
export
function
insertorUpdate
(
data
)
{
export
function
insertorUpdate
(
data
)
{
data
.
method
=
`
${
path
}
vdrule.insertorupdate`
data
.
method
=
`
${
path
}
vdrule.insertorupdate`
return
request
(
data
)
return
request
(
data
,
"Post"
)
}
}
// 车损权益规则查看
// 车损权益规则查看
export
function
quotationDetail
(
data
)
{
export
function
quotationDetail
(
data
)
{
data
.
method
=
`
${
path
}
vdrule.detail`
data
.
method
=
`
${
path
}
vdrule.detail`
return
request
(
data
)
return
request
(
data
)
}
}
// 车损权益规则导出
// 车损权益规则导出
export
function
vdruleExport
(
data
)
{
export
function
vdruleExport
(
data
)
{
data
.
method
=
`
${
path
}
vdrule.export`
data
.
method
=
`
${
path
}
vdrule.export`
return
request
(
data
)
return
request
(
data
)
}
}
export
function
getshopMerchantList
(
data
)
{
export
function
getshopMerchantList
(
data
)
{
data
.
method
=
`dj.smartcarlife.api.shopMerchant.list`
return
request
(
data
)
}
\ No newline at end of file
\ No newline at end of file
data
.
method
=
`dj.smartcarlife.api.shopMerchant.list`
return
request
(
data
)
}
src/common/constants.js
View file @
a2f84f5
...
@@ -674,3 +674,8 @@ export const sceneForPerson = [
...
@@ -674,3 +674,8 @@ export const sceneForPerson = [
{
confId
:
"0"
,
confValue
:
"2.1"
},
{
confId
:
"0"
,
confValue
:
"2.1"
},
{
confId
:
"2"
,
confValue
:
"2.2"
}
{
confId
:
"2"
,
confValue
:
"2.2"
}
]
]
// 库存管理 订单类型
export
const
upgradeFlags
=
[
{
confId
:
"Y"
,
confValue
:
"升级"
},
{
confId
:
"N"
,
confValue
:
"战败"
}
]
src/layout/header-aside/components/header-user/index.vue
View file @
a2f84f5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<!--
<p
class=
"bg-blue-500 text-5xl"
>
111111
</p>
-->
<!--
<p
class=
"bg-blue-500 text-5xl"
>
111111
</p>
-->
<i
class=
"el-icon-s-tools"
style=
"marginRight:20px;cursor:pointer"
v-if=
"userInfo.beSuper"
@
click=
"setTitle"
/>
<i
class=
"el-icon-s-tools"
style=
"marginRight:20px;cursor:pointer"
v-if=
"userInfo.beSuper"
@
click=
"setTitle"
/>
<el-popover
ref=
"popover1"
placement=
"top-start"
width=
"400"
@
show=
"redPotShow = false"
popper-class=
"popper"
<el-popover
ref=
"popover1"
placement=
"top-start"
width=
"400"
@
show=
"redPotShow = false"
popper-class=
"popper"
v-model=
"visible"
trigger=
"hover"
>
v-model=
"visible"
trigger=
"hover"
>
<p
class=
"title"
>
<p
class=
"title"
>
导出和导入任务
导出和导入任务
</p>
</p>
...
@@ -403,18 +403,19 @@ export default {
...
@@ -403,18 +403,19 @@ export default {
await
this
.
logout
()
await
this
.
logout
()
window
.
location
.
reload
()
window
.
location
.
reload
()
}
}
if
(
this
.
$router
.
currentRoute
.
name
===
'index'
)
{
reload
()
reload
()
// if (this.$router.currentRoute.name === 'index')
{
}
else
{
// reload()
// this.$router.push(
{
name
:
'index'
}
)
//
}
else
{
this
.
$router
.
push
({
name
:
'login'
}
)
// // this.$router.push(
{
name
:
'index'
}
)
var
_t
=
setInterval
(()
=>
{
// this.$router.push(
{
name
:
'login'
}
)
if
(
this
.
$router
.
currentRoute
.
name
===
'index'
)
{
// var _t = setInterval(() =>
{
clearInterval
(
_t
)
// if (this.$router.currentRoute.name === 'index')
{
reload
()
// clearInterval(_t)
}
// reload()
}
,
0
)
//
}
}
//
}
,
0
)
//
}
}
).
catch
(()
=>
{
}
)
}
).
catch
(()
=>
{
}
)
}
,
}
,
async
logOut
()
{
async
logOut
()
{
...
...
src/views/customer/editCustomer.vue
View file @
a2f84f5
<!-- 客户预录 -->
<!-- 客户预录 -->
<
template
>
<
template
>
<d2-container>
<d2-container>
<el-form
ref=
"editCusFrom"
<el-form
ref=
"editCusFrom"
class=
"editCusFrom d2-container-content"
:model=
"form"
:rules=
"formRules"
class=
"editCusFrom d2-container-content"
label-width=
"110px"
v-loading=
"$store.state.d2admin.loading.value"
>
:model=
"form"
:rules=
"formRules"
label-width=
"110px"
v-loading=
"$store.state.d2admin.loading.value"
>
<p
class=
"edit-title"
>
<p
class=
"edit-title"
>
预录客户
预录客户
</p>
</p>
<p
class=
"edit-sub-title"
<p
class=
"edit-sub-title"
style=
"margin-top: 10px;"
>
style=
"margin-top: 10px;"
>
关联门店信息
关联门店信息
</p>
</p>
<el-form-item
id=
"sellerMerchantId"
<el-form-item
id=
"sellerMerchantId"
label=
"园区店:"
prop=
"sellerMerchantId"
:class=
"
{ 'is-error': hasCusError }"
label=
"园区店:"
v-show="userInfo.beSuper">
prop=
"sellerMerchantId"
<el-select
v-if=
"!isDisabled"
v-model=
"form.sellerMerchantId"
placeholder=
"请选择"
class=
"el_select itd"
:class=
"
{'is-error': hasCusError }"
:disabled=
"isDisabled"
@
change=
"handleSellerMerchantChange"
>
v-show="userInfo.beSuper">
<el-option
v-for=
"item in parkServiceList"
:key=
"item.merchantId"
:value=
"item.merchantId"
<el-select
v-if=
"!isDisabled"
:label=
"item.merchantName"
/>
v-model=
"form.sellerMerchantId"
placeholder=
"请选择"
class=
"el_select itd"
:disabled=
"isDisabled"
@
change=
"handleSellerMerchantChange"
>
<el-option
v-for=
"item in parkServiceList"
:key=
"item.merchantId"
:value=
"item.merchantId"
:label=
"item.merchantName"
/>
</el-select>
</el-select>
<span
v-else
>
{{
form
.
sellerMerchantName
}}
</span>
<span
v-else
>
{{
form
.
sellerMerchantName
}}
</span>
</el-form-item>
</el-form-item>
<el-form-item
id=
"merchantId"
<el-form-item
id=
"merchantId"
label=
"流量来源:"
prop=
"merchantId"
:class=
"
{ 'is-error': hasCusError }">
label=
"流量来源:"
<el-select
v-if=
"!isDisabled"
v-model=
"form.merchantId"
placeholder=
"请选择"
class=
"el_select itd"
prop=
"merchantId"
:disabled=
"isDisabled"
@
change=
"getAdviser(form.merchantId)"
>
:class=
"
{'is-error': hasCusError }">
<el-option
v-for=
"item in storeIdList"
:key=
"item.merchantId"
:value=
"item.merchantId"
<el-select
v-if=
"!isDisabled"
:label=
"item.merchantName"
/>
v-model=
"form.merchantId"
placeholder=
"请选择"
class=
"el_select itd"
:disabled=
"isDisabled"
@
change=
"getAdviser(form.merchantId)"
>
<el-option
v-for=
"item in storeIdList"
:key=
"item.merchantId"
:value=
"item.merchantId"
:label=
"item.merchantName"
/>
</el-select>
</el-select>
<span
v-else
>
{{
form
.
merchantName
}}
</span>
<span
v-else
>
{{
form
.
merchantName
}}
</span>
<span
class=
"warningFont"
<span
class=
"warningFont"
v-if=
"nostoreError"
>
暂无服务的4S店
</span>
v-if=
"nostoreError"
>
暂无服务的4S店
</span>
</el-form-item>
</el-form-item>
<el-form-item
id=
"adviser"
<el-form-item
id=
"adviser"
label=
"推荐人:"
required
>
label=
"推荐人:"
<el-radio
v-for=
"item in adviserList"
:key=
"item.uuid"
v-model=
"form.userId"
:label=
"item.uuid"
required
>
:disabled=
"isDisabled"
>
<el-radio
v-for=
"item in adviserList"
:key=
"item.uuid"
v-model=
"form.userId"
:label=
"item.uuid"
:disabled=
"isDisabled"
>
{{
item
.
staffName
}}
{{
item
.
staffName
}}
</el-radio>
</el-radio>
<p
class=
"warningFont"
<p
class=
"warningFont"
v-if=
"!form.userId && !hasCusError"
>
v-if=
"!form.userId && !hasCusError"
>
请选择推荐人
请选择推荐人
</p>
</p>
<p
class=
"warningFont"
<p
class=
"warningFont"
v-if=
"hasCusError"
>
v-if=
"hasCusError"
>
请检查是否配置员工名片!
请检查是否配置员工名片!
</p>
</p>
</el-form-item>
</el-form-item>
...
@@ -77,92 +46,52 @@
...
@@ -77,92 +46,52 @@
客户基本信息
客户基本信息
</p>
</p>
<div
class=
"line_box"
>
<div
class=
"line_box"
>
<el-form-item
id=
"customerName"
<el-form-item
id=
"customerName"
label=
"客户姓名:"
prop=
"customerName"
>
label=
"客户姓名:"
<el-input
v-model
.
trim=
"form.customerName"
maxlength=
"16"
class=
"itd"
placeholder=
"请输入客户姓名"
clearable
/>
prop=
"customerName"
>
<el-input
v-model
.
trim=
"form.customerName"
maxlength=
"16"
class=
"itd"
placeholder=
"请输入客户姓名"
clearable
/>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"line_box"
>
<div
class=
"line_box"
>
<el-form-item
label=
"性别:"
>
<el-form-item
label=
"性别:"
>
<el-select
v-model=
"form.customerSex"
<el-select
v-model=
"form.customerSex"
placeholder=
"请选择"
class=
"el_select itd"
>
placeholder=
"请选择"
<el-option
value=
"1"
label=
"男"
/>
class=
"el_select itd"
>
<el-option
value=
"2"
label=
"女"
/>
<el-option
value=
"1"
label=
"男"
/>
<el-option
value=
"2"
label=
"女"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"line_box"
>
<div
class=
"line_box"
>
<!--
<div
class=
"left"
>
<!--
<div
class=
"left"
>
<div
class=
"left"
>
-->
<div
class=
"left"
>
-->
<el-form-item
id=
"customerPhone"
<el-form-item
id=
"customerPhone"
label=
"手机号码:"
prop=
"customerPhone"
>
label=
"手机号码:"
<el-input
v-model
.
trim=
"form.customerPhone"
maxlength=
"11"
class=
"itd"
placeholder=
"请输入手机号码"
clearable
/>
prop=
"customerPhone"
>
<el-input
v-model
.
trim=
"form.customerPhone"
maxlength=
"11"
class=
"itd"
placeholder=
"请输入手机号码"
clearable
/>
<p
class=
"tips"
>
<p
class=
"tips"
>
已为客户启用隐私号码保护功能!
已为客户启用隐私号码保护功能!
</p>
</p>
</el-form-item>
</el-form-item>
</div>
</div>
<el-form-item
label=
"客户类型:"
>
<el-form-item
label=
"客户类型:"
>
<el-select
v-model=
"form.customerType"
<el-select
v-model=
"form.customerType"
placeholder=
"请选择"
class=
"el_select itd"
>
placeholder=
"请选择"
<el-option
v-for=
"item in customerTypeList"
:key=
"item.id"
:value=
"item.id"
:label=
"item.name"
/>
class=
"el_select itd"
>
<el-option
v-for=
"item in customerTypeList"
:key=
"item.id"
:value=
"item.id"
:label=
"item.name"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户职业:"
>
<el-form-item
label=
"客户职业:"
>
<el-input
v-model
.
trim=
"form.customerProfession"
<el-input
v-model
.
trim=
"form.customerProfession"
class=
"itd"
maxlength=
"20"
placeholder=
"请输入客户职业"
show-word-limit
class=
"itd"
clearable
/>
maxlength=
"20"
placeholder=
"请输入客户职业"
show-word-limit
clearable
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"品牌车型:"
>
<el-form-item
label=
"品牌车型:"
>
<el-select
v-model=
"form.carBrandId"
<el-select
v-model=
"form.carBrandId"
placeholder=
"请选择品牌"
filterable
@
change=
"changeCarBrand(form.carBrandId)"
placeholder=
"请选择品牌"
style=
"width:150px; margin-right: 20px;"
>
filterable
<el-option
v-for=
"item in carBrandOptions"
:key=
"item.carBrandId"
:value=
"item.carBrandId"
@
change=
"changeCarBrand(form.carBrandId)"
:label=
"item.carBrand"
/>
style=
"width:150px; margin-right: 20px;"
>
<el-option
v-for=
"item in carBrandOptions"
:key=
"item.carBrandId"
:value=
"item.carBrandId"
:label=
"item.carBrand"
/>
</el-select>
</el-select>
<el-select
v-if=
"form.carBrandId"
<el-select
v-if=
"form.carBrandId"
v-model=
"form.carChildsBrandId"
placeholder=
"请选择子品牌"
v-model=
"form.carChildsBrandId"
@
change=
"changeCarSmallBrand(form.carChildsBrandId)"
style=
"width:150px; margin-right: 20px;"
>
placeholder=
"请选择子品牌"
<el-option
v-for=
"item in carSmallBrandOptions"
:key=
"item.carChildsBrandId"
:value=
"item.carChildsBrandId"
@
change=
"changeCarSmallBrand(form.carChildsBrandId)"
:label=
"item.carChildsBrandName"
/>
style=
"width:150px; margin-right: 20px;"
>
<el-option
v-for=
"item in carSmallBrandOptions"
:key=
"item.carChildsBrandId"
:value=
"item.carChildsBrandId"
:label=
"item.carChildsBrandName"
/>
</el-select>
</el-select>
<el-select
v-if=
"form.carChildsBrandId"
<el-select
v-if=
"form.carChildsBrandId"
v-model=
"form.carSeriesId"
placeholder=
"请选择车系"
v-model=
"form.carSeriesId"
@
change=
"getCarType(form.carSeriesId)"
style=
"width:150px; margin-right: 20px;"
>
placeholder=
"请选择车系"
<el-option
v-for=
"item in carSeriesOptions"
:key=
"item.carSeriesId"
:value=
"item.carSeriesId"
@
change=
"getCarType(form.carSeriesId)"
:label=
"item.carSeriesName"
/>
style=
"width:150px; margin-right: 20px;"
>
<el-option
v-for=
"item in carSeriesOptions"
:key=
"item.carSeriesId"
:value=
"item.carSeriesId"
:label=
"item.carSeriesName"
/>
</el-select>
</el-select>
<!--
<el-select
<!--
<el-select
v-if=
"form.carSeriesId"
v-if=
"form.carSeriesId"
...
@@ -179,42 +108,26 @@
...
@@ -179,42 +108,26 @@
/>
/>
</el-select>
-->
</el-select>
-->
</el-form-item>
</el-form-item>
<el-form-item
label=
"车架号:"
<el-form-item
label=
"车架号:"
id=
"standNo"
prop=
"standNo"
>
id=
"standNo"
<el-input
v-model
.
trim=
"form.standNo"
maxlength=
"17"
class=
"itd"
placeholder=
"请输入车架号"
clearable
/>
prop=
"standNo"
>
<el-input
v-model
.
trim=
"form.standNo"
maxlength=
"17"
class=
"itd"
placeholder=
"请输入车架号"
clearable
/>
<p
class=
"tips"
>
<p
class=
"tips"
>
完整的车架号是17位的车辆识别代码(VIN码)
完整的车架号是17位的车辆识别代码(VIN码)
</p>
</p>
</el-form-item>
</el-form-item>
<el-form-item
label=
"钥匙号:"
<el-form-item
label=
"钥匙号:"
prop=
"carKeyNo"
>
prop=
"carKeyNo"
>
<el-input
v-model
.
trim=
"form.carKeyNo"
class=
"itd"
maxlength=
"20"
placeholder=
"请输入钥匙号"
clearable
/>
<el-input
v-model
.
trim=
"form.carKeyNo"
class=
"itd"
maxlength=
"20"
placeholder=
"请输入钥匙号"
clearable
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"交车日期:"
>
<el-form-item
label=
"交车日期:"
>
<el-date-picker
v-model=
"form.buyTimeStr"
<el-date-picker
v-model=
"form.buyTimeStr"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择日期"
/>
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择日期"
/>
<p
class=
"tips"
>
<p
class=
"tips"
>
预估用户提车的日期,预约专员将根据日期联系客户
预估用户提车的日期,预约专员将根据日期联系客户
</p>
</p>
</el-form-item>
</el-form-item>
<el-form-item
label=
"新车首购:"
>
<el-form-item
label=
"新车首购:"
>
<el-radio
v-model=
"form.newCarFlag"
<el-radio
v-model=
"form.newCarFlag"
label=
"Y"
>
label=
"Y"
>
是
是
</el-radio>
</el-radio>
<el-radio
v-model=
"form.newCarFlag"
<el-radio
v-model=
"form.newCarFlag"
label=
"N"
>
label=
"N"
>
否
否
</el-radio>
</el-radio>
</el-form-item>
</el-form-item>
...
@@ -222,33 +135,23 @@
...
@@ -222,33 +135,23 @@
<p
class=
"edit-sub-title"
>
<p
class=
"edit-sub-title"
>
商品预装信息
商品预装信息
</p>
</p>
<el-form-item
id=
"goods"
<el-form-item
id=
"goods"
label=
"基础商品:"
required
>
label=
"基础商品:"
<span
class=
"warningFont"
v-if=
"!baseGoodsIds.length && !hasProError"
>
未选择商品
</span>
required
>
<span
class=
"warningFont"
v-if=
"hasProError"
>
该门店无分配商品
</span>
<span
class=
"warningFont"
v-if=
"!baseGoodsIds.length && !hasProError"
>
未选择商品
</span>
<span
class=
"warningFont"
v-if=
"hasProError"
>
该门店无分配商品
</span>
<div>
<div>
<el-checkbox-group
v-model=
"baseGoodsIds"
>
<el-checkbox-group
v-model=
"baseGoodsIds"
>
<div
class=
"base-pro-block base-pro-block-wh"
<div
class=
"base-pro-block base-pro-block-wh"
v-for=
"(item, index) in goodList"
:key=
"index"
>
v-for=
"(item, index) in goodList"
<el-checkbox
:label=
"item.id"
class=
"base-pro-block-wh"
>
:key=
"index"
>
<el-checkbox
:label=
"item.id"
class=
"base-pro-block-wh"
>
<p
class=
"pro-icon"
/>
<p
class=
"pro-icon"
/>
<img
:src=
"item.goodsInfo.thumbUrl"
>
<img
:src=
"item.goodsInfo.thumbUrl"
>
<div
class=
"pro-block-txt"
>
<div
class=
"pro-block-txt"
>
<p
class=
"ellipsis block-title"
<p
class=
"ellipsis block-title"
:title=
"item.goodsInfo.goodsName"
>
:title=
"item.goodsInfo.goodsName"
>
{{
item
.
goodsInfo
.
goodsName
}}
{{
item
.
goodsInfo
.
goodsName
}}
</p>
</p>
<p
class=
"ellipsis"
<p
class=
"ellipsis"
:title=
"item.commodityCode || item.goodsInfo.goodsCode"
>
:title=
"item.commodityCode || item.goodsInfo.goodsCode"
>
{{
item
.
commodityCode
||
item
.
goodsInfo
.
goodsCode
}}
{{
item
.
commodityCode
||
item
.
goodsInfo
.
goodsCode
}}
</p>
</p>
<p
class=
"ellipsis"
<p
class=
"ellipsis"
:title=
"item.goodsInfo.goodsTypeName"
>
:title=
"item.goodsInfo.goodsTypeName"
>
{{
item
.
goodsInfo
.
goodsTypeName
}}
{{
item
.
goodsInfo
.
goodsTypeName
}}
</p>
</p>
</div>
</div>
...
@@ -258,23 +161,14 @@
...
@@ -258,23 +161,14 @@
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户备注:"
>
<el-form-item
label=
"客户备注:"
>
<el-input
v-model
.
trim=
"form.remark"
<el-input
v-model
.
trim=
"form.remark"
type=
"textarea"
rows=
"3"
style=
"width:600px"
maxlength=
"64"
type=
"textarea"
placeholder=
"64个字符以内"
show-word-limit
/>
rows=
"3"
style=
"width:600px"
maxlength=
"64"
placeholder=
"64个字符以内"
show-word-limit
/>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
<el-button
type=
"primary"
@
click=
"handleSave"
:disabled=
"$store.state.d2admin.loading.value"
class=
"ok-btn"
>
@
click=
"handleSave"
:disabled=
"$store.state.d2admin.loading.value"
class=
"ok-btn"
>
提交
提交
</el-button>
</el-button>
<el-button
class=
"cancel-btn"
<el-button
class=
"cancel-btn"
@
click=
"handleCancel"
>
@
click=
"handleCancel"
>
取消
取消
</el-button>
</el-button>
</el-form-item>
</el-form-item>
...
@@ -397,20 +291,22 @@ export default {
...
@@ -397,20 +291,22 @@ export default {
this
.
addOrEdit
=
this
.
$route
.
params
.
addOrEdit
this
.
addOrEdit
=
this
.
$route
.
params
.
addOrEdit
this
.
getAllVehicleBrand
()
this
.
getAllVehicleBrand
()
this
.
getBaseData
()
this
.
getBaseData
()
this
.
userInfo
.
beSuper
&&
getParkStore
({}).
then
(
res
=>
{
// this.userInfo.beSuper &&
getParkStore
({}).
then
(
res
=>
{
res
.
forEach
(
item
=>
{
res
.
forEach
(
item
=>
{
item
.
merchantId
=
item
.
merchantNo
item
.
merchantId
=
item
.
merchantNo
})
})
this
.
parkServiceList
=
res
this
.
parkServiceList
=
res
})
})
if
(
!
this
.
userInfo
.
beSuper
&&
this
.
addOrEdit
===
'add'
)
{
//
if (!this.userInfo.beSuper && this.addOrEdit === 'add') {
this
.
getServiceStore
(
this
.
userInfo
.
detail
.
merchantId
)
//
this.getServiceStore(this.userInfo.detail.merchantId)
}
//
}
if
(
this
.
addOrEdit
===
'edit'
)
{
if
(
this
.
addOrEdit
===
'edit'
)
{
this
.
form
=
deepClone
(
this
.
$route
.
params
.
form
)
this
.
form
=
deepClone
(
this
.
$route
.
params
.
form
)
this
.
isDisabled
=
(
this
.
form
.
operStatus
!==
1
)
this
.
isDisabled
=
(
this
.
form
.
operStatus
!==
1
)
this
.
form
.
customerSex
=
this
.
form
.
customerSex
?
(
this
.
form
.
customerSex
+
''
)
:
''
this
.
form
.
customerSex
=
this
.
form
.
customerSex
?
(
this
.
form
.
customerSex
+
''
)
:
''
this
.
userInfo
.
beSuper
&&
(
this
.
form
.
sellerMerchantId
=
this
.
form
.
yqMerchantId
)
// this.userInfo.beSuper && (this.form.sellerMerchantId = this.form.yqMerchantId)
this
.
form
.
sellerMerchantId
=
this
.
form
.
yqMerchantId
this
.
getAllVehicleBrand
(()
=>
{
this
.
getAllVehicleBrand
(()
=>
{
this
.
form
.
carChildsBrandId
&&
this
.
changeCarBrand
(
this
.
form
.
carBrandId
,
()
=>
{
this
.
form
.
carChildsBrandId
&&
this
.
changeCarBrand
(
this
.
form
.
carBrandId
,
()
=>
{
this
.
form
.
carChildsBrandId
=
this
.
$route
.
params
.
form
.
carChildsBrandId
this
.
form
.
carChildsBrandId
=
this
.
$route
.
params
.
form
.
carChildsBrandId
...
@@ -711,6 +607,7 @@ export default {
...
@@ -711,6 +607,7 @@ export default {
.editCusFrom.d2-container-content
{
.editCusFrom.d2-container-content
{
margin-top
:
0
!important
;
margin-top
:
0
!important
;
}
}
.editCusFrom
.addorder_page
{
.editCusFrom
.addorder_page
{
padding
:
20px
;
padding
:
20px
;
position
:
relative
;
position
:
relative
;
...
@@ -752,6 +649,7 @@ export default {
...
@@ -752,6 +649,7 @@ export default {
.editCusFrom
.el-form-item
{
.editCusFrom
.el-form-item
{
margin-bottom
:
36px
;
margin-bottom
:
36px
;
}
}
.editCusFrom
.el-radio__label
{
.editCusFrom
.el-radio__label
{
height
:
20px
;
height
:
20px
;
line-height
:
20px
;
line-height
:
20px
;
...
@@ -760,35 +658,44 @@ export default {
...
@@ -760,35 +658,44 @@ export default {
border
:
1px
solid
#a1a1a1
;
border
:
1px
solid
#a1a1a1
;
border-radius
:
2px
;
border-radius
:
2px
;
}
}
.editCusFrom
.is-checked
.el-radio__label
{
.editCusFrom
.is-checked
.el-radio__label
{
border
:
1px
solid
#0947c6
;
border
:
1px
solid
#0947c6
;
}
}
.editCusFrom
.el-radio__input
{
.editCusFrom
.el-radio__input
{
display
:
none
;
display
:
none
;
}
}
.base-pro-block-wh
{
.base-pro-block-wh
{
width
:
160px
;
width
:
160px
;
height
:
262px
;
height
:
262px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
.base-pro-block
{
.base-pro-block
{
position
:
relative
;
position
:
relative
;
display
:
inline-block
;
display
:
inline-block
;
margin-right
:
20px
;
margin-right
:
20px
;
}
}
.base-pro-block
.base-pro-block-wh
{
.base-pro-block
.base-pro-block-wh
{
border
:
1px
solid
#e5e6e7
;
border
:
1px
solid
#e5e6e7
;
box-shadow
:
2px
2px
5px
1px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
2px
2px
5px
1px
rgba
(
0
,
0
,
0
,
0.1
);
}
}
.base-pro-block
.base-pro-block-wh.is-checked
{
.base-pro-block
.base-pro-block-wh.is-checked
{
border
:
1px
solid
#0947c6
;
border
:
1px
solid
#0947c6
;
}
}
.base-pro-block
.el-checkbox__label
{
.base-pro-block
.el-checkbox__label
{
padding
:
0
0
;
padding
:
0
0
;
}
}
.base-pro-block
.el-checkbox__input
{
.base-pro-block
.el-checkbox__input
{
display
:
none
;
display
:
none
;
}
}
.base-pro-block
.base-pro-block-wh
.pro-icon
{
.base-pro-block
.base-pro-block-wh
.pro-icon
{
position
:
absolute
;
position
:
absolute
;
top
:
4px
;
top
:
4px
;
...
@@ -799,28 +706,34 @@ export default {
...
@@ -799,28 +706,34 @@ export default {
background-size
:
24px
24px
;
background-size
:
24px
24px
;
margin
:
0
0
;
margin
:
0
0
;
}
}
.base-pro-block
.base-pro-block-wh.is-checked
.pro-icon
{
.base-pro-block
.base-pro-block-wh.is-checked
.pro-icon
{
background
:
url("../../assets/check.png")
;
background
:
url("../../assets/check.png")
;
background-size
:
24px
24px
;
background-size
:
24px
24px
;
}
}
.base-pro-block
.pro-icon
img
{
.base-pro-block
.pro-icon
img
{
width
:
24px
;
width
:
24px
;
height
:
24px
;
height
:
24px
;
}
}
.base-pro-block
img
{
.base-pro-block
img
{
vertical-align
:
top
;
vertical-align
:
top
;
width
:
160px
;
width
:
160px
;
height
:
160px
;
height
:
160px
;
}
}
.base-pro-block
.pro-block-txt
{
.base-pro-block
.pro-block-txt
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#a1a1a1
;
color
:
#a1a1a1
;
padding
:
22px
12px
;
padding
:
22px
12px
;
}
}
.base-pro-block
.block-title
{
.base-pro-block
.block-title
{
color
:
#6c6f71
;
color
:
#6c6f71
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.base-pro-block
.ellipsis
{
.base-pro-block
.ellipsis
{
width
:
140px
;
width
:
140px
;
height
:
auto
;
height
:
auto
;
...
...
src/views/customer/recordList.vue
View file @
a2f84f5
...
@@ -279,10 +279,10 @@ export default {
...
@@ -279,10 +279,10 @@ export default {
this
.
baseData
.
parkServiceList
=
res
this
.
baseData
.
parkServiceList
=
res
this
.
getOptionsList
()
this
.
getOptionsList
()
})
})
if
(
!
this
.
userInfo
.
beSuper
)
{
//
if (!this.userInfo.beSuper) {
this
.
showFormData
=
this
.
showFormData
.
filter
(
item
=>
item
.
name
!==
'yqMerchantId'
)
//
this.showFormData = this.showFormData.filter(item => item.name !== 'yqMerchantId')
this
.
getServiceStore
(
this
.
userInfo
.
detail
.
merchantId
)
//
this.getServiceStore(this.userInfo.detail.merchantId)
}
//
}
},
},
methods
:
{
methods
:
{
...
@@ -290,7 +290,7 @@ export default {
...
@@ -290,7 +290,7 @@ export default {
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
this
.
tableSearchForm
=
deepClone
(
this
.
searchForm
)
this
.
tableSearchForm
=
deepClone
(
this
.
searchForm
)
!
this
.
userInfo
.
beSuper
&&
(
this
.
tableSearchForm
.
yqMerchantId
=
this
.
userInfo
.
detail
.
merchantId
)
//
!this.userInfo.beSuper && (this.tableSearchForm.yqMerchantId = this.userInfo.detail.merchantId)
if
(
this
.
tableSearchForm
.
entryTime
)
{
if
(
this
.
tableSearchForm
.
entryTime
)
{
this
.
tableSearchForm
.
startDate
=
new
Date
(
this
.
tableSearchForm
.
entryTime
[
0
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 00:00:00'
this
.
tableSearchForm
.
startDate
=
new
Date
(
this
.
tableSearchForm
.
entryTime
[
0
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 00:00:00'
this
.
tableSearchForm
.
endDate
=
new
Date
(
this
.
tableSearchForm
.
entryTime
[
1
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 23:59:59'
this
.
tableSearchForm
.
endDate
=
new
Date
(
this
.
tableSearchForm
.
entryTime
[
1
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 23:59:59'
...
@@ -309,7 +309,8 @@ export default {
...
@@ -309,7 +309,8 @@ export default {
baseGoodsId
:
''
,
baseGoodsId
:
''
,
merchantId
:
''
merchantId
:
''
}
}
this
.
userInfo
.
beSuper
&&
(
this
.
baseData
.
storeIdList
=
[])
// this.userInfo.beSuper && (this.baseData.storeIdList = [])
this
.
baseData
.
storeIdList
=
[]
this
.
baseData
.
adviserList
=
[]
this
.
baseData
.
adviserList
=
[]
this
.
baseData
.
goodList
=
[]
this
.
baseData
.
goodList
=
[]
this
.
getOptionsList
()
this
.
getOptionsList
()
...
@@ -359,7 +360,8 @@ export default {
...
@@ -359,7 +360,8 @@ export default {
},
},
handleImport
()
{
handleImport
()
{
this
.
fileForm
=
{
this
.
fileForm
=
{
yqMerchantId
:
this
.
userInfo
.
beSuper
?
''
:
this
.
userInfo
.
detail
.
merchantId
,
// yqMerchantId: this.userInfo.beSuper ? '' : this.userInfo.detail.merchantId,
yqMerchantId
:
''
,
fileName
:
''
fileName
:
''
}
}
this
.
showNum
=
false
this
.
showNum
=
false
...
@@ -387,7 +389,8 @@ export default {
...
@@ -387,7 +389,8 @@ export default {
var
params
=
{
var
params
=
{
advanceUserId
:
this
.
userInfo
.
detail
.
uuid
,
advanceUserId
:
this
.
userInfo
.
detail
.
uuid
,
advanceUserName
:
this
.
userInfo
.
merchantAccountLevel
==
4
?
this
.
userInfo
.
detail
.
userName
:
this
.
userInfo
.
detail
.
merchantName
,
advanceUserName
:
this
.
userInfo
.
merchantAccountLevel
==
4
?
this
.
userInfo
.
detail
.
userName
:
this
.
userInfo
.
detail
.
merchantName
,
yqMerchantId
:
this
.
userInfo
.
beSuper
?
this
.
fileForm
.
yqMerchantId
:
this
.
userInfo
.
detail
.
merchantId
,
// yqMerchantId: this.userInfo.beSuper ? this.fileForm.yqMerchantId : this.userInfo.detail.merchantId,
yqMerchantId
:
this
.
fileForm
.
yqMerchantId
,
file
:
this
.
fileInfo
file
:
this
.
fileInfo
}
}
recordUpload
(
params
).
then
(
res
=>
{
recordUpload
(
params
).
then
(
res
=>
{
...
...
src/views/goods/grounding/components/groundingForm.vue
View file @
a2f84f5
...
@@ -218,11 +218,12 @@
...
@@ -218,11 +218,12 @@
<
/el-button
>
<
/el-button
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-form
>
<
/el-form
>
<!--
store
-
api
(
1
精品升级
2
次新车转化
3
售后众筹
查询嘀加的门店数据
getList
)(
0
会员
/
权益升级
查询账户中心所有
4
s
店
serviceGetMerchantList
)
-->
<
relate
-
store
-
dialog
<
relate
-
store
-
dialog
v
-
if
=
"relateStoreVisible"
v
-
if
=
"relateStoreVisible"
ref
=
"formRelateStore"
ref
=
"formRelateStore"
:
relate
-
store
-
visible
=
"relateStoreVisible"
:
relate
-
store
-
visible
=
"relateStoreVisible"
:
store
-
api
=
"
ge
tList"
:
store
-
api
=
"
formData.sceneType ? getList : serviceGetMerchan
tList"
:
store
-
search
-
form
=
"storeSearchForm"
:
store
-
search
-
form
=
"storeSearchForm"
:
store
-
selected
=
"storeSelected"
:
store
-
selected
=
"storeSelected"
:
selected
-
scene
=
"formData.sceneType"
:
selected
-
scene
=
"formData.sceneType"
...
@@ -270,7 +271,7 @@ import { upgradeSupplyModeList, crowdUpgradeSupplyModeList } from "../constants/
...
@@ -270,7 +271,7 @@ import { upgradeSupplyModeList, crowdUpgradeSupplyModeList } from "../constants/
import
{
baseConfig
}
from
"@/main"
import
{
baseConfig
}
from
"@/main"
import
relateStoreDialog
from
"./relateStoreDialog.vue"
import
relateStoreDialog
from
"./relateStoreDialog.vue"
import
relateStoreTable
from
'./relateStoreTable.vue'
import
relateStoreTable
from
'./relateStoreTable.vue'
import
{
getList
}
from
'@/api/merchant'
import
{
getList
,
serviceGetMerchantList
}
from
'@/api/merchant'
export
default
{
export
default
{
name
:
'groundingForm'
,
name
:
'groundingForm'
,
components
:
{
components
:
{
...
@@ -281,6 +282,7 @@ export default {
...
@@ -281,6 +282,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
getList
,
getList
,
serviceGetMerchantList
,
equitySceneType
:
baseConfig
.
equitySceneType
||
[],
equitySceneType
:
baseConfig
.
equitySceneType
||
[],
membraneTypeList
,
membraneTypeList
,
formData
:
{
}
,
formData
:
{
}
,
...
...
src/views/goods/grounding/components/relateStoreDialog.vue
View file @
a2f84f5
...
@@ -120,13 +120,19 @@ export default {
...
@@ -120,13 +120,19 @@ export default {
})
})
},
},
getSelectingList
()
{
getSelectingList
()
{
console
.
log
(
this
.
selectedScene
)
let
_storeSearchForm
=
this
.
storeSearchForm
if
(
!
this
.
selectedScene
)
{
_storeSearchForm
.
merchantIdName
=
_storeSearchForm
.
merchantName
// 账户中心所有门店接口查询条件
}
this
.
storeApi
({
this
.
storeApi
({
...
this
.
storeSearchForm
,
...
this
.
storeSearchForm
,
currentPage
:
this
.
currentPage
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
scene
:
this
.
selectedScene
scene
:
this
.
selectedScene
?
this
.
selectedScene
:
''
}).
then
(
res
=>
{
}).
then
(
res
=>
{
res
?.
list
?.
forEach
(
val
=>
{
// 账户中心门店返回商户号字段是merchantNo
if
(
val
.
merchantNo
)
val
.
merchantId
=
val
.
merchantNo
})
this
.
selectingData
=
res
.
list
this
.
selectingData
=
res
.
list
this
.
total
=
res
.
total
this
.
total
=
res
.
total
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
src/views/goods/productManage/components/multipleSpecificationForm.vue
View file @
a2f84f5
...
@@ -839,7 +839,7 @@ export default {
...
@@ -839,7 +839,7 @@ export default {
editGoodNameInput: false,
editGoodNameInput: false,
serviceItemArr: [],
serviceItemArr: [],
serviceYears: '',
serviceYears: '',
entityCardFlag:
tru
e
entityCardFlag:
fals
e
})
})
} else {
} else {
var targetValLen = this.goodsInfoData.specificationDetailList[i]?.specificationValueList?.length
var targetValLen = this.goodsInfoData.specificationDetailList[i]?.specificationValueList?.length
...
...
src/views/goods/productManage/components/singleSpecificationForm.vue
View file @
a2f84f5
...
@@ -504,7 +504,7 @@ export default {
...
@@ -504,7 +504,7 @@ export default {
serviceItemArr: [],
serviceItemArr: [],
serviceYears: '',
serviceYears: '',
warrantyPeriod: '5',
warrantyPeriod: '5',
entityCardFlag:
tru
e,
entityCardFlag:
fals
e,
editGoodNameInput: true
editGoodNameInput: true
})
})
this.goodsInfoData.specificationSingleDetailList[0]?.specificationValueList.push({
this.goodsInfoData.specificationSingleDetailList[0]?.specificationValueList.push({
...
...
src/views/orderManage/orderDetail.vue
View file @
a2f84f5
...
@@ -3,30 +3,37 @@
...
@@ -3,30 +3,37 @@
<d2-container
class=
"order-detail"
>
<d2-container
class=
"order-detail"
>
<div
class=
"d2-container-content"
>
<div
class=
"d2-container-content"
>
<p
class=
"edit-title"
>
<p
class=
"edit-title"
>
订单详情
<el-button
size=
"mini"
v-if=
"signRefundFlag && [4, 6].includes(detail.status)"
订单详情
<el-button
size=
"mini"
class=
"signRefundBtn"
@
click=
"refund"
>
v-if=
"signRefundFlag && [4, 6].includes(detail.status)"
<img
class=
"signRefundIcon"
src=
"./images/sign.png"
>
标记为退款
class=
"signRefundBtn"
@
click=
"refund"
>
<img
class=
"signRefundIcon"
src=
"./images/sign.png"
>
标记为退款
</el-button>
</el-button>
</p>
</p>
<div
class=
"form_gp"
>
<div
class=
"form_gp"
>
<p
class=
"edit-sub-title"
>
<p
class=
"edit-sub-title"
>
订单详情
订单详情
</p>
</p>
<el-form
class=
"edit-sub-block"
:inline=
"true"
>
<el-form
class=
"edit-sub-block"
:inline=
"true"
>
<el-form-item
label=
"订单单号:"
>
<el-form-item
label=
"订单单号:"
>
{{
detail
.
orderCode
}}
{{
detail
.
orderCode
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"订单状态:"
>
<el-form-item
label=
"订单状态:"
>
{{
statusOpts
[
detail
.
status
]
}}
{{
statusOpts
[
detail
.
status
]
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"订单来源:"
v-if=
"!specialAccout"
>
<el-form-item
label=
"订单来源:"
v-if=
"!specialAccout"
>
{{
detail
.
source
==
7
?
'系统导入'
:
'小程序订单'
}}
{{
detail
.
source
==
7
?
'系统导入'
:
'小程序订单'
}}
</el-form-item>
</el-form-item>
<el-form-item
style=
"width:400px"
label=
"交易流水:"
>
<el-form-item
label=
"交易流水:"
style=
"word-break: break-all;"
>
{{
detail
.
outTradeNo
||
$$
(
detail
.
payOrder
,
'outTradeNo'
)
}}
{{
detail
.
outTradeNo
||
$$
(
detail
.
payOrder
,
'outTradeNo'
)
}}
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"detail.source == 7"
label=
"订单导入时间:"
>
<el-form-item
v-if=
"detail.source == 7"
label=
"订单导入时间:"
>
{{
detail
.
createdDate
}}
{{
detail
.
createdDate
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"支付方式:"
>
<el-form-item
label=
"支付方式:"
>
...
@@ -39,23 +46,33 @@
...
@@ -39,23 +46,33 @@
<el-form-item
label=
"支付状态:"
>
<el-form-item
label=
"支付状态:"
>
{{
detail
.
upgradeFlag
==
'N'
?
'战败'
:
payStatusOpts
[
detail
.
payStatus
||
$$
(
detail
.
payOrder
,
'payStatus'
)]
}}
{{
detail
.
upgradeFlag
==
'N'
?
'战败'
:
payStatusOpts
[
detail
.
payStatus
||
$$
(
detail
.
payOrder
,
'payStatus'
)]
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"收款凭证:"
class=
"photoItem"
>
<
!--
<
el-form-item
label=
"收款凭证:"
class=
"photoItem"
>
<img
v-if=
"detail.payVoucher || $$(detail.payOrder, 'payVoucher')"
class=
"order-img"
<img
v-if=
"detail.payVoucher || $$(detail.payOrder, 'payVoucher')"
class=
"order-img"
:src=
"detail.payVoucher || $$(detail.payOrder, 'payVoucher')"
:src=
"detail.payVoucher || $$(detail.payOrder, 'payVoucher')"
@
click=
"handleEnlargeImg(detail.payVoucher || $$(detail.payOrder, 'payVoucher'))"
>
@
click=
"handleEnlargeImg(detail.payVoucher || $$(detail.payOrder, 'payVoucher'))"
>
<span
v-else
>
无
</span>
<span
v-else
>
无
</span>
</el-form-item>
</el-form-item>
-->
<el-form-item
label=
"退款订单:"
v-if=
"detail.status == 12"
>
<el-form-item
label=
"退款订单:"
v-if=
"detail.status == 12"
>
{{
detail
.
refundRemark
}}
{{
detail
.
refundRemark
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"收款凭证:"
class=
"photoItem photoItemList"
v-if=
"detail.payVoucherList"
>
<img
v-for=
"(item, index) in detail.payVoucherList"
:key=
"index"
class=
"img"
:src=
"item.payVoucher"
@
click=
"handleEnlargeImg(item.payVoucher)"
>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<div
class=
"form_gp"
>
<div
class=
"form_gp"
>
<p
class=
"edit-sub-title"
>
<p
class=
"edit-sub-title"
>
用户信息
用户信息
</p>
</p>
<el-form
class=
"edit-sub-block"
:inline=
"true"
>
<el-form
class=
"edit-sub-block"
:inline=
"true"
>
<el-form-item
label=
"用户姓名:"
>
<el-form-item
label=
"用户姓名:"
>
{{
detail
.
customerName
||
$$
(
detail
,
'customer'
,
'customerName'
)
}}
{{
detail
.
customerName
||
$$
(
detail
,
'customer'
,
'customerName'
)
}}
</el-form-item>
</el-form-item>
...
@@ -72,15 +89,23 @@
...
@@ -72,15 +89,23 @@
{{
detail
.
evaluation
}}
{{
detail
.
evaluation
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户签名:"
class=
"photoItem"
v-if=
"detail.electronicSignature"
>
<el-form-item
label=
"客户签名:"
<img
class=
"order-img"
:src=
"detail.electronicSignature"
class=
"photoItem"
@
click=
"handleEnlargeImg(detail.electronicSignature)"
>
v-if=
"detail.electronicSignature"
>
<img
class=
"order-img"
:src=
"detail.electronicSignature"
@
click=
"handleEnlargeImg(detail.electronicSignature)"
>
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户车辆施工图片:"
class=
"photoItem photoItemList"
v-if=
"detail.customerPhotos"
>
<el-form-item
label=
"客户车辆施工图片:"
class=
"photoItem photoItemList"
v-if=
"detail.customerPhotos"
>
<!--
<span
v-for=
"(itemtest, indexTest) in 10"
:key=
"index"
>
-->
<!--
<span
v-for=
"(itemtest, indexTest) in 10"
:key=
"index"
>
-->
<img
v-for=
"(item, index) in detail.customerPhotos"
:key=
"index"
class=
"img"
:src=
"item.customerPhoto"
<img
v-for=
"(item, index) in detail.customerPhotos"
@
click=
"handleEnlargeImg(item.customerPhoto)"
>
:key=
"index"
class=
"img"
:src=
"item.customerPhoto"
@
click=
"handleEnlargeImg(item.customerPhoto)"
>
<!--
</span>
-->
<!--
</span>
-->
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -89,14 +114,16 @@
...
@@ -89,14 +114,16 @@
<p
class=
"edit-sub-title"
>
<p
class=
"edit-sub-title"
>
关联信息
关联信息
</p>
</p>
<el-form
class=
"edit-sub-block"
:inline=
"true"
>
<el-form
class=
"edit-sub-block"
:inline=
"true"
>
<el-form-item
label=
"流量来源:"
>
<el-form-item
label=
"流量来源:"
>
{{
detail
.
merchantName
}}
{{
detail
.
merchantName
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"推荐人:"
>
<el-form-item
label=
"推荐人:"
>
{{
detail
.
employeeName
}}
{{
detail
.
employeeName
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"技师:"
v-if=
"detail.sceneType == 1"
>
<el-form-item
label=
"技师:"
v-if=
"detail.sceneType == 1"
>
{{
detail
.
technicianName
}}
{{
detail
.
technicianName
}}
</el-form-item>
</el-form-item>
<div>
<div>
...
@@ -113,7 +140,8 @@
...
@@ -113,7 +140,8 @@
</div>
</div>
<div>
<div>
<!-- 审计特殊字段 -->
<!-- 审计特殊字段 -->
<el-form-item
label=
"二级流量方:"
v-if=
"detail.subShopMerchantName"
>
<el-form-item
label=
"二级流量方:"
v-if=
"detail.subShopMerchantName"
>
{{
detail
.
subShopMerchantName
}}
{{
detail
.
subShopMerchantName
}}
</el-form-item>
</el-form-item>
</div>
</div>
...
@@ -123,16 +151,32 @@
...
@@ -123,16 +151,32 @@
<p
class=
"edit-sub-title"
>
<p
class=
"edit-sub-title"
>
订单商品
订单商品
</p>
</p>
<el-table
:data=
"detail.subOrderList"
border
<el-table
:data=
"detail.subOrderList"
:header-cell-style=
"
{ 'text-align': 'center', 'background-color': '#fafafa' }" show-summary
border
:summary-method="getSummaries" style="width: 100%">
:header-cell-style=
"
{ 'text-align': 'center', 'background-color': '#fafafa' }"
show-summary
:summary-method="getSummaries"
style="width: 100%">
<!--
<el-table-column
:prop=
"detail.upgradeFlag === 'Y' ? 'upgradeGoodsCommodityCode' : 'baseGoodsCommodityCode'"
--
>
<!--
<el-table-column
:prop=
"detail.upgradeFlag === 'Y' ? 'upgradeGoodsCommodityCode' : 'baseGoodsCommodityCode'"
--
>
<el-table-column
:prop=
"'upgradeGoodsCommodityCode'"
align=
"center"
label=
"商品ID"
width=
"180px"
/>
<el-table-column
:prop=
"'upgradeGoodsCommodityCode'"
<el-table-column
:prop=
"'upgradeGoodsName'"
align=
"center"
label=
"商品名称"
/>
align=
"center"
<el-table-column
:prop=
"'upgradeGoodsAlias'"
align=
"center"
label=
"商品别名"
/>
label=
"商品ID"
<el-table-column
:prop=
"'upgradeGoodsTypeName'"
align=
"center"
label=
"商品分类"
/>
width=
"180px"
/>
<el-table-column
:prop=
"'upgradeBrandMerchantName'"
align=
"center"
label=
"品牌商"
/>
<el-table-column
:prop=
"'upgradeGoodsName'"
<el-table-column
:prop=
"'upgradePrice'"
align=
"center"
label=
"商品售价"
/>
align=
"center"
label=
"商品名称"
/>
<el-table-column
:prop=
"'upgradeGoodsAlias'"
align=
"center"
label=
"商品别名"
/>
<el-table-column
:prop=
"'upgradeGoodsTypeName'"
align=
"center"
label=
"商品分类"
/>
<el-table-column
:prop=
"'upgradeBrandMerchantName'"
align=
"center"
label=
"品牌商"
/>
<el-table-column
:prop=
"'upgradePrice'"
align=
"center"
label=
"商品售价"
/>
<!--
<el-table-column
<!--
<el-table-column
prop=
"upgradeDiscount"
prop=
"upgradeDiscount"
align=
"center"
align=
"center"
...
@@ -142,19 +186,27 @@
...
@@ -142,19 +186,27 @@
<span
v-else
>
0
</span>
<span
v-else
>
0
</span>
</
template
>
</
template
>
</el-table-column>
-->
</el-table-column>
-->
<el-table-column
prop=
"upgradeWarrantyPeriod"
align=
"center"
label=
"质保年限"
>
<el-table-column
prop=
"upgradeWarrantyPeriod"
align=
"center"
label=
"质保年限"
>
<span
slot-scope=
"scope"
>
{{ scope.row.upgradeWarrantyPeriod ? (scope.row.upgradeWarrantyPeriod + '年') : '无'
<span
slot-scope=
"scope"
>
{{ scope.row.upgradeWarrantyPeriod ? (scope.row.upgradeWarrantyPeriod + '年') : '无'
}}
</span>
}}
</span>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"cardCode"
align=
"center"
label=
"质保条形码"
>
<el-table-column
prop=
"cardCode"
align=
"center"
label=
"质保条形码"
>
<span
slot-scope=
"scope"
>
{{ scope.row.cardCode ? (scope.row.cardCode) : '无' }}
</span>
<span
slot-scope=
"scope"
>
{{ scope.row.cardCode ? (scope.row.cardCode) : '无' }}
</span>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"nums"
align=
"center"
label=
"数量(件)"
>
<el-table-column
prop=
"nums"
align=
"center"
label=
"数量(件)"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
number
}}
件
</span>
<span>
{{
scope
.
row
.
number
}}
件
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"totalPrice"
align=
"center"
label=
"支付金额"
>
<el-table-column
prop=
"totalPrice"
align=
"center"
label=
"支付金额"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"detail.upgradeFlag === 'Y'"
>
¥
{{
scope
.
row
.
totalPrice
||
0
}}
</span>
<span
v-if=
"detail.upgradeFlag === 'Y'"
>
¥
{{
scope
.
row
.
totalPrice
||
0
}}
</span>
<span
v-else
>
0
</span>
<span
v-else
>
0
</span>
...
@@ -167,11 +219,19 @@
...
@@ -167,11 +219,19 @@
订单进度
订单进度
</p>
</p>
<!-- header-cell-style="text-align:center; background-color:#fafafa" -->
<!-- header-cell-style="text-align:center; background-color:#fafafa" -->
<el-table
:data=
"detail.accessLogs || detail.logs"
border
<el-table
:data=
"detail.accessLogs || detail.logs"
:header-cell-style=
"{ 'text-align': 'center', 'background-color': '#fafafa' }"
style=
"width: 100%"
>
border
<el-table-column
prop=
"createdDateStr"
align=
"center"
label=
"时间"
/>
:header-cell-style=
"{ 'text-align': 'center', 'background-color': '#fafafa' }"
<el-table-column
prop=
"logContent"
align=
"center"
label=
"当前进度"
/>
style=
"width: 100%"
>
<el-table-column
prop=
"userName"
align=
"center"
label=
"关联操作员"
>
<el-table-column
prop=
"createdDateStr"
align=
"center"
label=
"时间"
/>
<el-table-column
prop=
"logContent"
align=
"center"
label=
"当前进度"
/>
<el-table-column
prop=
"userName"
align=
"center"
label=
"关联操作员"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"detail.payType == 1 && scope.row.logType == 3"
>
用户 微信支付
</span>
<span
v-if=
"detail.payType == 1 && scope.row.logType == 3"
>
用户 微信支付
</span>
<span
v-else
>
{{
logType
[
scope
.
row
.
logType
]
}}
{{
scope
.
row
.
userName
}}
</span>
<span
v-else
>
{{
logType
[
scope
.
row
.
logType
]
}}
{{
scope
.
row
.
userName
}}
</span>
...
@@ -180,18 +240,24 @@
...
@@ -180,18 +240,24 @@
</el-table>
</el-table>
</div>
</div>
<p
style=
"text-align:left; padding-left: 30px; margin: 0 0 16px 0;"
>
<p
style=
"text-align:left; padding-left: 30px; margin: 0 0 16px 0;"
>
<el-button
type=
"primary"
@
click=
"handleClose"
>
<el-button
type=
"primary"
@
click=
"handleClose"
>
返回
返回
</el-button>
</el-button>
</p>
</p>
</div>
</div>
<el-dialog
:visible=
"imgVisible"
:before-close=
"handleEnlargeImg"
>
<el-dialog
:visible=
"imgVisible"
<img
width=
"100%"
:src=
"previewImgUrl"
alt=
"图片"
>
:before-close=
"handleEnlargeImg"
>
<img
width=
"100%"
:src=
"previewImgUrl"
alt=
"图片"
>
</el-dialog>
</el-dialog>
<sign-refund-dialog
:sign-refund-visible=
"signRefundVisible"
:detail=
"detail"
v-if=
"signRefundVisible"
<sign-refund-dialog
:sign-refund-visible=
"signRefundVisible"
@
dialogClose=
"dialogClose"
/>
:detail=
"detail"
v-if=
"signRefundVisible"
@
dialogClose=
"dialogClose"
/>
</d2-container>
</d2-container>
</template>
</template>
...
@@ -429,7 +495,6 @@ export default {
...
@@ -429,7 +495,6 @@ export default {
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
}
}
}
}
.photoItem
{
.photoItem
{
...
...
src/views/purchase/components/EditOrderDialog.vue
View file @
a2f84f5
<
template
>
<
template
>
<div>
<div>
<baseDialog
:is-show
.
sync=
"dialogShow"
:config=
"dialogConfig.setting"
:dialog-config=
"dialogConfig.config"
<baseDialog
:is-show
.
sync=
"dialogShow"
@
closeDialog=
"handleDetailClose(false)"
>
:config=
"dialogConfig.setting"
<div
class=
"edit-order-dialog"
v-if=
"dialogShow"
>
:dialog-config=
"dialogConfig.config"
<div
class=
"address-info"
v-if=
"paramsObj.factoryType"
>
@
closeDialog=
"handleDetailClose(false)"
>
<!--
<img
src=
"../images/addressIcon.webp"
alt=
""
class=
"icon"
>
-->
<div
class=
"edit-order-dialog"
<span
class=
"title"
>
订单号
{{
paramsObj
.
orderCode
}}
</span>
v-if=
"dialogShow"
>
</div>
<div
class=
"addressTitle"
>
<div
class=
"addressTitle"
v-else
>
<img
src=
"../images/addressIcon.webp"
<img
src=
"../images/addressIcon.webp"
alt=
""
class=
"icon"
>
alt=
""
class=
"icon"
>
<span
class=
"title"
>
{{
paramsObj
.
merchantName
}}
</span>
<span
class=
"title"
>
{{
paramsObj
.
merchantName
}}
</span>
</div>
</div>
<div
class=
"address-info"
>
<div
class=
"address-info"
>
<span
class=
"name"
>
收货人:
<span
class=
"label"
>
{{
detailInfo
.
contactName
}}
</span></span>
<span
class=
"name"
>
收货人:
<span
class=
"label"
>
{{
detailInfo
.
contactName
}}
</span></span>
<span
class=
"phone"
>
电话:
<span
class=
"label"
>
{{
detailInfo
.
contactPhone
}}
</span></span>
<span
class=
"phone"
>
电话:
<span
class=
"label"
>
{{
detailInfo
.
contactPhone
}}
</span></span>
<span
class=
"address"
>
收货地址:
<span
class=
"label"
>
{{
detailInfo
.
contactAddress
}}
</span></span>
<span
class=
"address"
>
收货地址:
<span
class=
"label"
>
{{
detailInfo
.
contactAddress
}}
</span></span>
</div>
</div>
<div
class=
"table-class"
>
<div
class=
"table-class"
>
<d2-table
ref=
"purchaseOrderDetailTable"
:table-params=
"tableParams"
:has-page=
"hasPage"
<d2-table
ref=
"purchaseOrderDetailTable"
@
refreshTable=
"refreshTable"
:table-data=
"detailInfo.tableData"
:table-total=
"detailInfo.tableTotal"
>
:table-params=
"tableParams"
<div
slot=
"nowPurNum"
slot-scope=
"scope"
>
:has-page=
"hasPage"
@
refreshTable=
"refreshTable"
:table-data=
"detailInfo.tableData"
:table-total=
"detailInfo.tableTotal"
>
<div
slot=
"nowPurNum"
slot-scope=
"scope"
>
<div
<div
v-if=
"detailInfo.tableData[scope.index].purchaseNumber == 0 || detailInfo.tableData[scope.index].purchaseNumber != detailInfo.tableData[scope.index].goodsNumber"
>
v-if=
"detailInfo.tableData[scope.index].purchaseNumber == 0 || detailInfo.tableData[scope.index].purchaseNumber != detailInfo.tableData[scope.index].goodsNumber"
>
<!-- 判断是否当前账户发货 -->
<!-- 判断是否当前账户发货 -->
<el-input
<el-input
v-if=
"(isEmptyEdit && !detailInfo.tableData[scope.index].shipperUuid) || (detailInfo.tableData[scope.index].shipperUuid == userInfo.detail.uuid)"
v-if=
"(isEmptyEdit && !detailInfo.tableData[scope.index].shipperUuid) || (detailInfo.tableData[scope.index].shipperUuid == userInfo.detail.uuid)"
:class=
"
{ 'border-red': !nowPurNumList[scope.index]
&&
isSubmit }"
:class=
"
{ 'border-red': !nowPurNumList[scope.index]
&&
isSubmit }" placeholder="请输入"
placeholder="请输入"
v-model="nowPurNumList[scope.index]" @input="e => handleInput(e, scope)">
</el-input>
v-model="nowPurNumList[scope.index]"
@input="e => handleInput(e, scope)">
</el-input>
<!--
<div
v-if=
"detailInfo.tableData[scope.index].shipperUuid != userInfo.detail.uuid"
>
{{
detailInfo
.
tableData
[
scope
.
index
].
shipper
}}
</div>
-->
<!--
<div
v-if=
"detailInfo.tableData[scope.index].shipperUuid != userInfo.detail.uuid"
>
{{
detailInfo
.
tableData
[
scope
.
index
].
shipper
}}
</div>
-->
<div
v-else
>
已分配:
{{
detailInfo
.
tableData
[
scope
.
index
].
shipper
}}
</div>
<div
v-else
>
已分配:
{{
detailInfo
.
tableData
[
scope
.
index
].
shipper
}}
</div>
</div>
</div>
<div
v-else
>
{{
detailInfo
.
tableData
[
scope
.
index
].
shipperUuid
?
'已分配:'
+
<div
v-else
>
{{
detailInfo
.
tableData
[
scope
.
index
].
shipperUuid
?
'已分配:'
+
detailInfo
.
tableData
[
scope
.
index
].
shipper
:
'--'
}}
</div>
detailInfo
.
tableData
[
scope
.
index
].
shipper
:
'--'
}}
</div>
</div>
</div>
<div
slot=
"cardNum"
slot-scope=
"scope"
>
<div
slot=
"cardNum"
slot-scope=
"scope"
>
<div
<div
v-if=
"detailInfo.tableData[scope.index].entityCardFlag != 'Y' || (detailInfo.tableData[scope.index].shipperUuid && detailInfo.tableData[scope.index].shipperUuid != userInfo.detail.uuid)"
>
v-if=
"detailInfo.tableData[scope.index].entityCardFlag != 'Y' || (detailInfo.tableData[scope.index].shipperUuid && detailInfo.tableData[scope.index].shipperUuid != userInfo.detail.uuid)"
>
-
</div>
-
</div>
<div
<div
v-else-if=
"detailInfo.tableData[scope.index].purchaseNumber != detailInfo.tableData[scope.index].goodsNumber"
>
v-else-if=
"detailInfo.tableData[scope.index].purchaseNumber != detailInfo.tableData[scope.index].goodsNumber"
>
<div
v-if=
"deliveryCardList[scope.index] && deliveryCardList[scope.index].length"
>
<div
v-if=
"deliveryCardList[scope.index] && deliveryCardList[scope.index].length"
>
+
{{
deliveryCardList
[
scope
.
index
].
length
}}
+
{{
deliveryCardList
[
scope
.
index
].
length
}}
<el-button
type=
"text"
@
click=
"handleCard(scope)"
>
重新选择
</el-button>
<el-button
type=
"text"
@
click=
"handleCard(scope)"
>
重新选择
</el-button>
</div>
</div>
<el-button
v-else
type=
"text"
@
click=
"handleCard(scope)"
>
请选择发货卡号
</el-button>
<el-button
v-else
type=
"text"
@
click=
"handleCard(scope)"
>
请选择发货卡号
</el-button>
</div>
</div>
<div
v-else
>
-
</div>
<div
v-else
>
-
</div>
</div>
</div>
...
@@ -51,17 +63,31 @@
...
@@ -51,17 +63,31 @@
</div>
</div>
<div
class=
"form-content"
>
<div
class=
"form-content"
>
<el-form
label-width=
"100px"
:rules=
"dialogRules"
:model=
"dialogData"
ref=
"delivery-dialog-form"
>
<el-form
label-width=
"100px"
<el-form-item
label=
"承运公司:"
prop=
"deliveryCompany"
>
:rules=
"dialogRules"
<el-input
placeholder=
"请输入承运物流公司"
maxlength=
"20"
v-model
.
trim=
"dialogData.deliveryCompany"
:model=
"dialogData"
class=
"dis-in-block"
/>
ref=
"delivery-dialog-form"
>
<el-form-item
label=
"承运公司:"
prop=
"deliveryCompany"
>
<el-input
placeholder=
"请输入承运物流公司"
maxlength=
"20"
v-model
.
trim=
"dialogData.deliveryCompany"
class=
"dis-in-block"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"承运单号:"
prop=
"deliveryNumber"
>
<el-form-item
label=
"承运单号:"
<el-input
maxlength=
"50"
placeholder=
"请输入承运物流单号"
v-model
.
trim=
"dialogData.deliveryNumber"
prop=
"deliveryNumber"
>
class=
"dis-in-block"
@
input=
"deliveryNumberInput"
/>
<el-input
maxlength=
"50"
placeholder=
"请输入承运物流单号"
v-model
.
trim=
"dialogData.deliveryNumber"
class=
"dis-in-block"
@
input=
"deliveryNumberInput"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"发货时间:"
prop=
"deliveryDate"
>
<el-form-item
label=
"发货时间:"
<el-date-picker
class=
"dis-in-block"
v-model=
"dialogData.deliveryDate"
type=
"datetime"
placeholder=
"选择日期时间"
>
prop=
"deliveryDate"
>
<el-date-picker
class=
"dis-in-block"
v-model=
"dialogData.deliveryDate"
type=
"datetime"
placeholder=
"选择日期时间"
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -69,13 +95,20 @@
...
@@ -69,13 +95,20 @@
<div
class=
"footer"
>
<div
class=
"footer"
>
<el-button
@
click=
"handleDetailClose(false)"
>
取消
</el-button>
<el-button
@
click=
"handleDetailClose(false)"
>
取消
</el-button>
<el-button
@
click=
"submit"
type=
"primary"
v-preventReClick
<el-button
@
click=
"submit"
:loading=
"$store.state.d2admin.loading.value"
>
确定
</el-button>
type=
"primary"
v-preventReClick
:loading=
"$store.state.d2admin.loading.value"
>
确定
</el-button>
</div>
</div>
</div>
</div>
</baseDialog>
</baseDialog>
<card-dialog
v-if=
"cardVisible"
:card-visible=
"cardVisible"
:order-info=
"orderInfo"
:card-max-num=
"cardMaxNum"
<card-dialog
v-if=
"cardVisible"
:selected-list=
"selectedCardList"
@
handleClose=
"handleCardDialog"
@
handleConfirm=
"handleCardConfirm"
></card-dialog>
:card-visible=
"cardVisible"
:order-info=
"orderInfo"
:card-max-num=
"cardMaxNum"
:selected-list=
"selectedCardList"
@
handleClose=
"handleCardDialog"
@
handleConfirm=
"handleCardConfirm"
></card-dialog>
</div>
</div>
</
template
>
</
template
>
...
@@ -363,7 +396,7 @@ export default {
...
@@ -363,7 +396,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/factoryDeliveryDetailDialog.vue
View file @
a2f84f5
<!-- 发货单详情弹窗 -->
<!-- 发货单详情弹窗 -->
<
template
>
<
template
>
<div>
<div>
<baseDialog
title=
"详细信息"
:is-show
.
sync=
"detailVisible"
:config=
"dialogConfig.setting"
<baseDialog
title=
"详细信息"
:dialog-config=
"dialogConfig.config"
width=
"1050px"
:no-cancel=
"true"
btn-ok-label=
"关闭"
@
closeDialog=
"handleClose"
:is-show
.
sync=
"detailVisible"
@
confirmDialog=
"handleClose"
>
:config=
"dialogConfig.setting"
:dialog-config=
"dialogConfig.config"
width=
"1050px"
:no-cancel=
"true"
btn-ok-label=
"关闭"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<div
class=
"stockMonthDailog"
>
<div
class=
"stockMonthDailog"
>
<div
class=
"
detail-info orderCod
e"
>
<div
class=
"
addressTitl
e"
>
<
div>
<
img
src=
"../images/addressIcon.webp"
订单号:
alt=
""
<span>
{{
recordInfo
.
orderCode
}}
</span
>
class=
"icon"
>
<
/div
>
<
span
class=
"title"
>
{{
recordInfo
.
merchantName
}}
</span
>
</div>
</div>
<div
class=
"address-info"
v-if=
"detailInfo[0]"
>
<div
class=
"address-info"
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
class=
"label"
>
{{
detailInfo
[
0
].
contactAddress
}}
</span></span>
<span
class=
"address"
>
收货地址:
<span
class=
"label"
>
{{
detailInfo
[
0
].
contactAddress
}}
</span></span>
</div>
</div>
<div
v-for=
"(itemList, index) in detailInfo"
:key=
"index"
>
<div
v-for=
"(itemList, index) in detailInfo"
:key=
"index"
>
<div
class=
"detail-info"
>
<div
class=
"detail-info"
>
<div>
<div>
发货单号:
发货单号:
...
@@ -31,15 +40,22 @@
...
@@ -31,15 +40,22 @@
<span>
{{
itemList
.
deliveryDate
}}
</span>
<span>
{{
itemList
.
deliveryDate
}}
</span>
</div>
</div>
</div>
</div>
<d2-table
ref=
"recordTable"
:table-data=
"itemList.deliveryDetailList"
:table-params=
"tableParams"
<d2-table
ref=
"recordTable"
:has-page=
"false"
>
:table-data=
"itemList.deliveryDetailList"
<span
slot=
"deliveryCard"
slot-scope=
"scope"
>
:table-params=
"tableParams"
<template
v-if=
"scope.scope.deliveryCardList && scope.scope.deliveryCardList.length > 1"
>
:has-page=
"false"
>
<span
slot=
"deliveryCard"
slot-scope=
"scope"
>
<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
type=
"text"
@
click=
"handleDeliveryCard(scope.scope.deliveryCardList)"
>
查看
</el-button>
<el-button
mini
type=
"text"
@
click=
"handleDeliveryCard(scope.scope.deliveryCardList)"
>
查看
</el-button>
</
template
>
</
template
>
<
template
v-else-if=
"scope.scope.deliveryCardList && scope.scope.deliveryCardList.length == 1"
>
<
template
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>
-->
...
@@ -50,11 +66,20 @@
...
@@ -50,11 +66,20 @@
</div>
</div>
</div>
</div>
</baseDialog>
</baseDialog>
<baseDialog
title=
"查看发货卡号"
:config=
"carDialogConfig.setting"
:dialog-config=
"carDialogConfig.config"
<baseDialog
title=
"查看发货卡号"
:is-show
.
sync=
"handleDeliveryCardVisible"
width=
"500px"
:no-cancel=
"true"
btn-ok-label=
"关闭"
:config=
"carDialogConfig.setting"
@
closeDialog=
"handleDeliveryCardVisible = false"
@
confirmDialog=
"handleDeliveryCardVisible = false"
>
:dialog-config=
"carDialogConfig.config"
<d2-table
class=
"deliveryCardCon"
ref=
"recordTable"
:table-data=
"deliveryCardList"
:table-params=
"innerParams"
:is-show
.
sync=
"handleDeliveryCardVisible"
:has-page=
"false"
>
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"
>
</d2-table>
</d2-table>
</baseDialog>
</baseDialog>
</div>
</div>
...
@@ -246,7 +271,7 @@ export default {
...
@@ -246,7 +271,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
;
}
}
...
@@ -289,4 +314,22 @@ export default {
...
@@ -289,4 +314,22 @@ export default {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin-top
:
16px
;
margin-top
:
16px
;
}
}
.addressTitle
{
display
:
flex
;
align-items
:
center
;
.title
{
font-family
:
PingFangSC-Medium
;
font-weight
:
600
;
font-size
:
16px
;
color
:
#333333
;
}
.icon
{
width
:
28px
;
height
:
28px
;
margin-right
:
8px
;
}
}
</
style
>
</
style
>
src/views/purchase/factoryPurchaseAndDelivery.vue
View file @
a2f84f5
<!-- 仓库/工厂发货 -->
<!-- 仓库/工厂发货 -->
<
template
>
<
template
>
<d2-container
class=
"container"
>
<d2-container
class=
"container"
>
<div
class=
"header"
slot=
"header"
>
<div
class=
"header"
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
>
slot=
"header"
>
<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"
size=
"small"
type=
"primary"
handle
>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
handle
>
查询
查询
</el-button>
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
重置
</el-button>
</el-button>
</div>
</div>
...
@@ -25,17 +33,26 @@
...
@@ -25,17 +33,26 @@
</el-button>
</el-button>
</span>
-->
</span>
-->
</d2-table-header>
</d2-table-header>
<d2-table
ref=
"purchaseAndDeliveryTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
<d2-table
ref=
"purchaseAndDeliveryTable"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
:search-form=
"tableSearchForm"
<div
slot=
"auth-button"
slot-scope=
"scope"
>
:table-params=
"tableParams"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
<!-- 查看 -->
<!-- 查看 -->
<span
style=
"margin-right: 10px;"
v-if=
"scope.scope.deliveryStatus != 1"
>
<span
style=
"margin-right: 10px;"
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090701']"
/>
v-if=
"scope.scope.deliveryStatus != 1"
>
<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"
style=
"margin-right: 10px;"
>
<span
v-show=
"scope.scope.deliveryStatus != 2"
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090702']"
/>
style=
"margin-right: 10px;"
>
<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>
-->
<!-- 发货 -->
<!-- 发货 -->
...
@@ -50,19 +67,35 @@
...
@@ -50,19 +67,35 @@
</div>
</div>
</d2-table>
</d2-table>
</div>
</div>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
v-if=
"detailVisible"
:record-info=
"paramsObj"
></orderDeatilDialog>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
<EditOrderDialog
v-if=
"editVisible"
:page=
"'factory'"
:visible
.
sync=
"editVisible"
:params-obj=
"dialogData"
v-if=
"detailVisible"
@
editClose=
"editClose"
>
:record-info=
"paramsObj"
></orderDeatilDialog>
<EditOrderDialog
v-if=
"editVisible"
:page=
"'factory'"
:visible
.
sync=
"editVisible"
:params-obj=
"dialogData"
@
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"
:dialog-config=
"rejectConfig.config"
@
handleClick=
"handleRejectConfirm"
>
<baseDialog
: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
:rules=
"rejectRules"
:model=
"rejectData"
label-width=
"150px"
ref=
"delivery-dialog-form"
>
<el-form
:rules=
"rejectRules"
<el-form-item
label=
"驳回原因:"
prop=
"rejectCause"
>
:model=
"rejectData"
<el-input
type=
"textarea"
placeholder=
"请输入驳回原因"
maxlength=
"50"
:rows=
"3"
show-word-limit
label-width=
"150px"
v-model
.
trim=
"rejectData.rejectCause"
class=
"dis-in-block reject-input"
/>
ref=
"delivery-dialog-form"
>
<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>
...
@@ -77,7 +110,7 @@
...
@@ -77,7 +110,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
deepClone
}
from
'@/common/util'
import
{
Util
,
deepClone
}
from
'@/common/util'
import
{
defaultStatusOptionsForTable
,
defaultDeliveryStatusOptions
,
defaultPutStatusOptions
,
purchasingPatternOptions
}
from
'./constant'
import
{
defaultStatusOptionsForTable
,
defaultDeliveryStatusOptions
,
defaultPutStatusOptions
,
purchasingPatternOptions
}
from
'./constant'
// import { defaultDeliveryStatusOptions } from './constant'
// import { defaultDeliveryStatusOptions } from './constant'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
...
@@ -116,7 +149,8 @@ export default {
...
@@ -116,7 +149,8 @@ export default {
// 搜索
// 搜索
searchForm
:
{
searchForm
:
{
orderCode
:
''
,
orderCode
:
''
,
status
:
''
status
:
''
,
merchantName
:
""
},
},
tableSearchForm
:
{},
tableSearchForm
:
{},
tableData
:
[],
tableData
:
[],
...
@@ -129,6 +163,13 @@ export default {
...
@@ -129,6 +163,13 @@ export default {
maxlength
:
20
maxlength
:
20
},
},
{
{
label
:
'下单商户'
,
name
:
'merchantName'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
20
},
{
label
:
'发货状态'
,
label
:
'发货状态'
,
name
:
'deliveryStatus'
,
name
:
'deliveryStatus'
,
type
:
'select'
,
type
:
'select'
,
...
@@ -150,6 +191,18 @@ export default {
...
@@ -150,6 +191,18 @@ export default {
prop
:
'orderCode'
prop
:
'orderCode'
},
},
{
{
label
:
'下单时间'
,
prop
:
'orderTime'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
orderTime
?
Util
.
dateFormate
(
cellValue
.
orderTime
,
'YYYY-MM-DD HH:mm:ss'
)
:
'--'
},
width
:
150
},
{
label
:
'下单商户'
,
prop
:
'merchantName'
},
{
label
:
'收货人'
,
label
:
'收货人'
,
prop
:
'contactName'
prop
:
'contactName'
},
},
...
...
src/views/purchase/procurementBusiness.vue
View file @
a2f84f5
...
@@ -331,7 +331,7 @@ export default {
...
@@ -331,7 +331,7 @@ export default {
var
params
=
this
.
tableSearchForm
var
params
=
this
.
tableSearchForm
// 处理查询条件时间
// 处理查询条件时间
for
(
const
key
in
params
)
{
for
(
const
key
in
params
)
{
if
(
key
==
'orderTimeStr'
)
{
if
(
key
==
'orderTimeStr'
||
key
==
'statuses'
)
{
params
[
key
].
forEach
((
v
,
index
)
=>
{
params
[
key
].
forEach
((
v
,
index
)
=>
{
params
[
`
${
key
}
[
${
index
}
]`
]
=
v
params
[
`
${
key
}
[
${
index
}
]`
]
=
v
})
})
...
...
src/views/purchase/procurementReview.vue
View file @
a2f84f5
<!-- 采购审核-运营审核 -->
<!-- 采购审核-运营审核 -->
<
template
>
<
template
>
<d2-container
class=
"container"
>
<d2-container
class=
"container"
>
<div
class=
"header"
slot=
"header"
>
<div
class=
"header"
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
@
handleChangeSelect=
"handleChangeSelect"
slot=
"header"
>
:form-data=
"showFormData"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
@
handleChangeSelect=
"handleChangeSelect"
: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
>
查询
查询
</el-button>
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
重置
</el-button>
</el-button>
</div>
</div>
...
@@ -21,18 +29,31 @@
...
@@ -21,18 +29,31 @@
<auth-button
category=
"Button"
/>
<auth-button
category=
"Button"
/>
</span>
</span>
<span>
<span>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleExport"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleExport"
>
导出
导出
</el-button>
</el-button>
</span>
</span>
</d2-table-header>
</d2-table-header>
<d2-table
ref=
"purchasementReviewTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
<d2-table
ref=
"purchasementReviewTable"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
:search-form=
"tableSearchForm"
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
/>
:table-params=
"tableParams"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
/>
</d2-table>
</d2-table>
</div>
</div>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
v-if=
"detailVisible"
:params-obj=
"paramsObj"
></orderDeatilDialog>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
<rejectDialog
:reject-visible=
"rejectVisible"
v-if=
"rejectVisible"
:params-obj=
"paramsObj"
@
dialogClose=
"dialogClose"
>
v-if=
"detailVisible"
:params-obj=
"paramsObj"
></orderDeatilDialog>
<rejectDialog
:reject-visible=
"rejectVisible"
v-if=
"rejectVisible"
:params-obj=
"paramsObj"
@
dialogClose=
"dialogClose"
>
</rejectDialog>
</rejectDialog>
</d2-container>
</d2-container>
</
template
>
</
template
>
...
@@ -319,7 +340,7 @@ export default {
...
@@ -319,7 +340,7 @@ export default {
var
params
=
this
.
tableSearchForm
var
params
=
this
.
tableSearchForm
// 处理查询条件时间
// 处理查询条件时间
for
(
const
key
in
params
)
{
for
(
const
key
in
params
)
{
if
(
key
==
'orderTimeStr'
)
{
if
(
key
==
'orderTimeStr'
||
key
==
'statuses'
)
{
params
[
key
].
forEach
((
v
,
index
)
=>
{
params
[
key
].
forEach
((
v
,
index
)
=>
{
params
[
`
${
key
}
[
${
index
}
]`
]
=
v
params
[
`
${
key
}
[
${
index
}
]`
]
=
v
})
})
...
...
src/views/purchase/purchaseOrder.vue
View file @
a2f84f5
...
@@ -403,7 +403,7 @@ export default {
...
@@ -403,7 +403,7 @@ export default {
var
params
=
this
.
tableSearchForm
var
params
=
this
.
tableSearchForm
// 处理查询条件时间
// 处理查询条件时间
for
(
const
key
in
params
)
{
for
(
const
key
in
params
)
{
if
(
key
==
'orderTimeStr'
||
key
==
'putTimeStr'
)
{
if
(
key
==
'orderTimeStr'
||
key
==
'putTimeStr'
||
key
==
'statuses'
)
{
params
[
key
].
forEach
((
v
,
index
)
=>
{
params
[
key
].
forEach
((
v
,
index
)
=>
{
params
[
`
${
key
}
[
${
index
}
]`
]
=
v
params
[
`
${
key
}
[
${
index
}
]`
]
=
v
})
})
...
...
src/views/rightsAndInterestsManage/components/ruleConfigurationDialog.vue
View file @
a2f84f5
...
@@ -119,8 +119,8 @@
...
@@ -119,8 +119,8 @@
<el-form-item
required
label=
"价格区间:"
class=
"sectionCon"
>
<el-form-item
required
label=
"价格区间:"
class=
"sectionCon"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
:prop=
"'vdRuleIntervalList.' + index + '.low'"
:rules=
"[
<el-form-item
:prop=
"'vdRuleIntervalList.' + index + '.low'"
:rules=
"[
{ required: true, message: '请输入最低价格区间', trigger: 'change' }
{ required: true, message: '请输入最低价格区间', trigger: 'change' }
]"
>
]"
>
<el-input
:disabled=
"isEdit"
v-model=
"item.low"
>
<el-input
:disabled=
"isEdit"
v-model=
"item.low"
>
<
template
slot=
"append"
>
万元
</
template
>
<
template
slot=
"append"
>
万元
</
template
>
</el-input>
</el-input>
...
@@ -131,8 +131,8 @@
...
@@ -131,8 +131,8 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
:prop=
"'vdRuleIntervalList.' + index + '.high'"
:rules=
"[{ required: true, message: '请输入最高价格区间', trigger: 'change' },
<el-form-item
:prop=
"'vdRuleIntervalList.' + index + '.high'"
:rules=
"[{ required: true, message: '请输入最高价格区间', trigger: 'change' },
{ validator: (rule, value, callback) => { validateAccount(rule, value, callback, item) }, trigger: 'change' }
{ validator: (rule, value, callback) => { validateAccount(rule, value, callback, item) }, trigger: 'change' }
]"
>
]"
>
<el-input
:disabled=
"isEdit"
v-model=
"item.high"
>
<el-input
:disabled=
"isEdit"
v-model=
"item.high"
>
<
template
slot=
"append"
>
万元
</
template
>
<
template
slot=
"append"
>
万元
</
template
>
</el-input>
</el-input>
...
@@ -403,6 +403,7 @@ export default {
...
@@ -403,6 +403,7 @@ export default {
carPriceUpperLimit
:
"30"
carPriceUpperLimit
:
"30"
})
})
delete
params
.
vdRuleIntervalList
delete
params
.
vdRuleIntervalList
delete
params
.
quotationGoodsInfo
resolve
(
params
)
resolve
(
params
)
})
})
}
else
{
}
else
{
...
@@ -410,6 +411,7 @@ export default {
...
@@ -410,6 +411,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
const
form
=
deepClone
(
this
.
form
)
const
form
=
deepClone
(
this
.
form
)
const
storeForm
=
deepClone
(
this
.
storeForm
)
const
storeForm
=
deepClone
(
this
.
storeForm
)
delete
storeForm
.
quotationGoodsInfo
resolve
({
...
storeForm
,
vdRuleIntervalList
:
form
.
vdRuleIntervalList
}
resolve
({
...
storeForm
,
vdRuleIntervalList
:
form
.
vdRuleIntervalList
}
)
)
}
}
...
...
src/views/stockManage/BenefitCardManage/index.vue
View file @
a2f84f5
...
@@ -276,7 +276,7 @@ export default {
...
@@ -276,7 +276,7 @@ export default {
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
recordTable
.
refreshTable
()
this
.
$refs
.
recordTable
.
refreshTable
(
true
,
true
)
this
.
vdCardCount
()
this
.
vdCardCount
()
},
},
handleReset
()
{
handleReset
()
{
...
...
src/views/stockManage/allocation/allocationList.vue
View file @
a2f84f5
...
@@ -283,9 +283,9 @@ export default {
...
@@ -283,9 +283,9 @@ export default {
})
})
},
},
handleSearch
()
{
//
handleSearch() {
this
.
$refs
.
recordTable
.
refreshTable
()
//
this.$refs.recordTable.refreshTable()
},
//
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
allocateTime
:
''
,
allocateTime
:
''
,
...
...
src/views/stockManage/earlyWarning/earlyWarningList.vue
View file @
a2f84f5
...
@@ -243,9 +243,9 @@ export default {
...
@@ -243,9 +243,9 @@ export default {
})
})
},
},
handleSearch
()
{
//
handleSearch() {
this
.
$refs
.
recordTable
.
refreshTable
()
//
this.$refs.recordTable.refreshTable()
},
//
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
upgradeGoodsName
:
''
,
upgradeGoodsName
:
''
,
...
...
src/views/stockManage/inventory/inventoryList.vue
View file @
a2f84f5
...
@@ -249,9 +249,9 @@ export default {
...
@@ -249,9 +249,9 @@ export default {
})
})
},
},
handleSearch
()
{
//
handleSearch() {
this
.
$refs
.
recordTable
.
refreshTable
()
//
this.$refs.recordTable.refreshTable()
},
//
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
checkTime
:
''
,
checkTime
:
''
,
...
...
src/views/stockManage/outbound/outboundList.vue
View file @
a2f84f5
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
:search-form=
"searchForm"
:search-form=
"searchForm"
:form-data=
"showFormData"
/>
:form-data=
"showFormData"
/>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
<el-button
:id=
"tableParams.btnId
"
<el-button
@
click=
"handleSearch
"
size=
"small"
size=
"small"
type=
"primary"
>
type=
"primary"
>
查询
查询
...
@@ -23,6 +23,10 @@
...
@@ -23,6 +23,10 @@
</div>
</div>
<div
class=
"d2-container-content"
>
<div
class=
"d2-container-content"
>
<d2-table-header>
<d2-table-header>
<span
slot=
"left"
class=
"leftSpan"
>
合计:出库数量
<span
class=
"count-txt"
>
{{
statisticsData
.
totalReduceStockNum
}}
</span>
,出库金额
<span
class=
"count-txt"
>
¥
{{
statisticsData
.
totalReduceStockMoney
}}
</span></span>
<auth-button
category=
"Button"
/>
<auth-button
category=
"Button"
/>
</d2-table-header>
</d2-table-header>
<d2-table
ref=
"recordTable"
<d2-table
ref=
"recordTable"
...
@@ -43,8 +47,8 @@
...
@@ -43,8 +47,8 @@
import
{
Util
,
deepClone
}
from
'@/common/util'
import
{
Util
,
deepClone
}
from
'@/common/util'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
getProductTypeBySceneId
}
from
'@api/product'
import
{
getProductTypeBySceneId
}
from
'@api/product'
import
{
getyqMerchantList
,
getMerchantGoodsStockReduceRecord
,
getServicemerchantrefList
}
from
'@api/stockManage'
import
{
getyqMerchantList
,
getMerchantGoodsStockReduceRecord
,
getServicemerchantrefList
,
stockReduceRecordCount
}
from
'@api/stockManage'
import
{
membraneTypeList
}
from
'@/common/constants.js'
import
{
membraneTypeList
,
upgradeFlags
}
from
'@/common/constants.js'
export
default
{
export
default
{
name
:
'OutboundList'
,
name
:
'OutboundList'
,
components
:
{
components
:
{
...
@@ -62,7 +66,8 @@ export default {
...
@@ -62,7 +66,8 @@ export default {
merchantId
:
''
,
merchantId
:
''
,
goodsType
:
''
,
goodsType
:
''
,
businessCode
:
''
,
businessCode
:
''
,
goodsSeries
:
''
goodsSeries
:
''
,
upgradeFlag
:
''
},
},
searchFormSearch
:
{},
searchFormSearch
:
{},
searchSelectObj
:
{
searchSelectObj
:
{
...
@@ -151,6 +156,14 @@ export default {
...
@@ -151,6 +156,14 @@ export default {
type
:
'input'
,
type
:
'input'
,
maxlength
:
'20'
,
maxlength
:
'20'
,
isClear
:
true
isClear
:
true
},
{
label
:
'订单类型'
,
name
:
'upgradeFlag'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
optionsName
:
'upgradeFlags'
}],
}],
getListApi
:
getMerchantGoodsStockReduceRecord
,
getListApi
:
getMerchantGoodsStockReduceRecord
,
tableParams
:
{
tableParams
:
{
...
@@ -201,12 +214,24 @@ export default {
...
@@ -201,12 +214,24 @@ export default {
}
}
},
{
},
{
label
:
'关联业务单号'
,
label
:
'关联业务单号'
,
prop
:
'businessCode'
prop
:
'businessCode'
,
width
:
'120px'
,
},
{
label
:
'订单类型'
,
prop
:
'upgradeFlag'
,
width
:
'100px'
,
formatter
:
(
cellValue
)
=>
{
return
this
.
baseData
.
upgradeFlags
.
find
(
item
=>
item
.
confId
==
cellValue
.
upgradeFlag
)?.
confValue
||
'-'
}
},
{
},
{
label
:
'出库仓库'
,
label
:
'出库仓库'
,
prop
:
'yqMerchantName'
,
prop
:
'yqMerchantName'
,
width
:
'200px'
width
:
'200px'
},
{
},
{
label
:
'出库门店'
,
prop
:
'merchantName'
,
width
:
'200px'
},
{
label
:
'使用门店'
,
label
:
'使用门店'
,
prop
:
'storeUsage'
,
prop
:
'storeUsage'
,
width
:
'200px'
,
width
:
'200px'
,
...
@@ -233,9 +258,10 @@ export default {
...
@@ -233,9 +258,10 @@ export default {
],
],
productTypeList
:
[],
productTypeList
:
[],
yqMerchantList
:
[],
yqMerchantList
:
[],
merchantIdList
:
[]
merchantIdList
:
[],
}
upgradeFlags
:
upgradeFlags
,
},
statisticsData
:
{}
}
}
},
},
computed
:
{
computed
:
{
...
@@ -257,6 +283,8 @@ export default {
...
@@ -257,6 +283,8 @@ export default {
this
.
baseData
.
storeUsageList
=
res
this
.
baseData
.
storeUsageList
=
res
this
.
getOptionsList
()
this
.
getOptionsList
()
})
})
this
.
stockReduceRecordCount
()
},
},
methods
:
{
methods
:
{
...
@@ -270,6 +298,13 @@ export default {
...
@@ -270,6 +298,13 @@ export default {
// this.getOptionsList()
// this.getOptionsList()
// },
// },
// 出库记录列表统计
stockReduceRecordCount
()
{
stockReduceRecordCount
(
this
.
searchFormSearch
).
then
(
res
=>
{
this
.
statisticsData
=
res
})
},
// 获取仓库门店
// 获取仓库门店
getServicemerchantrefList
(
merchantId
)
{
getServicemerchantrefList
(
merchantId
)
{
getServicemerchantrefList
({
getServicemerchantrefList
({
...
@@ -312,7 +347,8 @@ export default {
...
@@ -312,7 +347,8 @@ export default {
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
recordTable
.
refreshTable
()
this
.
$refs
.
recordTable
.
refreshTable
(
true
,
true
)
this
.
stockReduceRecordCount
()
},
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
...
@@ -323,9 +359,11 @@ export default {
...
@@ -323,9 +359,11 @@ export default {
merchantId
:
''
,
merchantId
:
''
,
goodsType
:
''
,
goodsType
:
''
,
businessCode
:
''
,
businessCode
:
''
,
goodsSeries
:
''
goodsSeries
:
''
,
upgradeFlag
:
''
}
}
this
.
$refs
.
recordTable
.
refreshTable
()
this
.
$refs
.
recordTable
.
refreshTable
()
this
.
stockReduceRecordCount
()
},
},
handleExport
()
{
handleExport
()
{
...
...
src/views/stockManage/stock/stockList.vue
View file @
a2f84f5
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
:search-form=
"searchForm"
:search-form=
"searchForm"
:form-data=
"showFormData"
/>
:form-data=
"showFormData"
/>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
<el-button
:id=
"tableParams.btnId
"
<el-button
@
click=
"handleSearch
"
size=
"small"
size=
"small"
type=
"primary"
>
type=
"primary"
>
查询
查询
...
@@ -23,6 +23,8 @@
...
@@ -23,6 +23,8 @@
</div>
</div>
<div
class=
"d2-container-content"
>
<div
class=
"d2-container-content"
>
<d2-table-header>
<d2-table-header>
<span
slot=
"left"
class=
"leftSpan"
>
合计:当前库存
<span
class=
"count-txt"
>
{{
statisticsData
}}
</span></span>
<auth-button
category=
"Button"
/>
<auth-button
category=
"Button"
/>
</d2-table-header>
</d2-table-header>
<d2-table
ref=
"recordTable"
<d2-table
ref=
"recordTable"
...
@@ -52,7 +54,7 @@
...
@@ -52,7 +54,7 @@
import
{
Util
,
deepClone
}
from
'@/common/util'
import
{
Util
,
deepClone
}
from
'@/common/util'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
getProductTypeBySceneId
}
from
'@api/product'
import
{
getProductTypeBySceneId
}
from
'@api/product'
import
{
getyqMerchantList
,
getMerchantGoodsStockMonthReport
}
from
'@api/stockManage'
import
{
getyqMerchantList
,
getMerchantGoodsStockMonthReport
,
stockMonthReportCount
}
from
'@api/stockManage'
import
stockMonthDialog
from
'./stockMonthDialog'
import
stockMonthDialog
from
'./stockMonthDialog'
import
stockDetailDialog
from
'./stockDetailDialog'
import
stockDetailDialog
from
'./stockDetailDialog'
import
{
membraneTypeList
}
from
'@/common/constants.js'
import
{
membraneTypeList
}
from
'@/common/constants.js'
...
@@ -177,7 +179,8 @@ export default {
...
@@ -177,7 +179,8 @@ export default {
},
},
stockDetailDialogVisible
:
false
,
stockDetailDialogVisible
:
false
,
stockMonthVisible
:
false
,
stockMonthVisible
:
false
,
recordInfo
:
null
recordInfo
:
null
,
statisticsData
:
{}
}
}
},
},
computed
:
{
computed
:
{
...
@@ -198,6 +201,8 @@ export default {
...
@@ -198,6 +201,8 @@ export default {
this
.
baseData
.
yqMerchantList
=
res
this
.
baseData
.
yqMerchantList
=
res
this
.
getOptionsList
()
this
.
getOptionsList
()
})
})
this
.
stockMonthReportCount
()
},
},
methods
:
{
methods
:
{
...
@@ -211,6 +216,13 @@ export default {
...
@@ -211,6 +216,13 @@ export default {
// this.getOptionsList()
// this.getOptionsList()
// },
// },
// 库存记录统计
stockMonthReportCount
()
{
stockMonthReportCount
(
this
.
searchFormSearch
).
then
(
res
=>
{
this
.
statisticsData
=
res
})
},
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
...
@@ -235,7 +247,8 @@ export default {
...
@@ -235,7 +247,8 @@ export default {
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
recordTable
.
refreshTable
()
this
.
$refs
.
recordTable
.
refreshTable
(
true
,
true
)
this
.
stockMonthReportCount
()
},
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
...
@@ -245,6 +258,7 @@ export default {
...
@@ -245,6 +258,7 @@ export default {
goodsSeries
:
''
goodsSeries
:
''
}
}
this
.
$refs
.
recordTable
.
refreshTable
()
this
.
$refs
.
recordTable
.
refreshTable
()
this
.
stockMonthReportCount
()
},
},
handleExport
()
{
handleExport
()
{
...
...
src/views/stockManage/warehousing/warehousingList.vue
View file @
a2f84f5
...
@@ -2,24 +2,41 @@
...
@@ -2,24 +2,41 @@
<
template
>
<
template
>
<div>
<div>
<d2-container>
<d2-container>
<div
class=
"header"
slot=
"header"
style=
"padding: 10px 20px;"
>
<div
class=
"header"
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
/>
slot=
"header"
style=
"padding: 10px 20px;"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
/>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
>
<el-button
@
click=
"handleSearch"
size=
"small"
type=
"primary"
>
查询
查询
</el-button>
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
重置
</el-button>
</el-button>
</div>
</div>
</div>
</div>
<div
class=
"d2-container-content"
>
<div
class=
"d2-container-content"
>
<d2-table-header>
<d2-table-header>
<span
slot=
"left"
class=
"leftSpan"
>
合计:入库数量
<span
class=
"count-txt"
>
{{
statisticsData
.
totalIncreaseStockNum
}}
</span>
,入库金额
<span
class=
"count-txt"
>
¥
{{
statisticsData
.
totalIncreaseStockMoney
}}
</span></span>
<auth-button
category=
"Button"
/>
<auth-button
category=
"Button"
/>
</d2-table-header>
</d2-table-header>
<d2-table
ref=
"recordTable"
:get-list-api=
"getListApi"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
<d2-table
ref=
"recordTable"
:before-search-fn=
"beforeSearchFn"
>
:get-list-api=
"getListApi"
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
/>
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
/>
</d2-table>
</d2-table>
</div>
</div>
</d2-container>
</d2-container>
...
@@ -30,8 +47,8 @@
...
@@ -30,8 +47,8 @@
import
{
Util
,
deepClone
}
from
'@/common/util'
import
{
Util
,
deepClone
}
from
'@/common/util'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
getProductTypeBySceneId
}
from
'@api/product'
import
{
getProductTypeBySceneId
}
from
'@api/product'
import
{
getyqMerchantList
,
getGoodsWarehousingList
,
getServicemerchantrefList
}
from
'@api/stockManage'
import
{
getyqMerchantList
,
getGoodsWarehousingList
,
getServicemerchantrefList
,
goodsWarehousingInfoCount
}
from
'@api/stockManage'
import
{
membraneTypeList
}
from
'@/common/constants.js'
import
{
membraneTypeList
,
upgradeFlags
}
from
'@/common/constants.js'
export
default
{
export
default
{
name
:
'WarehousingList'
,
name
:
'WarehousingList'
,
components
:
{
components
:
{
...
@@ -50,7 +67,8 @@ export default {
...
@@ -50,7 +67,8 @@ export default {
goodsType
:
''
,
goodsType
:
''
,
businessCode
:
''
,
businessCode
:
''
,
goodsSeries
:
''
,
goodsSeries
:
''
,
deliveryNumber
:
''
deliveryNumber
:
''
,
upgradeFlag
:
''
},
},
searchFormSearch
:
{},
searchFormSearch
:
{},
searchSelectObj
:
{
searchSelectObj
:
{
...
@@ -138,6 +156,14 @@ export default {
...
@@ -138,6 +156,14 @@ export default {
optionId
:
'merchantId'
,
optionId
:
'merchantId'
,
optionLabel
:
'merchantName'
,
optionLabel
:
'merchantName'
,
optionsName
:
'merchantIdList'
optionsName
:
'merchantIdList'
},
{
label
:
'订单类型'
,
name
:
'upgradeFlag'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
optionsName
:
'upgradeFlags'
}],
}],
getListApi
:
getGoodsWarehousingList
,
getListApi
:
getGoodsWarehousingList
,
tableParams
:
{
tableParams
:
{
...
@@ -195,6 +221,13 @@ export default {
...
@@ -195,6 +221,13 @@ export default {
prop
:
'deliveryNumber'
,
prop
:
'deliveryNumber'
,
width
:
150
width
:
150
},
{
},
{
label
:
'订单类型'
,
prop
:
'upgradeFlag'
,
width
:
'100px'
,
formatter
:
(
cellValue
)
=>
{
return
this
.
baseData
.
upgradeFlags
.
find
(
item
=>
item
.
confId
==
cellValue
.
upgradeFlag
)?.
confValue
||
'-'
}
},
{
label
:
'入库仓库'
,
label
:
'入库仓库'
,
prop
:
'yqMerchantName'
,
prop
:
'yqMerchantName'
,
width
:
'200px'
width
:
'200px'
...
@@ -226,8 +259,10 @@ export default {
...
@@ -226,8 +259,10 @@ export default {
],
],
productTypeList
:
[],
productTypeList
:
[],
yqMerchantList
:
[],
yqMerchantList
:
[],
merchantIdList
:
[]
merchantIdList
:
[],
}
upgradeFlags
:
upgradeFlags
,
},
statisticsData
:
{}
}
}
},
},
computed
:
{
computed
:
{
...
@@ -248,6 +283,8 @@ export default {
...
@@ -248,6 +283,8 @@ export default {
this
.
baseData
.
yqMerchantList
=
res
this
.
baseData
.
yqMerchantList
=
res
this
.
getOptionsList
()
this
.
getOptionsList
()
})
})
this
.
goodsWarehousingInfoCount
()
},
},
methods
:
{
methods
:
{
...
@@ -276,6 +313,13 @@ export default {
...
@@ -276,6 +313,13 @@ export default {
})
})
},
},
// 入库管理列表统计
goodsWarehousingInfoCount
()
{
goodsWarehousingInfoCount
(
this
.
searchFormSearch
).
then
(
res
=>
{
this
.
statisticsData
=
res
})
},
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
...
@@ -303,7 +347,8 @@ export default {
...
@@ -303,7 +347,8 @@ export default {
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
recordTable
.
refreshTable
()
this
.
$refs
.
recordTable
.
refreshTable
(
true
,
true
)
this
.
goodsWarehousingInfoCount
()
},
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
...
@@ -315,9 +360,11 @@ export default {
...
@@ -315,9 +360,11 @@ export default {
goodsType
:
''
,
goodsType
:
''
,
businessCode
:
''
,
businessCode
:
''
,
goodsSeries
:
''
,
goodsSeries
:
''
,
deliveryNumber
:
''
deliveryNumber
:
''
,
upgradeFlag
:
''
}
}
this
.
$refs
.
recordTable
.
refreshTable
()
this
.
$refs
.
recordTable
.
refreshTable
()
this
.
goodsWarehousingInfoCount
()
},
},
handleExport
()
{
handleExport
()
{
...
...
src/views/systemConfig/ShopConfig/index.vue
View file @
a2f84f5
...
@@ -197,7 +197,10 @@ export default {
...
@@ -197,7 +197,10 @@ export default {
},
{
},
{
label
:
'4S店'
,
label
:
'4S店'
,
prop
:
'merchantName'
,
prop
:
'merchantName'
,
width
:
'200px'
width
:
'200px'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
merchantName
+
cellValue
.
merchantId
}
},
{
},
{
label
:
'门店类型'
,
label
:
'门店类型'
,
prop
:
'channelType'
,
prop
:
'channelType'
,
...
...
src/views/systemConfig/merchant/components/relateMerDialog.vue
View file @
a2f84f5
...
@@ -89,7 +89,7 @@ export default {
...
@@ -89,7 +89,7 @@ export default {
},
{
},
{
confId
:
2
,
confId
:
2
,
confLabel
:
'次新车转化'
,
confLabel
:
'次新车转化'
,
disabled
:
true
//
disabled: true
},
{
},
{
confId
:
3
,
confId
:
3
,
confLabel
:
'售后众筹'
confLabel
:
'售后众筹'
...
...
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