|
|
@@ -48,16 +48,18 @@
|
|
|
</view>
|
|
|
<!-- 登录信息 -->
|
|
|
<view class="module-com input-line-wrap">
|
|
|
- <view class="tab-box flex-space">
|
|
|
- <view class="flex-center tab" :class="isBilling?'active':''" @tap="isBilling=true">开单</view>
|
|
|
- <view class="flex-center tab" :class="isBilling?'':'active'" @tap="isBilling=false">报损</view>
|
|
|
- </view>
|
|
|
- <view class="" v-if="isBilling">
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="true" @click="showCustomer = true">
|
|
|
+ <view class="tab-box flex-space">
|
|
|
+ <view class="flex-center tab" :class="isBilling?'active':''" @tap="isBilling=true">开单</view>
|
|
|
+ <view class="flex-center tab" :class="isBilling?'':'active'" @tap="isBilling=false">报损</view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="" v-if="isBilling">
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="true" @click="pageTo({ url: '/admin/custom/selectCustom',query: {style:2}})">
|
|
|
<view class="tui-title">客户</view>
|
|
|
<view class="tui-input" v-if="form.customId" >{{ form.customName }}</view>
|
|
|
<view class="tui-placeholder" style="width: 100%" v-else >请选择客户</view>
|
|
|
</tui-list-cell>
|
|
|
+
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
<view class="tui-title">送货</view>
|
|
|
<button @tap="courier(2)" class="admin-button-com mini-btn" :class="form.sendType == 2 ? 'blue' : 'default'">
|
|
|
@@ -136,8 +138,7 @@
|
|
|
开单
|
|
|
</button>
|
|
|
</view>
|
|
|
- <!-- 选择客户 -->
|
|
|
- <AppCustomerSel :show.sync="showCustomer" @change="changeCustomerFn"/>
|
|
|
+
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -146,7 +147,6 @@ import TuiListCell from "@/components/plugin/list-cell";
|
|
|
import AppAvatarModule from "@/components/module/app-avatar";
|
|
|
import SimpleAddress from "@/components/plugin/simple-address";
|
|
|
import AppAreaSel from "@/components/app-area-sel";
|
|
|
-import AppCustomerSel from "@/components/app-customer-sel";
|
|
|
import productMins from "@/mixins/product";
|
|
|
import appFormRadioBtn from "@/components/app-formRadio-btn";
|
|
|
import appAddressGroup from "@/components/app-address-group";
|
|
|
@@ -162,7 +162,6 @@ export default {
|
|
|
AppAvatarModule,
|
|
|
SimpleAddress,
|
|
|
AppAreaSel,
|
|
|
- AppCustomerSel,
|
|
|
appFormRadioBtn,
|
|
|
appAddressGroup,
|
|
|
appSendTime,
|