Commit d56f4f63 authored by zhengke's avatar zhengke

修改

parent ab217174
...@@ -401,7 +401,7 @@ ...@@ -401,7 +401,7 @@
<el-table-column label="重量(克)" width="90"> <el-table-column label="重量(克)" width="90">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.GoodsWeight" <el-input v-model="scope.row.GoodsWeight"
@keyup.native="checkPrice(scope.row,'GoodsWeight')" size="small"></el-input> @keyup.native="checkInteger(scope.row,'GoodsWeight')" size="small"></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="address" label="货号"> <el-table-column prop="address" label="货号">
...@@ -418,7 +418,7 @@ ...@@ -418,7 +418,7 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="商品重量"> <el-form-item label="商品重量">
<el-input v-model="addMsg.GoodsWeight" type="number" min="1" size="small" placeholder="请输入内容" <el-input v-model="addMsg.GoodsWeight" @keyup.native="checkInteger(addMsg,'GoodsWeight')" min="1" size="small" placeholder="请输入内容"
class="input-with-select"> class="input-with-select">
<el-button slot="append"></el-button> <el-button slot="append"></el-button>
</el-input> </el-input>
...@@ -1932,7 +1932,7 @@ ...@@ -1932,7 +1932,7 @@
this.addMsg.MarketingLogo.wordsColor = ''; this.addMsg.MarketingLogo.wordsColor = '';
this.addMsg.MarketingLogo.wordsBack = ''; this.addMsg.MarketingLogo.wordsBack = '';
} }
this.addMsg.MarketingLogo = JSON.stringify(this.addMsg.MarketingLogo) this.addMsg.MarketingLogo = JSON.stringify(this.addMsg.MarketingLogo);
this.apipost("/api/product/SetProductGoodsInfo", this.addMsg, res => { this.apipost("/api/product/SetProductGoodsInfo", this.addMsg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message); this.Success(res.data.message);
......
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