|
@@ -100,7 +100,7 @@ export default {
|
|
|
this.$refs.ruleForm.validate(valid => {
|
|
|
if (valid) {
|
|
|
const form = _this.form
|
|
|
- form.id = _this.itemSn ? _this.itemSn : null
|
|
|
+ form.allocateTypeSn = _this.itemSn ? _this.itemSn : null
|
|
|
allocateTypeSave(form).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
_this.$message.success(res.message)
|