add:页面
This commit is contained in:
@@ -78,7 +78,7 @@ export default {
|
||||
method: 'get',
|
||||
params: this.$http.adornParams()
|
||||
}).then(({data}) => {
|
||||
if (data && data.code === 0) {
|
||||
if (data && data.code === 200) {
|
||||
this.dataForm.materialCode = data.material.materialCode
|
||||
this.dataForm.materialName = data.material.materialName
|
||||
this.dataForm.materialType = String(data.material.materialType)
|
||||
@@ -103,7 +103,7 @@ export default {
|
||||
'isOn': this.dataForm.isOn
|
||||
})
|
||||
}).then(({data}) => {
|
||||
if (data && data.code === 0) {
|
||||
if (data && data.code === 200) {
|
||||
this.$message({
|
||||
message: '操作成功',
|
||||
type: 'success',
|
||||
|
||||
Reference in New Issue
Block a user