Commit 5522663b authored by 黄奎's avatar 黄奎

页面修改

parent 278c0635
......@@ -16,21 +16,22 @@
<div class="col-12">
<div style="display:flex;align-items:center;">
<a :href="fileObj.FileUrl" style="margin-right:10px;">{{fileObj.FileName}}</a>
<el-upload class="upload-demo" action="" :show-file-list="false"
:http-request="UploadAttachment" :multiple="uploadMultple">
<q-btn color="accent" size="sm" icon="add" label="上传供应商合同" />
</el-upload>
<a v-if="objOption.SupplierContract" style="margin-left:10px;color:#2961FE;text-decoration:none;" :href="objOption.SupplierContract">查看合同</a>
</div>
<el-upload class="upload-demo" action="" :show-file-list="false" :http-request="UploadAttachment"
:multiple="uploadMultple">
<q-btn color="accent" size="sm" icon="add" label="上传供应商合同" />
</el-upload>
<a v-if="objOption.SupplierContract" style="margin-left:10px;color:#2961FE;text-decoration:none;"
:href="objOption.SupplierContract">查看合同</a>
</div>
</div>
</div>
<div class="row wrap">
<q-input filled stack-label :dense="false" v-model="objOption.Remark" style="margin-top: 20px" type="textarea"
class="col-12" label="备注" maxlength="300" />
</div>
<div class="row wrap" style="margin-top:5px;color:red;">
<div class="row wrap" style="margin-top:5px;color:red;">
必须上传供应商合同才能上架.
</div>
</div>
</q-card-section>
<q-separator />
<q-card-actions align="right" class="bg-white">
......@@ -56,7 +57,7 @@
type: Object,
default: null
},
Type:{
Type: {
type: Number,
default: null
}
......@@ -75,10 +76,10 @@
optionTitle: "",
saveLoading: false,
supplierList: [], //供应商下拉数据
uploadMultple:true,
fileObj:{
FileName:'',
FileUrl:''
uploadMultple: true,
fileObj: {
FileName: '',
FileUrl: ''
}
}
},
......@@ -119,8 +120,16 @@
this.$emit('close')
this.persistent = false
},
//保存菜单
//保存留学就业信息
saveStudyInfo() {
if (this.objOption.SupplierContract == '') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请上传供应商合同!`
})
return;
}
this.saveLoading = true;
saveStudyAbroad(this.objOption).then(res => {
this.saveLoading = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment