|
|
@@ -301,7 +301,18 @@
|
|
|
</DictSelection>
|
|
|
</el-form-item>
|
|
|
</template>
|
|
|
-
|
|
|
+ <template v-slot:goodsLevel="{ row, $index }">
|
|
|
+ <el-form-item :prop="'datasource.' + $index + '.goodsLevel'">
|
|
|
+ <el-select v-model="row.goodsLevel" style="width: 100%">
|
|
|
+ <el-option
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ v-for="(item, index) in levelList"
|
|
|
+ :key="index"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </template>
|
|
|
<template v-slot:headerProductName="{ column }">
|
|
|
<span class="is-required">{{ column.label }}</span>
|
|
|
</template>
|
|
|
@@ -363,6 +374,7 @@
|
|
|
import taskinstanceDialog from '@/BIZComponents/procedure/taskinstanceDialog.vue';
|
|
|
import { lbjtList } from '@/enum/dict.js';
|
|
|
import tabMixins from '@/mixins/tableColumnsMixin';
|
|
|
+ import { levelList } from '@/enum/dict.js';
|
|
|
|
|
|
export default {
|
|
|
mixins: [dictMixins,tabMixins],
|
|
|
@@ -383,6 +395,7 @@
|
|
|
name: ''
|
|
|
};
|
|
|
return {
|
|
|
+ levelList,
|
|
|
cacheKeyUrl:'eos-purchaseNeedManage-inventoryTable',
|
|
|
numberReg,
|
|
|
defaultForm,
|
|
|
@@ -433,6 +446,13 @@
|
|
|
headerSlot: 'headerTotalCount',
|
|
|
align: 'center'
|
|
|
},
|
|
|
+ {
|
|
|
+ minWidth: 120,
|
|
|
+ prop: 'goodsLevel',
|
|
|
+ label: '物品级别',
|
|
|
+ slot: 'goodsLevel',
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
{
|
|
|
width: 80,
|
|
|
prop: 'availableCountBase',
|
|
|
@@ -524,13 +544,6 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- // {
|
|
|
- // width: 120,
|
|
|
- // prop: 'approvalNumber',
|
|
|
- // align: 'center',
|
|
|
- // label: '批准文号',
|
|
|
- // showOverflowTooltip: true
|
|
|
- // },
|
|
|
{
|
|
|
width: 120,
|
|
|
prop: 'packingSpecification',
|
|
|
@@ -674,6 +687,8 @@
|
|
|
this.$set(parasm, 'imgCode', item.imgCode);
|
|
|
this.$set(parasm, 'produceType', item.componentAttribute);
|
|
|
this.$set(parasm, 'approvalNumber', item.extField?.approvalNumber);
|
|
|
+ this.$set(parasm, 'goodsLevel', item.level);
|
|
|
+
|
|
|
this.$set(
|
|
|
parasm,
|
|
|
'packingSpecification',
|