|
|
|
@ -98,7 +98,7 @@
|
|
|
|
|
<el-table v-loading="loading" :data="list" style="width: 100%">
|
|
|
|
|
<el-table-column label="序号" type="index" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
<el-table-column label="业务类型" prop="localActionName" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
<el-table-column label="模板名称">
|
|
|
|
|
<el-table-column label="模板名称" width="200">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<p v-if="scope.row.templateName === null">
|
|
|
|
|
<el-button
|
|
|
|
@ -120,6 +120,41 @@
|
|
|
|
|
</p>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="备注字段1" prop="remark1" show-overflow-tooltip="true">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input :disabled="scope.$index !== currentCheckIndex" v-model="scope.row.remark1"
|
|
|
|
|
placeholder="请输入"></el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="备注字段2" prop="remark1" show-overflow-tooltip="true">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input :disabled="scope.$index !== currentCheckIndex" v-model="scope.row.remark2"
|
|
|
|
|
placeholder="请输入"></el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="备注字段3" prop="remark1" show-overflow-tooltip="true">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input :disabled="scope.$index !== currentCheckIndex" v-model="scope.row.remark3"
|
|
|
|
|
placeholder="请输入"></el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="操作" width="150" prop="price" fixed="right">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click="handleEdit(scope.$index, scope.row)"
|
|
|
|
|
>编辑
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click="handleSave(scope.$index, scope.row)"
|
|
|
|
|
>保存
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<el-dialog
|
|
|
|
|
title="接口参数设置"
|
|
|
|
@ -352,11 +387,12 @@ import {
|
|
|
|
|
systemPDFTemplateDeleteById,
|
|
|
|
|
systemPDFModuleList,
|
|
|
|
|
systemPDFModuleSave, updateDetailRel,
|
|
|
|
|
getSystemPDFModules, moduleDetail
|
|
|
|
|
getSystemPDFModules, moduleDetail, updatePdfRelData
|
|
|
|
|
} from "../../../api/param/systemPDFTemplate";
|
|
|
|
|
import {saveAs} from 'file-saver';
|
|
|
|
|
import {BASE_URL, SERVER_IP} from "../../../config/app";
|
|
|
|
|
import {authRoleAuthList} from "../../../api/auth/authRole";
|
|
|
|
|
import {updateStockOrderDetail} from "@/api/warehouse/stockOrder";
|
|
|
|
|
|
|
|
|
|
const formJson = {
|
|
|
|
|
id: "",
|
|
|
|
@ -435,6 +471,7 @@ export default {
|
|
|
|
|
{required: true, message: "请选择所属模块", trigger: "blur"}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
currentCheckIndex: -1,
|
|
|
|
|
deleteLoading: false,
|
|
|
|
|
uploadUrl: "",
|
|
|
|
|
fileList: [],
|
|
|
|
@ -837,6 +874,20 @@ export default {
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
handleEdit(index, row) {
|
|
|
|
|
this.currentCheckIndex = index;
|
|
|
|
|
console.log(this.currentCheckIndex)
|
|
|
|
|
},
|
|
|
|
|
handleSave(index, row) {
|
|
|
|
|
this.currentCheckIndex = -1;
|
|
|
|
|
updateDetailRel(row).then((res) => {
|
|
|
|
|
if (res.code == 20000) {
|
|
|
|
|
this.$message.success(res.data);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
filters: {
|
|
|
|
|
paramStatusFilterType(paramStatus) {
|
|
|
|
|