mdf:外协桶表查询修改

This commit is contained in:
zhangzhiqiang
2023-01-16 10:20:13 +08:00
parent 80bf2c14e7
commit 5ff994bf00
5 changed files with 56 additions and 13 deletions

View File

@@ -31,17 +31,11 @@
<el-table-column show-overflow-tooltip prop="material_spec" label="规格" />
<el-table-column show-overflow-tooltip prop="material_model" label="型号" />
<el-table-column show-overflow-tooltip min-width="130" prop="pcsn" label="批次" />
<el-table-column show-overflow-tooltip prop="quality_scode" label="品质类型" :formatter="format_quality_scode"/>
<el-table-column show-overflow-tooltip prop="ivt_level" label="库存等级" :formatter="format_ivt_level"/>
<el-table-column show-overflow-tooltip prop="is_active" label="是否可用" :formatter="format_is_active"/>
<el-table-column show-overflow-tooltip prop="storage_qty" label="重量" :formatter="crud.formatNum3"/>
<el-table-column show-overflow-tooltip prop="record_order" label="顺序号" />
<el-table-column show-overflow-tooltip prop="bag_qty" label="袋数" />
<el-table-column show-overflow-tooltip prop="unit_name" label="单位" />
<el-table-column show-overflow-tooltip prop="qty" label="重量" :formatter="crud.formatNum3"/>
<el-table-column show-overflow-tooltip prop="qty_unit_name" label="单位" />
</el-table>
<!--分页组件-->
<pagination />
<BagDialog :dialog-show.sync="bagDialog" :open-param-one="openParamOne"/>
</div>
</el-dialog>
</template>
@@ -52,16 +46,15 @@ import CRUD, { presenter, header } from '@crud/crud'
import crudOperation from '@crud/CRUD.operation'
import pagination from '@crud/Pagination'
import crudOrderproc from '@/api/wms/pcs/orderproc'
import BagDialog from '@/views/wms/statistics/ivtQuery/BagDialog'
export default {
name: 'ReceiveDialog',
dicts: ['ST_QUALITY_SCODE', 'ST_IVT_LEVEL', 'is_usable'],
components: { crudOperation, pagination, BagDialog },
components: { crudOperation, pagination },
mixins: [presenter(), header()],
cruds() {
return CRUD({
url: 'api/ivtQuery/bucketQuery',
url: 'api/statistical/bucketQuery',
idField: 'id',
sort: 'id,desc',
crudMethod: { ... crudOrderproc },
@@ -87,7 +80,6 @@ export default {
return {
dialogVisible: false,
openParamOne: null,
bagDialog: false
}
},
watch: {
@@ -124,7 +116,6 @@ export default {
},
openBag(row) {
this.openParamOne = row.bucketunique
this.bagDialog = true
}
}
}