|
@@ -361,7 +361,7 @@ export default {
|
|
|
this.$refs.formRef.validate((valid, invalidFields, errLabels) => {
|
|
|
if (valid) {
|
|
|
;[websitGoodsAloneAdd, websitGoodsAloneEdit]
|
|
|
- [this.formDialogType]({ ...this.formData, goodsType: 'M' })
|
|
|
+ [this.formDialogType]({ ...this.formData, goodsType: 'P' })
|
|
|
.then(res => {
|
|
|
this.$message({ type: 'success', message: `${this.formDialogTitles[this.formDialogType]}成功!` })
|
|
|
cancel('list')
|