|
@@ -405,6 +405,22 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
surface: '8',
|
|
|
+ label: 'invoiceNo',
|
|
|
+ name: '发票号',
|
|
|
+ checked: 0,
|
|
|
+ width: 100,
|
|
|
+ onabort: ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: '8',
|
|
|
+ label: 'reimburser',
|
|
|
+ name: '报销人',
|
|
|
+ checked: 0,
|
|
|
+ width: 100,
|
|
|
+ onabort: ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: '8',
|
|
|
label: 'remark',
|
|
|
name: '备注',
|
|
|
checked: 0,
|
|
@@ -857,6 +873,26 @@ export default {
|
|
|
{
|
|
|
index: '9',
|
|
|
span: 6,
|
|
|
+ label: 'invoiceNo',
|
|
|
+ name: '发票号',
|
|
|
+ inputType: 2,
|
|
|
+ width: 200,
|
|
|
+ labelSize: '80',
|
|
|
+ disabled: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: '9',
|
|
|
+ span: 6,
|
|
|
+ label: 'reimburser',
|
|
|
+ name: '报销人',
|
|
|
+ inputType: 2,
|
|
|
+ width: 200,
|
|
|
+ labelSize: '80',
|
|
|
+ disabled: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: '9',
|
|
|
+ span: 6,
|
|
|
label: 'remark',
|
|
|
name: '备注',
|
|
|
inputType: 4,
|
|
@@ -1154,7 +1190,7 @@ export default {
|
|
|
},
|
|
|
//查询主页列数据
|
|
|
query(data) {
|
|
|
- console.log(data)
|
|
|
+ console.log(data,1157)
|
|
|
listQuery(data).then(res => {
|
|
|
this.tableData = res.rows
|
|
|
this.total = res.total
|
|
@@ -1164,8 +1200,9 @@ export default {
|
|
|
},
|
|
|
//查询列数据
|
|
|
getRow(data, list, add, i) {
|
|
|
- console.log(data, list, add)
|
|
|
-
|
|
|
+ console.log(data, list, add,i,1167)
|
|
|
+ console.log(this.contentOption,1168)
|
|
|
+ console.log(this.pushList,1169)
|
|
|
for (let item in this.contentOption) {
|
|
|
for (let li in this.pushList) {
|
|
|
if (this.contentOption[item].label === this.pushList[li].label) {
|
|
@@ -1216,6 +1253,7 @@ export default {
|
|
|
this.$refs.avatar.form = list.tCostManagement
|
|
|
this.contentList = list.tCostManagementItem
|
|
|
this.contentButton = this.$options.data().contentButton
|
|
|
+ console.log(this.contentList,1220)
|
|
|
this.tEnclosure = list.tEnclosure
|
|
|
if (this.pendingPage.name) {
|
|
|
this.contentButton.push(JSON.parse(this.$route.query.list))
|
|
@@ -1321,6 +1359,7 @@ export default {
|
|
|
},
|
|
|
//查看-列表
|
|
|
viewMethod(scope, res, i) {
|
|
|
+ console.log(scope,res,i,1324)
|
|
|
if (res) {
|
|
|
this.contentButton.forEach(item => {
|
|
|
item.disabled = false
|
|
@@ -1346,9 +1385,13 @@ export default {
|
|
|
tableName: this.purchaseList.tableName,
|
|
|
userId: Cookies.get('userName')
|
|
|
}
|
|
|
-
|
|
|
+ // 复制进来的要把状态改成 录入状态
|
|
|
+ if (i == 1) {
|
|
|
+ res.data.tCostManagement.fStatus = 0
|
|
|
+ res.data.tCostManagement.fStatusName = '录入'
|
|
|
+ res.data.tCostManagement.tEnclosure = []
|
|
|
+ }
|
|
|
this.datass = res.data.tCostManagement
|
|
|
- // console.log(createBy)
|
|
|
|
|
|
// 上传附件是否打开判断
|
|
|
// if (scope.row.fStatusName === "完成" || scope.row.fStatusName === "录入") {
|
|
@@ -1826,6 +1869,7 @@ export default {
|
|
|
}
|
|
|
break
|
|
|
case '复制新单':
|
|
|
+ console.log(row,1829)
|
|
|
if (row.nameTwo === '详情页') {
|
|
|
this.$refs.avatar.submitForm('submit', 3)
|
|
|
} else {
|