|
@@ -1,7 +1,7 @@
|
|
|
<!-- 委外列表 -->
|
|
|
<template>
|
|
|
<div class="sale">
|
|
|
- <template v-if="!detailVisible && !addOrUpdateVisible && !changeFormVisible &&!changeAttachVisible && !attachVisible && !noticeChangeAttachVisible && !inboundVisible && !outsourceVisible && !noticeChangeAttachVisible">
|
|
|
+ <template v-if="!detailVisible && !addOrUpdateVisible && !changeFormVisible &&!changeAttachVisible && !attachVisible && !noticeChangeAttachVisible && !inboundVisible && !outsourceVisible && !noticeChangeAttachVisible && !amountMaskSettingVisible">
|
|
|
<el-form :inline="true" :model="dataForm" @keyup.enter.native="search()">
|
|
|
<el-form-item label="类别">
|
|
|
<el-select
|
|
@@ -45,6 +45,7 @@
|
|
|
<el-form-item>
|
|
|
<el-button @click="search()">查询</el-button>
|
|
|
<el-button v-if="isAuth('pur:commDetail:noteChangeConfig')" type="primary" @click="setNoticeChangeHandel()">工作提示通知设置</el-button>
|
|
|
+ <el-button v-if="isAuth('pur:commDetail:priceConfig')" type="primary" @click="setAmountMaskHandel()">委外金额屏蔽设置</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<el-table
|
|
@@ -249,6 +250,7 @@
|
|
|
<!-- 入库 -->
|
|
|
<stock-order-inbound v-if="inboundVisible" ref="inbound" @refreshDataList="getDataList" @onChose="onChose"/>
|
|
|
<outsource-pop v-if="outsourceVisible" ref="refOutsource" @refreshDataList="getDataList" @onChose="onChose"/>
|
|
|
+ <amount-mask-setting v-if="amountMaskSettingVisible" ref="amountMaskSetting" @onChose="onChose"/>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -262,6 +264,8 @@ import ChangeForm from '../cus/contract-record-change'
|
|
|
import { getDictList } from '@/api/dict'
|
|
|
import StockOrderInbound from '../warehouse/stock-order-inbound'
|
|
|
import OutsourcePop from './outsource-pop'
|
|
|
+import AmountMaskSetting from './outsource-amount-mask-setting'
|
|
|
+
|
|
|
export default {
|
|
|
name: 'outsource',
|
|
|
components: {
|
|
@@ -271,7 +275,8 @@ export default {
|
|
|
Detail,
|
|
|
NoticeChangeSetting,
|
|
|
ChangeForm,
|
|
|
- StockOrderInbound
|
|
|
+ StockOrderInbound,
|
|
|
+ AmountMaskSetting
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
@@ -280,6 +285,7 @@ export default {
|
|
|
attachVisible: false,
|
|
|
changeAttachVisible: false,
|
|
|
noticeChangeAttachVisible: false,
|
|
|
+ amountMaskSettingVisible: false,
|
|
|
changeFormVisible: false,
|
|
|
inboundVisible: false, // 入库申请
|
|
|
outsourceVisible: false, // 委外
|
|
@@ -319,6 +325,7 @@ export default {
|
|
|
this.changeAttachVisible = false
|
|
|
this.inboundVisible = false
|
|
|
this.outsourceVisible = false
|
|
|
+ this.amountMaskSettingVisible = false
|
|
|
},
|
|
|
// 查询
|
|
|
search () {
|
|
@@ -496,6 +503,13 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.noticeChangeSetting.init()
|
|
|
})
|
|
|
+ },
|
|
|
+ // 委外金额屏蔽设置
|
|
|
+ setAmountMaskHandel () {
|
|
|
+ this.amountMaskSettingVisible = true
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.amountMaskSetting.init()
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|