代码合并
This commit is contained in:
@@ -113,7 +113,11 @@
|
||||
@selection-change="crud.selectionChangeHandler"
|
||||
>
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column show-overflow-tooltip prop="bill_code" width="130" label="单据编码" />
|
||||
<el-table-column show-overflow-tooltip prop="bill_code" width="130" label="单据号">
|
||||
<template slot-scope="scope">
|
||||
<el-link type="warning" @click="toView(scope.$index, scope.row)">{{ scope.row.bill_code }}</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column show-overflow-tooltip :formatter="formatStatus" width="100" prop="bill_status" label="单据状态" />
|
||||
<el-table-column prop="stor_name" label="仓库" width="100" />
|
||||
<el-table-column show-overflow-tooltip prop="bill_type" :formatter="bill_typeFormat" label="业务类型" />
|
||||
@@ -134,6 +138,7 @@
|
||||
<!--分页组件-->
|
||||
<pagination />
|
||||
</div>
|
||||
<ViewDialog :dialog-show.sync="viewShow" :rowmst="mstrow" @AddChanged="querytable" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -146,10 +151,11 @@ import pagination from '@crud/Pagination'
|
||||
import DateRangePicker from '@/components/DateRangePicker/index'
|
||||
import crudInchargefrom from '@/views/wms/st/incharge/incharge'
|
||||
import crudStorattr from '@/views/wms/basedata/st/stor/storattr'
|
||||
import ViewDialog from '@/views/wms/st/outbill/ViewDialog'
|
||||
|
||||
export default {
|
||||
name: 'Incharge',
|
||||
components: { crudOperation, rrOperation, udOperation, pagination, DateRangePicker },
|
||||
components: { crudOperation, rrOperation, udOperation, pagination, DateRangePicker, ViewDialog },
|
||||
cruds() {
|
||||
return CRUD({
|
||||
title: '入库冲销',
|
||||
@@ -171,6 +177,8 @@ export default {
|
||||
dicts: ['ST_CREATE_MODE', 'ST_INV_IN_TYPE', 'io_bill_status'],
|
||||
data() {
|
||||
return {
|
||||
mstrow: {},
|
||||
viewShow: false,
|
||||
permission: {
|
||||
},
|
||||
storlist: []
|
||||
@@ -185,6 +193,10 @@ export default {
|
||||
[CRUD.HOOK.beforeRefresh]() {
|
||||
return true
|
||||
},
|
||||
toView(index, row) {
|
||||
this.mstrow = row
|
||||
this.viewShow = true
|
||||
},
|
||||
charge() {
|
||||
const _selectData = this.$refs.table.selection
|
||||
crudInchargefrom.charge(_selectData[0]).then(res => {
|
||||
|
||||
Reference in New Issue
Block a user