|
@@ -304,7 +304,6 @@ export default {
|
|
this.disabled = true
|
|
this.disabled = true
|
|
parameter.sortAlias = 'dp'
|
|
parameter.sortAlias = 'dp'
|
|
const params = Object.assign(parameter, this.queryParam, { supplierSn: this.$route.params.supplierSn })
|
|
const params = Object.assign(parameter, this.queryParam, { supplierSn: this.$route.params.supplierSn })
|
|
- params.enabledFlag = 1
|
|
|
|
return bulkProductList(params).then(res => {
|
|
return bulkProductList(params).then(res => {
|
|
const data = res.data
|
|
const data = res.data
|
|
const no = (data.pageNo - 1) * data.pageSize
|
|
const no = (data.pageNo - 1) * data.pageSize
|
|
@@ -491,7 +490,7 @@ export default {
|
|
this.$message.warning('请选择仓位后再添加!')
|
|
this.$message.warning('请选择仓位后再添加!')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- if (!isEdit && !row.enabledFlag) {
|
|
|
|
|
|
+ if (!isEdit && row.enabledFlag == '0') {
|
|
_this.$confirm({
|
|
_this.$confirm({
|
|
title: '提示',
|
|
title: '提示',
|
|
content: '该产品已禁用,确认继续添加吗?',
|
|
content: '该产品已禁用,确认继续添加吗?',
|