|
|
@@ -301,6 +301,19 @@
|
|
|
<input v-model="form.skMore" placeholder-class="phcolor" class="tui-input" name="skMore" @focus="form.skMore=''" placeholder="在成本价基础上多卖的金额" type="digit" />
|
|
|
</tui-list-cell>
|
|
|
|
|
|
+ <tui-list-cell class="line-cell item-remark-line" :hover="false">
|
|
|
+ <view class="tui-title item-remark-line__title">备注</view>
|
|
|
+ <input
|
|
|
+ v-model="form.itemRemark"
|
|
|
+ placeholder-class="item-remark-line__ph"
|
|
|
+ class="tui-input item-remark-line__input"
|
|
|
+ name="itemRemark"
|
|
|
+ placeholder="选填,最多200字"
|
|
|
+ maxlength="200"
|
|
|
+ type="text"
|
|
|
+ />
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
<view class="tui-title">顺序值</view>
|
|
|
|
|
|
@@ -591,6 +604,7 @@ export default {
|
|
|
virtualStock:0,
|
|
|
ratioType:0,
|
|
|
inTurn:100,
|
|
|
+ itemRemark:'',
|
|
|
cpInfo:[],
|
|
|
kind:0
|
|
|
},
|
|
|
@@ -1470,6 +1484,11 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
let form = JSON.parse(JSON.stringify(this.form))
|
|
|
+ form.itemRemark = (form.itemRemark || '').trim()
|
|
|
+ if (form.itemRemark.length > 200) {
|
|
|
+ this.$msg('备注不能超过200字')
|
|
|
+ return
|
|
|
+ }
|
|
|
form.images = form.images.join(',')
|
|
|
uni.showLoading({mask:true,title:'提交中'})
|
|
|
requestHost({...form,appVersion:3}).then(res => {
|
|
|
@@ -1719,6 +1738,17 @@ export default {
|
|
|
color: #cccccc;
|
|
|
padding: 12rpx 0;
|
|
|
}
|
|
|
+.item-remark-line {
|
|
|
+ .item-remark-line__title,
|
|
|
+ .item-remark-line__input {
|
|
|
+ color: #ff2842;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+}
|
|
|
+.item-remark-line__ph {
|
|
|
+ color: #ff2842;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
.app-footer {
|
|
|
/* 使用固定定位确保位置稳定 */
|
|
|
position: fixed;
|