Commit cd0f58ca by 黑潮

update: 修改

parent 4e7ec23e
......@@ -89,7 +89,7 @@
<el-input size="small" v-model.trim="giftForm.cashCost" placeholder="请输入内容" @blur="limitCash"></el-input>
</td>
<td style="width:120px">
<el-input size="small" v-model.trim="giftForm.virtualStock" placeholder="请输入内容" :disabled="!giftType || stockDisabled" @blur="limitStock"></el-input>
<el-input size="small" v-model.trim="giftForm.virtualStock" placeholder="请输入内容" :disabled="stockDisabled" @blur="limitStock"></el-input>
</td>
<td style="width:120px">
<el-input size="small" v-model.trim="giftForm.proCodeQuery" placeholder="请输入内容" @input="limintProCodeQuery" @blur="limitproCodeQueryType"></el-input>
......@@ -1025,6 +1025,7 @@ export default {
this.giftForm.integralCost = res.data.result.integralCost; //积分
this.giftForm.cashCost = res.data.result.cashCost; //现金
this.giftForm.virtualStock = res.data.result.virtualStock; //库存
this.currentStock = res.data.result.virtualStock;
this.giftForm.proCodeQuery = res.data.result.proCodeQuery; //条形码
this.giftForm.costValue = res.data.result.costValue; //礼品成本
this.giftForm.marketPrice = res.data.result.marketPrice; //市场价
......@@ -2112,7 +2113,7 @@ export default {
proCodeQuery: this.giftForm.proCodeQuery, //条形码
costValue: this.giftForm.changeType === 1 ? this.couponCostValue : this.giftForm.costValue, //卡券礼品成本
marketPrice: this.giftForm.marketPrice, //市场价
virtualStock: this.giftForm.virtualStock, //库存
virtualStock: this.giftForm.virtualStock - this.currentStock, //库存
timeZones: '', //部分时段
proShowStatus: this.giftForm.proShowStatus, //显示状态
releaseType: this.giftForm.releaseType, //上架状态
......
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