更新
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="交易类型" prop="transactionType">
|
||||
<el-select
|
||||
:disabled="form.id"
|
||||
:disabled="!!form.id"
|
||||
v-model="form.transactionType"
|
||||
placeholder="请选择交易类型"
|
||||
@change="changeTransactionType"
|
||||
@@ -111,6 +111,7 @@
|
||||
:on-remove="handleRemove"
|
||||
:on-success="handleSuccess"
|
||||
:limit="1"
|
||||
:file-list="fileList"
|
||||
>
|
||||
<i class="el-icon-plus"></i>
|
||||
</el-upload>
|
||||
@@ -139,7 +140,6 @@
|
||||
|
||||
<script>
|
||||
import serve from "api/financialCenter/enterpriseRecharge.js";
|
||||
import commonServe from "api/common.js";
|
||||
|
||||
import autocomplete from "components/autocomplete/index.vue";
|
||||
|
||||
@@ -174,10 +174,10 @@ export default {
|
||||
JSESSIONID: JSESSIONID,
|
||||
token: utils.bcrypt(JSESSIONID),
|
||||
},
|
||||
fileList: [],
|
||||
cascaderList: [],
|
||||
companyFinance: {},
|
||||
form: {},
|
||||
refineryList: [],
|
||||
configAutocomplete: {
|
||||
serveTarget: serve.getLikeByNameSuccess,
|
||||
autocompleteKey: "name",
|
||||
@@ -259,8 +259,15 @@ export default {
|
||||
openDrawer() {
|
||||
let { id } = this.controlWindows.addInfo;
|
||||
//回显
|
||||
id &&
|
||||
(this.form = JSON.parse(JSON.stringify(this.controlWindows.addInfo)));
|
||||
if (id) {
|
||||
this.form = JSON.parse(JSON.stringify(this.controlWindows.addInfo));
|
||||
|
||||
if (this.form.offlineTransactionProof) {
|
||||
this.fileList.push({
|
||||
url: this.form.offlineTransactionProof,
|
||||
});
|
||||
}
|
||||
}
|
||||
let configUpdata = id
|
||||
? { echoId: id, echoName: this.form.refineryName, isDisabled: true }
|
||||
: {
|
||||
|
||||
Reference in New Issue
Block a user