Commit 483560cb authored by 全洪江's avatar 全洪江

创建sap数据时增加状态

parent 35f56c97
......@@ -2,5 +2,6 @@
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="JSEqualityComparisonWithCoercion" enabled="false" level="WARNING" enabled_by_default="false" />
</profile>
</component>
\ No newline at end of file
......@@ -44,9 +44,9 @@ export function delSapdata(id) {
}
//上传给sap
export function uploadSapdata(id) {
export function uploadSapdata(id,relationId) {
return request({
url: '/md/sapPropertyData/uploadSapdata/' +id,
url: '/md/sapPropertyData/uploadSapdata/' +id +'/' + relationId,
method: 'get'
})
}
......@@ -71,7 +71,7 @@ export default {
if (!Object.keys(this.sapData).length) return
console.log(this.sapData)
if (this.loading) return
if (!this.form.type || !this.form.relationId) return this.$message.error("对象创建")
if (!this.form.type || !this.form.relationId) return this.$message.error("对象创建")
this.$refs.form.validate(valid => {
if (valid) {
this.loading = true
......
This diff is collapsed.
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