代码合并
This commit is contained in:
@@ -12,8 +12,8 @@
|
|||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-cascader
|
<el-cascader
|
||||||
placeholder="所属库区"
|
|
||||||
v-model="query.sect"
|
v-model="query.sect"
|
||||||
|
placeholder="所属库区"
|
||||||
:options="sects"
|
:options="sects"
|
||||||
:props="{ checkStrictly: true }"
|
:props="{ checkStrictly: true }"
|
||||||
clearable
|
clearable
|
||||||
@@ -79,7 +79,7 @@ export default {
|
|||||||
url: 'api/structattr',
|
url: 'api/structattr',
|
||||||
idField: 'struct_id',
|
idField: 'struct_id',
|
||||||
sort: 'struct_id,desc',
|
sort: 'struct_id,desc',
|
||||||
query: { search: '', is_lock: '1', lock_type: '',sect_id: '', stor_id: '' },
|
query: { search: '', is_lock: '1', lock_type: '', sect_id: '', stor_id: '' },
|
||||||
crudMethod: { ...crudStructattr }
|
crudMethod: { ...crudStructattr }
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -143,12 +143,12 @@ export default {
|
|||||||
return {
|
return {
|
||||||
rowspan: 2,
|
rowspan: 2,
|
||||||
colspan: 1
|
colspan: 1
|
||||||
};
|
}
|
||||||
} else {
|
} else {
|
||||||
return {
|
return {
|
||||||
rowspan: 0,
|
rowspan: 0,
|
||||||
colspan: 0
|
colspan: 0
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -17,38 +17,38 @@
|
|||||||
@select="handleSelectionChange"
|
@select="handleSelectionChange"
|
||||||
@select-all="onSelectAll"
|
@select-all="onSelectAll"
|
||||||
>
|
>
|
||||||
<el-table-column prop="bucketunique" label="桶号" min-width="100" show-overflow-tooltip/>
|
<el-table-column prop="bucketunique" label="桶号" min-width="100" show-overflow-tooltip />
|
||||||
<el-table-column prop="label" label="桶类别"/>
|
<el-table-column prop="label" label="桶类别" />
|
||||||
<el-table-column prop="material_code" label="物料编码" width="120px"/>
|
<el-table-column prop="material_code" label="物料编码" width="120px" />
|
||||||
<el-table-column prop="material_name" label="物料名称" min-width="120"/>
|
<el-table-column prop="material_name" label="物料名称" min-width="120" />
|
||||||
<el-table-column prop="pcsn" label="批次" min-width="100" show-overflow-tooltip/>
|
<el-table-column prop="pcsn" label="批次" min-width="100" show-overflow-tooltip />
|
||||||
<el-table-column prop="storage_qty" label="数量">
|
<el-table-column prop="storage_qty" label="数量">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ fun(scope.row.storage_qty) }}
|
{{ fun(scope.row.storage_qty) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="qty_unit_name" label="单位"/>
|
<el-table-column prop="qty_unit_name" label="单位" />
|
||||||
<el-table-column prop="quality_scode" :formatter="qualityFormat" label="品质类型"/>
|
<el-table-column prop="quality_scode" :formatter="qualityFormat" label="品质类型" />
|
||||||
<el-table-column prop="ivt_level" :formatter="ivtFormat" label="库存等级"/>
|
<el-table-column prop="ivt_level" :formatter="ivtFormat" label="库存等级" />
|
||||||
<el-table-column prop="is_active" :formatter="activeFormat" label="是否可用"/>
|
<el-table-column prop="is_active" :formatter="activeFormat" label="是否可用" />
|
||||||
<el-table-column prop="storagevehicle_code" label="载具号"/>
|
<el-table-column prop="storagevehicle_code" label="载具号" />
|
||||||
<el-table-column prop="record_order" label="顺序号"/>
|
<el-table-column prop="record_order" label="顺序号" />
|
||||||
<el-table-column prop="bag_qty" label="袋数"/>
|
<el-table-column prop="bag_qty" label="袋数" />
|
||||||
</el-table>
|
</el-table>
|
||||||
<!--分页组件-->
|
<!--分页组件-->
|
||||||
<pagination/>
|
<pagination />
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import CRUD, {crud} from '@crud/crud'
|
import CRUD, { crud } from '@crud/crud'
|
||||||
import crudOperation from '@crud/CRUD.operation'
|
import crudOperation from '@crud/CRUD.operation'
|
||||||
import pagination from '@crud/Pagination'
|
import pagination from '@crud/Pagination'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'BucketDtlDiv',
|
name: 'BucketDtlDiv',
|
||||||
components: {crudOperation, pagination},
|
components: { crudOperation, pagination },
|
||||||
mixins: [crud()],
|
mixins: [crud()],
|
||||||
props: {
|
props: {
|
||||||
dialogShow: {
|
dialogShow: {
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ import crudRawAssist from '@/views/wms/st/inbill/rawassist'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'TaskDialog',
|
name: 'TaskDialog',
|
||||||
components: {StructUpdateDiv },
|
components: { StructUpdateDiv },
|
||||||
mixins: [crud()],
|
mixins: [crud()],
|
||||||
dicts: ['io_bill_status', 'task_status'],
|
dicts: ['io_bill_status', 'task_status'],
|
||||||
props: {
|
props: {
|
||||||
|
|||||||
@@ -153,8 +153,8 @@
|
|||||||
|
|
||||||
import { crud } from '@crud/crud'
|
import { crud } from '@crud/crud'
|
||||||
import checkoutbill from '@/views/wms/st/outbill/checkoutbill'
|
import checkoutbill from '@/views/wms/st/outbill/checkoutbill'
|
||||||
import crudStorattr from "@/views/wms/basedata/st/stor/storattr";
|
import crudStorattr from '@/views/wms/basedata/st/stor/storattr'
|
||||||
import crudRawAssist from "@/views/wms/st/inbill/rawassist";
|
import crudRawAssist from '@/views/wms/st/inbill/rawassist'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ViewDialog',
|
name: 'ViewDialog',
|
||||||
@@ -179,7 +179,7 @@ export default {
|
|||||||
storlist: [],
|
storlist: [],
|
||||||
currentdtl: null,
|
currentdtl: null,
|
||||||
currentDis: {},
|
currentDis: {},
|
||||||
form:{}
|
form: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
@@ -159,7 +159,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="plan_qty" label="出库重量" width="150" align="center">
|
<el-table-column prop="plan_qty" label="出库重量" width="150" align="center">
|
||||||
<template scope="scope">
|
<template scope="scope">
|
||||||
<el-input-number v-model="scope.row.plan_qty" v-show="!scope.row.edit" :precision="3" :controls="false" :min="1" style="width: 120px" />
|
<el-input-number v-show="!scope.row.edit" v-model="scope.row.plan_qty" :precision="3" :controls="false" :min="1" style="width: 120px" />
|
||||||
<span v-show="scope.row.edit">{{ scope.row.plan_qty }}</span>
|
<span v-show="scope.row.edit">{{ scope.row.plan_qty }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
v-loading.fullscreen.lock="fullscreenLoading"
|
||||||
append-to-body
|
append-to-body
|
||||||
:visible.sync="dialogVisible"
|
:visible.sync="dialogVisible"
|
||||||
v-loading.fullscreen.lock="fullscreenLoading"
|
|
||||||
destroy-on-close
|
destroy-on-close
|
||||||
:show-close="false"
|
:show-close="false"
|
||||||
fullscreen
|
fullscreen
|
||||||
|
|||||||
@@ -152,8 +152,8 @@
|
|||||||
|
|
||||||
import { crud } from '@crud/crud'
|
import { crud } from '@crud/crud'
|
||||||
import checkoutbill from '@/views/wms/st/outbill/checkoutbill'
|
import checkoutbill from '@/views/wms/st/outbill/checkoutbill'
|
||||||
import crudStorattr from "@/views/wms/basedata/st/stor/storattr";
|
import crudStorattr from '@/views/wms/basedata/st/stor/storattr'
|
||||||
import crudRawAssist from "@/views/wms/st/inbill/rawassist";
|
import crudRawAssist from '@/views/wms/st/inbill/rawassist'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ViewDialog',
|
name: 'ViewDialog',
|
||||||
@@ -178,7 +178,7 @@ export default {
|
|||||||
storlist: [],
|
storlist: [],
|
||||||
currentdtl: null,
|
currentdtl: null,
|
||||||
currentDis: {},
|
currentDis: {},
|
||||||
form:{}
|
form: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
@@ -155,4 +155,4 @@ export function getType() {
|
|||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
export default { add, edit, del, allDiv, allCancel, getOutBillDtl, getOutBillDis, setPoint, getOutBillTask, getStructIvt, manualDiv, confirm, issueTask, finishTask, cancleTaskfinish, getInvTypes, paramByCodeType, schAreaType,backConfirm, getOutBillDisDtl, getType }
|
export default { add, edit, del, allDiv, allCancel, getOutBillDtl, getOutBillDis, setPoint, getOutBillTask, getStructIvt, manualDiv, confirm, issueTask, finishTask, cancleTaskfinish, getInvTypes, paramByCodeType, schAreaType, backConfirm, getOutBillDisDtl, getType }
|
||||||
|
|||||||
Reference in New Issue
Block a user