md
This commit is contained in:
parent
3fe78f9bea
commit
b958d0959d
@ -15,7 +15,7 @@
|
||||
<xd-table v-loading="loading"
|
||||
border
|
||||
size="small"
|
||||
storageName="emisWaybillAttachment_main"
|
||||
storageName="emisWaybillAttachment_main"
|
||||
:data="emisWaybillAttachmentList"
|
||||
:showSearch.sync="showSearch"
|
||||
:queryParams="queryParams"
|
||||
@ -140,72 +140,15 @@
|
||||
</xd-table>
|
||||
|
||||
<!-- 添加或修改运单附件对话框 -->
|
||||
<el-dialog :title="title" :visible.sync="open" width="500px" v-dialogDrag :close-on-click-modal="false" append-to-body>
|
||||
<el-row :gutter="0">
|
||||
<el-form ref="form" :model="form" :rules="rules" size="mini" label-width="80px">
|
||||
<el-col :span="24">
|
||||
<el-form-item :label="$t('附件类型')" prop="attachType">
|
||||
<el-input v-model="form.attachType" placeholder="请输入附件类型" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item :label="$t('文件名称')" prop="fileName">
|
||||
<el-input v-model="form.fileName" placeholder="请输入文件名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item :label="$t('文件地址')" prop="fileUrl">
|
||||
<el-input v-model="form.fileUrl" placeholder="请输入文件地址" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item :label="$t('文件描述')" prop="fileDesc">
|
||||
<el-input v-model="form.fileDesc" placeholder="请输入文件描述" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item :label="$t('排序')" prop="orderNum">
|
||||
<el-input v-model="form.orderNum" placeholder="请输入排序" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item :label="$t('删除标志(0代表存在')" prop="delFlag">
|
||||
<el-input v-model="form.delFlag" placeholder="请输入删除标志(0代表存在" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item :label="$t('备注')" prop="remark">
|
||||
<el-input v-model="form.remark" placeholder="请输入备注" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-dialog :title="title" :visible.sync="open" width="500px" v-dialogDrag :close-on-click-modal="false" append-to-body>
|
||||
BigTransClearAttachForm
|
||||
|
||||
<!--
|
||||
<el-col :span="24" v-show="moreInputVisible" > </el-col>
|
||||
<el-col :span="24">
|
||||
<el-divider content-position="right" @click="handleShowMoreInput" >更多信息[+]</el-divider>
|
||||
</el-col>
|
||||
-->
|
||||
</el-dialog> -->
|
||||
|
||||
</el-form>
|
||||
</el-row>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
|
||||
<!--
|
||||
<el-dialog :title="titleForm" :visible.sync="openForm" width="500px" v-dialogDrag append-to-body>
|
||||
<emisWaybillAttachmentForm :id="currentId" @on-changed="handleFormChanged" @on-cancel="cancelForm"></EmisWaybillAttachmentForm>
|
||||
<BigTransClearAttachForm :id="currentId" @on-changed="handleFormChanged" @on-cancel="cancelForm"></BigTransClearAttachForm>
|
||||
</el-dialog>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<el-dialog :title="titleView" :visible.sync="openView" width="60%" :close-on-click-modal="false" v-dialogDrag append-to-body>
|
||||
<emisWaybillAttachmentView :id="id" ></EmisWaybillAttachmentView>
|
||||
</el-dialog>
|
||||
-->
|
||||
|
||||
</div>
|
||||
</template>
|
||||
@ -214,11 +157,11 @@
|
||||
import { listEmisWaybillAttachment, getEmisWaybillAttachment, delEmisWaybillAttachment, addEmisWaybillAttachment, updateEmisWaybillAttachment } from "@/api/emis/emisWaybillAttachment";
|
||||
import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker';
|
||||
import emisWaybillAttachmentView from '@/views/emis/emisWaybillAttachment/emisWaybillAttachmentView';
|
||||
import emisWaybillAttachmentForm from '@/views/emis/emisWaybillAttachment/emisWaybillAttachmentForm';
|
||||
import BigTransClearAttachForm from '@/views/emis/emisWaybillAttachment/BigTransClearAttachForm';
|
||||
|
||||
export default {
|
||||
name: "emisWaybillAttachment",
|
||||
components: { elDateSimplePicker,emisWaybillAttachmentView,emisWaybillAttachmentForm },
|
||||
components: { elDateSimplePicker,emisWaybillAttachmentView,BigTransClearAttachForm },
|
||||
dicts: [
|
||||
],
|
||||
data() {
|
||||
@ -370,18 +313,9 @@ export default {
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
this.reset();
|
||||
const id = row.id || this.ids
|
||||
getEmisWaybillAttachment(id).then(response => {
|
||||
this.form = response.data;
|
||||
this.open = true;
|
||||
this.title = "修改";
|
||||
});
|
||||
|
||||
// 子组件打开模式
|
||||
// this.currentId= row.id || this.ids;
|
||||
// this.openEmisWaybillAttachment = true;
|
||||
// this.titleEmisWaybillAttachment = "修改";
|
||||
this.currentId= row.id || this.ids;
|
||||
this.openForm = true;
|
||||
this.titleForm = "编辑";
|
||||
|
||||
},
|
||||
handleView(row) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user