|
@@ -23,7 +23,7 @@
|
|
|
<!-- 开单选花材输入数量和金额 -->
|
|
<!-- 开单选花材输入数量和金额 -->
|
|
|
<uni-popup ref="selectNumPriceRef" background-color="#fff" type="center" :animation="false">
|
|
<uni-popup ref="selectNumPriceRef" background-color="#fff" type="center" :animation="false">
|
|
|
<selectNum v-if="currentJobType=='make'" @confirmAddItemModel="confirmAddItemModel" :customData.sync="customData" @cancelKdSelectNumPrice="addItemModelHidden"></selectNum>
|
|
<selectNum v-if="currentJobType=='make'" @confirmAddItemModel="confirmAddItemModel" :customData.sync="customData" @cancelKdSelectNumPrice="addItemModelHidden"></selectNum>
|
|
|
- <selectNumPrice v-else @confirmAddItemModel="confirmAddItemModel" :customData.sync="customData" @cancelKdSelectNumPrice="addItemModelHidden"></selectNumPrice>
|
|
|
|
|
|
|
+ <selectNumPrice v-else @confirmAddItemModel="confirmAddItemModel" :customData.sync="customData" @addToClear="addToClear" @cancelKdSelectNumPrice="addItemModelHidden"></selectNumPrice>
|
|
|
</uni-popup>
|
|
</uni-popup>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -86,6 +86,9 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods:{
|
|
methods:{
|
|
|
|
|
+ addToClear(){
|
|
|
|
|
+ this.$msg('请扫码打开')
|
|
|
|
|
+ },
|
|
|
popAddModelFn(info) {
|
|
popAddModelFn(info) {
|
|
|
this.$util.hitVoice()
|
|
this.$util.hitVoice()
|
|
|
this.showAddModelFn({ ...info, currentNum: 1, unitPrice: info.price,unitType:0})
|
|
this.showAddModelFn({ ...info, currentNum: 1, unitPrice: info.price,unitType:0})
|