|
|
@@ -219,10 +219,12 @@ export default {
|
|
|
this.tableData = res.data.list
|
|
|
this.tableData.forEach(v => {
|
|
|
if (v.textureType === 0) v.textureType = '单一质地'
|
|
|
- else v.textureType = '复合质地'
|
|
|
+ else if (v.textureType === 1) v.textureType = '复合质地'
|
|
|
if (v.status === 0) v.status = '保管中'
|
|
|
else if (v.status === 1) v.status = '已提用'
|
|
|
else v.status = '已注销'
|
|
|
+ if (v.amountType === 0) v.amountType = '单件'
|
|
|
+ else if (v.amountType === 1) v.amountType = '一套多件'
|
|
|
v.numTypeId = this.mycategory(v.numTypeId)
|
|
|
v.integrity = this.spoil(v.integrity)
|
|
|
v.repair = this.mySave(v.repair)
|
|
|
@@ -254,7 +256,7 @@ export default {
|
|
|
this.json_data.forEach(v => {
|
|
|
v.numTypeId = this.mycategory(v.numTypeId)
|
|
|
if (v.amountType === 0) v.amountType = '单件'
|
|
|
- else v.amountType = '一套多件'
|
|
|
+ else if (v.amountType === 1) v.amountType = '一套多件'
|
|
|
v.integrity = this.spoil(v.integrity)
|
|
|
v.repair = this.mySave(v.repair)
|
|
|
})
|