|
@@ -772,6 +772,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
toChies(amount) { //形参
|
|
|
+ this.chineseStr = 0
|
|
|
// 汉字的数字
|
|
|
const cnNums = ["零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"];
|
|
|
// 基本单位
|
|
@@ -858,7 +859,6 @@ export default {
|
|
|
} else if (decimalNum === "") {
|
|
|
chineseStr += cnInteger;
|
|
|
}
|
|
|
- // console.log(chineseStr)
|
|
|
this.chineseStr = chineseStr
|
|
|
// return chineseStr;
|
|
|
},
|
|
@@ -983,6 +983,7 @@ export default {
|
|
|
this.$set(this.purchaseList,'columnList',this.$options.data().contentStyle)
|
|
|
this.setRowList = this.$options.data().contentStyle
|
|
|
}
|
|
|
+ this.purchaseList.columnList.forEach(item => item.disabled = true)
|
|
|
this.pageDisplay = false
|
|
|
this.isItHidden = false
|
|
|
this.inDex = this.contentOption.length
|
|
@@ -1092,14 +1093,8 @@ export default {
|
|
|
}
|
|
|
this.$refs.avatar.form = {}
|
|
|
this.getRow(data, list)
|
|
|
- // for(let li in this.contentButton){
|
|
|
- // if(this.contentButton[li].name == '返回列表' || this.contentButton[li].name == '修改' ||this.contentButton[li].name == '申请发票' || this.contentButton[li].name == '查看审批'){
|
|
|
- // this.contentButton[li].disabled = false
|
|
|
- // }else {
|
|
|
- // this.contentButton[li].disabled = true
|
|
|
- // }
|
|
|
- // }
|
|
|
}
|
|
|
+ console.log(this.contentStyle)
|
|
|
})
|
|
|
},
|
|
|
//请核
|
|
@@ -1275,6 +1270,7 @@ export default {
|
|
|
}
|
|
|
} else {
|
|
|
item.disabled = false
|
|
|
+ this.purchaseList.columnList.forEach(item => item.disabled = false)
|
|
|
this.contentStyle.forEach(item => item.disabled = false)
|
|
|
this.contentOption.forEach(item => {
|
|
|
if (item.label == 'personNaem' || item.label == 'corpsName' || item.label == 'fBillno') {
|