|
@@ -93,7 +93,6 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import moment from 'moment'
|
|
|
|
// import { customerBundleDelayList, customerBundleExportDelay } from '@/api/FinancialManagement'
|
|
// import { customerBundleDelayList, customerBundleExportDelay } from '@/api/FinancialManagement'
|
|
import { STable, VSelect } from '@/components'
|
|
import { STable, VSelect } from '@/components'
|
|
// import productBrandEditModal from './editModal.vue'
|
|
// import productBrandEditModal from './editModal.vue'
|
|
@@ -101,10 +100,10 @@ export default {
|
|
components: { STable, VSelect },
|
|
components: { STable, VSelect },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
- advanced: false, // 高级搜索 展开/关闭
|
|
|
|
|
|
+ advanced: false, // 高级搜索 展开/关闭
|
|
queryParam: { // 查询条件
|
|
queryParam: { // 查询条件
|
|
bundleName: '', // 品牌名称
|
|
bundleName: '', // 品牌名称
|
|
- state: undefined, // 状态
|
|
|
|
|
|
+ state: undefined, // 状态
|
|
},
|
|
},
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
dateFormat: 'YYYY-MM-DD',
|
|
dateFormat: 'YYYY-MM-DD',
|
|
@@ -150,8 +149,8 @@ export default {
|
|
resolve(data)
|
|
resolve(data)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- openModal: false, // 新增编辑产品品牌 弹框
|
|
|
|
- itemId: '' // 当前品牌id
|
|
|
|
|
|
+ openModal: false, // 新增编辑产品品牌 弹框
|
|
|
|
+ itemId: '' // 当前品牌id
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -170,16 +169,16 @@ export default {
|
|
this.$refs.table.refresh(true)
|
|
this.$refs.table.refresh(true)
|
|
},
|
|
},
|
|
// 入库
|
|
// 入库
|
|
- handleWarehousing(){},
|
|
|
|
|
|
+ handleWarehousing () {},
|
|
// 审核
|
|
// 审核
|
|
- handleExamine(){
|
|
|
|
|
|
+ handleExamine () {
|
|
const _this = this
|
|
const _this = this
|
|
this.$confirm({
|
|
this.$confirm({
|
|
title: '提示',
|
|
title: '提示',
|
|
content: '确认要审核通过吗?',
|
|
content: '确认要审核通过吗?',
|
|
okText: '确定',
|
|
okText: '确定',
|
|
cancelText: '取消',
|
|
cancelText: '取消',
|
|
- centered: true,
|
|
|
|
|
|
+ centered: true,
|
|
onOk () {
|
|
onOk () {
|
|
// delectRolePower({
|
|
// delectRolePower({
|
|
// id: row.id
|
|
// id: row.id
|
|
@@ -194,17 +193,17 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
// 详情
|
|
// 详情
|
|
- handleDetail(row){
|
|
|
|
|
|
+ handleDetail (row) {
|
|
this.$router.push({ path: `/allocationManagement/chainTransferIn/detail/${row.id}` })
|
|
this.$router.push({ path: `/allocationManagement/chainTransferIn/detail/${row.id}` })
|
|
},
|
|
},
|
|
// 新增/编辑
|
|
// 新增/编辑
|
|
- handleEdit(row){
|
|
|
|
- if(row){ // 编辑
|
|
|
|
|
|
+ handleEdit (row) {
|
|
|
|
+ if (row) { // 编辑
|
|
this.$router.push({ path: `/allocationManagement/chainTransferIn/edit/${row.id}` })
|
|
this.$router.push({ path: `/allocationManagement/chainTransferIn/edit/${row.id}` })
|
|
- }else{ // 新增
|
|
|
|
|
|
+ } else { // 新增
|
|
this.$router.push({ path: '/allocationManagement/chainTransferIn/add' })
|
|
this.$router.push({ path: '/allocationManagement/chainTransferIn/add' })
|
|
}
|
|
}
|
|
- },
|
|
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
@@ -217,4 +216,4 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|