|
@@ -983,7 +983,7 @@ export default {
|
|
|
},
|
|
|
//查询列数据
|
|
|
getRow(data,list,add) {
|
|
|
- console.log(data,list)
|
|
|
+ console.log(data,list,add)
|
|
|
select(data).then((res) => {
|
|
|
if (data.tableName === '采购申请详情') {
|
|
|
if (res.data.length != 0) {
|
|
@@ -992,6 +992,7 @@ export default {
|
|
|
this.setRowList = res.data
|
|
|
this.purchaseList.columnList = this.purchaseList.columnList.filter((e) => e.checked == 0)
|
|
|
// this.waitFor = true
|
|
|
+
|
|
|
} else {
|
|
|
this.$set(this.purchaseList,'columnList',this.$options.data().contentStyle)
|
|
|
this.setRowList = this.$options.data().contentStyle
|
|
@@ -1037,6 +1038,11 @@ export default {
|
|
|
if (response.data.length != 0) {
|
|
|
this.before = response.data[0].userName
|
|
|
if (this.$refs.avatar.form.fBillstatus === 6 && this.before == this.lander) {
|
|
|
+ // this.contentButton.forEach(item =>{
|
|
|
+ // if (item.name === '审批'){
|
|
|
+ //
|
|
|
+ // }
|
|
|
+ // })
|
|
|
this.contentButton.push({
|
|
|
type: 'danger',
|
|
|
size: 'mini',
|