|
|
@@ -79,9 +79,7 @@
|
|
|
¥ <text class="large">{{ allPrice+Number(form.sendCost) }}</text>
|
|
|
</text>
|
|
|
</view>
|
|
|
- <button class="admin-button-com blue middle" @click="formSubmit">
|
|
|
- 开单
|
|
|
- </button>
|
|
|
+ <button class="admin-button-com blue middle" @click="affirmFormSubmit">开单</button>
|
|
|
</view>
|
|
|
<!-- 选择客户 -->
|
|
|
<AppCustomerSel :show.sync="showCustomer" @change="changeCustomerFn" />
|
|
|
@@ -209,6 +207,18 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
+ affirmFormSubmit(){
|
|
|
+ let self = this;
|
|
|
+ uni.showModal({
|
|
|
+ title: '提示',
|
|
|
+ content: '确认开单?',
|
|
|
+ success: function (res) {
|
|
|
+ if (res.confirm) {
|
|
|
+ self.formSubmit();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
// 表单验证
|
|
|
async formSubmit(e) {
|
|
|
try {
|