Browse Source

20250414

master
qiezi 9 months ago
parent
commit
b442da7e9c
  1. 79
      src/views/modules/board/PartInventory.vue
  2. 2
      src/views/modules/production/bagPrint.vue

79
src/views/modules/board/PartInventory.vue

@ -0,0 +1,79 @@
<script>
export default {
name:'Part Inventory',
data(){
return{
queryParams:{
site:'',
},
queryLoading:false,
}
},
methods:{
},
created() {
},
watch:{
}
}
</script>
<template>
<div class="box-container">
<el-form :model="queryParams" label-position="top" style="max-width: 1200px;min-width: 800px">
<el-row :gutter="10">
<el-col :span="4">
<el-form-item label="工厂编码">
<el-input v-model="queryParams.site" clearable></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="物料编码">
<el-input v-model="queryParams.partNo" clearable></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="物料描述">
<el-input v-model="queryParams.partDescription" clearable></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="规格型号">
<el-input v-model="queryParams.spec" clearable></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="物料类别">
<el-select v-model="queryParams.partType" clearable style="width: 100%;">
<el-option value="" label="全部"></el-option>
<el-option value="原材料" label="原材料"></el-option>
<el-option value="产成品" label="产成品"></el-option>
<el-option value="半成品" label="半成品"></el-option>
<el-option value="贸易商品" label="贸易商品"></el-option>
<el-option value="低值易耗品" label="低值易耗品"></el-option>
<el-option value="其他" label="其他"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="汇总方式">
<el-select v-model="queryParams.partType" clearable style="width: 100%;">
<el-option :value="0" label="按物料"></el-option>
<el-option :value="1" label="按物料+仓库"></el-option>
<el-option :value="2" label="按物料+仓库+库位"></el-option>
<el-option :value="3" label="按物料+仓库+库位+批号"></el-option>
<el-option :value="4" label="贸易商品"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
</template>
<style scoped>
</style>

2
src/views/modules/production/bagPrint.vue

@ -206,7 +206,7 @@ export default {
<el-table :data="dataList" border v-loading="queryLoading" height="calc(100vh - 190px)"> <el-table :data="dataList" border v-loading="queryLoading" height="calc(100vh - 190px)">
<el-table-column label="操作" width="100" align="center"> <el-table-column label="操作" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<a v-if="scope.row.status === '已入库'" @click="bagOpening(scope.row)">拆袋</a>
<a v-if="scope.row.status !== '已拆袋'" @click="bagOpening(scope.row)">拆袋</a>
<a @click="packagePrintDataList(scope.row)">补打</a> <a @click="packagePrintDataList(scope.row)">补打</a>
</template> </template>
</el-table-column> </el-table-column>

Loading…
Cancel
Save