Commit b06b9a52 authored by zhengke's avatar zhengke

修改

parent 13af6f78
......@@ -186,10 +186,8 @@
this.$refs.CategoryName.validate();
this.$refs.CatetoryType.validate();
if (!this.$refs.CategoryName.hasError&&!this.$refs.CatetoryType.hasError) {
this.saveCustomLoading = true;
saveCustomerCategory(this.objOption).then(res => {
if (res.Code == 1) {
this.saveCustomLoading = false;
this.$q.notify({
icon: "iconfont icon-chenggong",
color: "accent",
......
......@@ -384,6 +384,9 @@
return
}
if (!this.$refs.CustomerName.hasError) {
if(this.objOption.CategoryId>0){
this.objOption.CategoryName = '';
}
SetCustomer(this.objOption).then(res => {
if (res.Code == 1) {
this.$q.notify({
......
......@@ -16,7 +16,7 @@
</q-field>
</div>
<div>
<q-btn color="accent" class="q-mr-md" size="sm" icon="download" style="margin-top:15px;" label="下载" />
<q-btn color="accent" class="q-mr-md" size="sm" icon="download" style="margin-top:15px;display:none;" label="下载" />
</div>
</div>
<div class="page-content">
......
......@@ -20,7 +20,7 @@
</q-field>
</div>
<div>
<q-btn color="accent" class="q-mr-md" size="sm" icon="download" style="margin-top:15px;" label="下载" />
<q-btn color="accent" class="q-mr-md" size="sm" icon="download" style="margin-top:15px;display:none;" label="下载" />
</div>
</div>
<div class="page-content">
......
......@@ -23,7 +23,7 @@
</q-field>
</div>
<div>
<q-btn color="accent" class="q-mr-md" size="sm" icon="download" style="margin-top:15px;" label="下载" />
<q-btn color="accent" class="q-mr-md" size="sm" icon="download" style="margin-top:15px;display:none;" label="下载" />
</div>
</div>
<div class="page-content">
......
......@@ -15,7 +15,7 @@
</q-field>
</div>
<div>
<q-btn color="accent" class="q-mr-md" size="sm" icon="download" style="margin-top:15px;" label="下载" />
<q-btn color="accent" class="q-mr-md" size="sm" icon="download" style="margin-top:15px;display:none;" label="下载" />
</div>
</div>
<yearFirst :dataList="dataList" :tabCheck="tabCheck"></yearFirst>
......
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