|
@@ -375,7 +375,7 @@ export default {
|
|
value={row[column.columnAttributes.prop]}
|
|
value={row[column.columnAttributes.prop]}
|
|
onInput={(val) => { row[column.columnAttributes.prop] = val }}
|
|
onInput={(val) => { row[column.columnAttributes.prop] = val }}
|
|
onChange={(val) => {
|
|
onChange={(val) => {
|
|
- settleNum = ""
|
|
|
|
|
|
+ row.settleNum = ""
|
|
if (val) {
|
|
if (val) {
|
|
var data = this.gongqt.filter(item => item.type === row.type).find(item => item.label == val)
|
|
var data = this.gongqt.filter(item => item.type === row.type).find(item => item.label == val)
|
|
row.normAmount = data.normAmount
|
|
row.normAmount = data.normAmount
|
|
@@ -567,10 +567,11 @@ export default {
|
|
return list.filter(item => (
|
|
return list.filter(item => (
|
|
item.type == row.type &&
|
|
item.type == row.type &&
|
|
item.parentCategoryId == row.parentCategoryId &&
|
|
item.parentCategoryId == row.parentCategoryId &&
|
|
- item.categoryId == row.categoryId &&
|
|
|
|
- !~this.formData.normList.map(v => `${v.type}_${v.parentCategoryId}_${v.categoryId}_${v.label}`).filter(v => (
|
|
|
|
- v != `${row.type}_${row.parentCategoryId}_${row.categoryId}_${row.label}`
|
|
|
|
- )).indexOf(`${item.type}_${item.parentCategoryId}_${item.categoryId}_${item.label}`)
|
|
|
|
|
|
+ item.categoryId == row.categoryId
|
|
|
|
+ // &&
|
|
|
|
+ // !~this.formData.normList.map(v => `${v.type}_${v.parentCategoryId}_${v.categoryId}_${v.label}`).filter(v => (
|
|
|
|
+ // v != `${row.type}_${row.parentCategoryId}_${row.categoryId}_${row.label}`
|
|
|
|
+ // )).indexOf(`${item.type}_${item.parentCategoryId}_${item.categoryId}_${item.label}`)
|
|
))
|
|
))
|
|
},
|
|
},
|
|
queding() {
|
|
queding() {
|