|
@@ -130,7 +130,9 @@
|
|
|
v-model="ruleForm.online_remark"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-button v-if="id !== '007'" type="primary" :size="'mini'" @click="submitForm">保 存</el-button>
|
|
|
+
|
|
|
+ <span v-if="isYZPlatform" style="color:red;margin-right:10px">咨询成交商品池不支持对接有赞的平台上线功能</span>
|
|
|
+ <el-button v-if="id !== '007'" type="primary" :size="'mini'" :disabled="isYZPlatform" @click="submitForm">保 存</el-button>
|
|
|
<el-button :size="'mini'" @click="showModelThis = false">
|
|
|
{{
|
|
|
id == "007" ? "关 闭" : "取 消"
|
|
@@ -285,6 +287,11 @@ export default {
|
|
|
this.$refs.ruleForm.validateField("platform");
|
|
|
},
|
|
|
async submitForm() {
|
|
|
+ if(this.isYZPlatform){
|
|
|
+ this.$message.warning("咨询成交商品池不支持对接有赞的平台上线功能")
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
await this.$refs.ruleForm.validate(async valid => {
|
|
|
if (valid) {
|
|
|
if (!this.loading) {
|