|
|
@@ -10,7 +10,7 @@
|
|
|
<view class="space-view ex-table">
|
|
|
<view style="line-height:55upx;" v-if="!$util.isEmpty(selectList)">
|
|
|
<text v-for="(item, index) in selectList" :key="index" style="margin-right:36upx;font-size:30upx;" @click="delProduct(item)">{{ item.name }} {{ item.bigCount }} x</text>
|
|
|
- <button @click="confirmChange()" class="admin-button-com blue mini-btn">确认提交</button>
|
|
|
+ <button @click="confirmChange()" class="admin-button-com blue mini-btn">确认添加</button>
|
|
|
</view>
|
|
|
<t-table :headerBackgroundColor="'#F0F2F6'">
|
|
|
<block v-if="!$util.isEmpty(list.data)">
|
|
|
@@ -25,7 +25,7 @@
|
|
|
</view>
|
|
|
</t-td>
|
|
|
<t-td>
|
|
|
- <input type="text" v-model="productItem.bigCount" class="inp-input" style="border:1upx solid #CCCCCC;font-size:29upx;color:black;" />
|
|
|
+ <input type="number" v-model="productItem.bigCount" class="inp-input" style="border:1upx solid #CCCCCC;font-size:29upx;color:black;" />
|
|
|
</t-td>
|
|
|
<t-td>
|
|
|
<button @click="tjItem(productItem)" class="admin-button-com blue middle">添加</button>
|
|
|
@@ -112,6 +112,7 @@ export default {
|
|
|
that.$util.confirmModal({content:'确认提交?'},() => {
|
|
|
addItem({data:JSON.stringify(that.selectList),id:id}).then(res=>{
|
|
|
if(res.code == 1){
|
|
|
+ that.removeFromSaveDirect()
|
|
|
uni.navigateBack()
|
|
|
}
|
|
|
})
|