|
@@ -283,7 +283,18 @@
|
|
|
</el-input>
|
|
</el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template> -->
|
|
</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:singleWeight="scope">
|
|
<template v-slot:singleWeight="scope">
|
|
|
<el-form-item
|
|
<el-form-item
|
|
|
style="margin-bottom: 20px"
|
|
style="margin-bottom: 20px"
|
|
@@ -488,6 +499,7 @@
|
|
|
import { pricingWayList, lbjtList } from '@/enum/dict.js';
|
|
import { pricingWayList, lbjtList } from '@/enum/dict.js';
|
|
|
import { getInventoryTotalAPI } from '@/api/wms';
|
|
import { getInventoryTotalAPI } from '@/api/wms';
|
|
|
import tabMixins from '@/mixins/tableColumnsMixin';
|
|
import tabMixins from '@/mixins/tableColumnsMixin';
|
|
|
|
|
+ import { levelList } from '@/enum/dict.js';
|
|
|
|
|
|
|
|
const dayjs = require('dayjs');
|
|
const dayjs = require('dayjs');
|
|
|
|
|
|
|
@@ -538,6 +550,7 @@
|
|
|
technicalDrawings: []
|
|
technicalDrawings: []
|
|
|
};
|
|
};
|
|
|
return {
|
|
return {
|
|
|
|
|
+ levelList,
|
|
|
cacheKeyUrl: 'eos-purchasingManage-purchaseOrder-inventoryTable',
|
|
cacheKeyUrl: 'eos-purchasingManage-purchaseOrder-inventoryTable',
|
|
|
pricingWayList,
|
|
pricingWayList,
|
|
|
discountTotalPrice: 0.0,
|
|
discountTotalPrice: 0.0,
|
|
@@ -642,6 +655,13 @@
|
|
|
slot: 'pricingWay',
|
|
slot: 'pricingWay',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ minWidth: 120,
|
|
|
|
|
+ prop: 'goodsLevel',
|
|
|
|
|
+ label: '物品级别',
|
|
|
|
|
+ slot: 'goodsLevel',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
width: 160,
|
|
width: 160,
|
|
|
prop: 'singlePrice',
|
|
prop: 'singlePrice',
|
|
@@ -1172,6 +1192,7 @@
|
|
|
this.$set(parasm, 'approvalNumber', item.extField?.approvalNumber);
|
|
this.$set(parasm, 'approvalNumber', item.extField?.approvalNumber);
|
|
|
this.$set(parasm, 'singleWeight', item.roughWeight);
|
|
this.$set(parasm, 'singleWeight', item.roughWeight);
|
|
|
this.$set(parasm, 'pricingWay', item.pricingWay || 1);
|
|
this.$set(parasm, 'pricingWay', item.pricingWay || 1);
|
|
|
|
|
+ this.$set(parasm, 'goodsLevel', item.level);
|
|
|
|
|
|
|
|
this.$set(
|
|
this.$set(
|
|
|
parasm,
|
|
parasm,
|