|
@@ -38,16 +38,23 @@
|
|
<!--<el-button :size="size" :disabled="disabled || isAddDisabled" :type="type"-->
|
|
<!--<el-button :size="size" :disabled="disabled || isAddDisabled" :type="type"-->
|
|
<!-- :icon="row.$cellEdit ? 'el-icon-plus' : 'el-icon-edit'" @click="rowEdit(row, index)">编辑-->
|
|
<!-- :icon="row.$cellEdit ? 'el-icon-plus' : 'el-icon-edit'" @click="rowEdit(row, index)">编辑-->
|
|
<!--</el-button>-->
|
|
<!--</el-button>-->
|
|
- <el-popover placement="left" width="500" trigger="click">
|
|
|
|
|
|
+ <el-popover placement="left" width="500" trigger="hover">
|
|
<el-table :row-style="{ height: '20px', padding: '0px', fontSize: '12px' }"
|
|
<el-table :row-style="{ height: '20px', padding: '0px', fontSize: '12px' }"
|
|
:cell-style="{ padding: '0px', fontSize: '12px' }" :data="row.recordList"
|
|
:cell-style="{ padding: '0px', fontSize: '12px' }" :data="row.recordList"
|
|
:header-cell-style="tableHeaderCellStyle" border stripe height="300px" style="width: 100%">
|
|
:header-cell-style="tableHeaderCellStyle" border stripe height="300px" style="width: 100%">
|
|
- <el-table-column property="srcOrd" label="单号"></el-table-column>
|
|
|
|
|
|
+ <el-table-column property="srcOrd" label="单号">
|
|
|
|
+ <template slot-scope="{row}">
|
|
|
|
+ <span style="color: #409EFF;cursor: pointer" @click.stop="Jump(row)">{{ row.srcOrd }}
|
|
|
|
+ </span>
|
|
|
|
+ </template>
|
|
|
|
+
|
|
|
|
+ </el-table-column>
|
|
<el-table-column property="amount" label="金额"></el-table-column>
|
|
<el-table-column property="amount" label="金额"></el-table-column>
|
|
<el-table-column property="createUserName" label="制单人"></el-table-column>
|
|
<el-table-column property="createUserName" label="制单人"></el-table-column>
|
|
<el-table-column property="createTime" label="制单日期"></el-table-column>
|
|
<el-table-column property="createTime" label="制单日期"></el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
- <el-button slot="reference" :size="size" :disabled="!row.id" :type="type" icon="el-icon-view" style="margin-right: 8px;">
|
|
|
|
|
|
+ <el-button slot="reference" :size="size" :disabled="!row.id" :type="type" icon="el-icon-view"
|
|
|
|
+ style="margin-right: 8px;">
|
|
查看记录
|
|
查看记录
|
|
</el-button>
|
|
</el-button>
|
|
</el-popover>
|
|
</el-popover>
|
|
@@ -577,6 +584,22 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ Jump(row) {
|
|
|
|
+ if (this.$store.getters.financingStatus) {
|
|
|
|
+ this.$alert("融资采购(L)已存在,请关闭融资采购(L)再进行操作", "温馨提示", {
|
|
|
|
+ confirmButtonText: "确定",
|
|
|
|
+ type: "warning",
|
|
|
|
+ });
|
|
|
|
+ } else {
|
|
|
|
+ this.$router.$avueRouter.closeTag("/tirePartsMall/purchasingManagement/financingProcurement/index");
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path: "/tirePartsMall/purchasingManagement/financingProcurement/index",
|
|
|
|
+ query: {
|
|
|
|
+ srcId: row.srcId
|
|
|
|
+ },
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ },
|
|
//修改提交触发
|
|
//修改提交触发
|
|
editCustomer() {
|
|
editCustomer() {
|
|
this.$refs["form"].validate((valid, done) => {
|
|
this.$refs["form"].validate((valid, done) => {
|