|
|
@@ -13,7 +13,11 @@
|
|
|
<u--input slot="value" placeholder="请选择" border="surround" v-model="form.contractName"
|
|
|
@click.native="selectContractShow"></u--input>
|
|
|
</u-cell>
|
|
|
- <u-cell title="销售类型" arrow-direction="down">
|
|
|
+ <u-cell arrow-direction="down">
|
|
|
+ <view slot="title">
|
|
|
+ <text class="required-mark">*</text>
|
|
|
+ <text>销售类型</text>
|
|
|
+ </view>
|
|
|
<uni-data-picker v-model="form.saleType" slot="value" placeholder="请选择" :localdata="order_type">
|
|
|
</uni-data-picker>
|
|
|
</u-cell>
|
|
|
@@ -26,9 +30,12 @@
|
|
|
v-model="form.contractNumber"></u--input>
|
|
|
</u-cell>
|
|
|
|
|
|
- <u-cell title="结算方式" arrow-direction="down">
|
|
|
- <uni-data-picker v-model="form.settlementMode" slot="value" placeholder="请选择"
|
|
|
- :localdata="settlement_mode" @change="settlementModeChange">
|
|
|
+ <u-cell arrow-direction="down">
|
|
|
+ <view slot="title">
|
|
|
+ <text class="required-mark">*</text>
|
|
|
+ <text>结算方式</text>
|
|
|
+ </view>
|
|
|
+ <uni-data-picker v-model="form.settlementMode" slot="value" placeholder="请选择" :localdata="settlement_mode" @change="settlementModeChange">
|
|
|
</uni-data-picker>
|
|
|
</u-cell>
|
|
|
<u-cell title="订单类型" arrow-direction="down">
|
|
|
@@ -78,22 +85,32 @@
|
|
|
|
|
|
<u-cell-group v-show='current==1&&form.needProduce!=2'>
|
|
|
|
|
|
- <u-cell title="客户名称" arrow-direction="down">
|
|
|
+ <u-cell arrow-direction="down">
|
|
|
+ <view slot="title">
|
|
|
+ <text class="required-mark">*</text>
|
|
|
+ <text>客户名称</text>
|
|
|
+ </view>
|
|
|
|
|
|
- <u--input slot="value" placeholder="请选择" border="surround" v-model="form.partaName"
|
|
|
- @click.native="selectContactShow"></u--input>
|
|
|
+ <u--input slot="value" placeholder="请选择" border="surround" v-model="form.partaName" @click.native="selectContactShow"></u--input>
|
|
|
|
|
|
</u-cell>
|
|
|
<u-cell title="客户统一社会信用代码" arrow-direction="down">
|
|
|
<u--input slot="value" placeholder="请输入" border="surround"
|
|
|
v-model="form.partaUnifiedSocialCreditCode"></u--input>
|
|
|
</u-cell>
|
|
|
- <u-cell title="客户联系人" arrow-direction="down">
|
|
|
- <uni-data-picker slot="value" v-model="form.partaLinkId" placeholder="请选择" :localdata="linkList"
|
|
|
- :map="{text:'linkName',value:'id'}" @change="linkChange">
|
|
|
+ <u-cell arrow-direction="down">
|
|
|
+ <view slot="title">
|
|
|
+ <text class="required-mark">*</text>
|
|
|
+ <text>客户联系人</text>
|
|
|
+ </view>
|
|
|
+ <uni-data-picker slot="value" v-model="form.partaLinkId" placeholder="请选择" :localdata="linkList" :map="{text:'linkName',value:'id'}" @change="linkChange">
|
|
|
</uni-data-picker>
|
|
|
</u-cell>
|
|
|
- <u-cell title="客户电话" arrow-direction="down">
|
|
|
+ <u-cell arrow-direction="down">
|
|
|
+ <view slot="title">
|
|
|
+ <text class="required-mark">*</text>
|
|
|
+ <text>客户电话</text>
|
|
|
+ </view>
|
|
|
<u--input slot="value" placeholder="请输入" border="surround" v-model="form.partaTel"></u--input>
|
|
|
</u-cell>
|
|
|
<u-cell title="客户传真" arrow-direction="down">
|
|
|
@@ -105,11 +122,13 @@
|
|
|
<u-cell title="客户客户地址" arrow-direction="down">
|
|
|
<u--input slot="value" placeholder="请输入" border="surround" v-model="form.partaAddress"></u--input>
|
|
|
</u-cell>
|
|
|
- <u-cell title="售出方名称" arrow-direction="down">
|
|
|
- <u--input slot="value" placeholder="请输入" v-if="enterprisePage.length <= 1" border="surround"
|
|
|
- v-model="form.partbName"></u--input>
|
|
|
- <uni-data-picker v-model="form.partbName" slot="value" placeholder="请选择" :localdata="enterprisePage"
|
|
|
- :map="{text:'name',value:'name'}" @change="sourceCodeOnchange">
|
|
|
+ <u-cell arrow-direction="down">
|
|
|
+ <view slot="title">
|
|
|
+ <text class="required-mark">*</text>
|
|
|
+ <text>售出方名称</text>
|
|
|
+ </view>
|
|
|
+ <u--input slot="value" placeholder="请输入" v-if="enterprisePage.length <= 1" border="surround" v-model="form.partbName"></u--input>
|
|
|
+ <uni-data-picker v-model="form.partbName" slot="value" placeholder="请选择" :localdata="enterprisePage" :map="{text:'name',value:'name'}" @change="sourceCodeOnchange">
|
|
|
</uni-data-picker>
|
|
|
</u-cell>
|
|
|
|
|
|
@@ -117,11 +136,18 @@
|
|
|
<u--input slot="value" placeholder="请输入" border="surround"
|
|
|
v-model="form.partbUnifiedSocialCreditCode"></u--input>
|
|
|
</u-cell>
|
|
|
- <u-cell title="售出方联系人" arrow-direction="down">
|
|
|
- <u--input slot="value" placeholder="请选择" border="surround" v-model="form.partbLinkName"
|
|
|
- @click.native="selectUserShow"></u--input>
|
|
|
+ <u-cell arrow-direction="down">
|
|
|
+ <view slot="title">
|
|
|
+ <text class="required-mark">*</text>
|
|
|
+ <text>售出方联系人</text>
|
|
|
+ </view>
|
|
|
+ <u--input slot="value" placeholder="请选择" border="surround" v-model="form.partbLinkName" @click.native="selectUserShow"></u--input>
|
|
|
</u-cell>
|
|
|
- <u-cell title="售出方联系电话" arrow-direction="down">
|
|
|
+ <u-cell arrow-direction="down">
|
|
|
+ <view slot="title">
|
|
|
+ <text class="required-mark">*</text>
|
|
|
+ <text>售出方联系电话</text>
|
|
|
+ </view>
|
|
|
<u--input slot="value" placeholder="请输入" border="surround" v-model="form.partbTel"></u--input>
|
|
|
</u-cell>
|
|
|
<u-cell title="售出方传真" arrow-direction="down">
|
|
|
@@ -765,6 +791,11 @@
|
|
|
padding-bottom: 84rpx;
|
|
|
}
|
|
|
|
|
|
+ .required-mark {
|
|
|
+ color: #FF3333;
|
|
|
+ margin-right: 4rpx;
|
|
|
+ }
|
|
|
+
|
|
|
.footerButton {
|
|
|
width: 100%;
|
|
|
height: 84rpx;
|
|
|
@@ -772,6 +803,7 @@
|
|
|
position: fixed;
|
|
|
bottom: 0;
|
|
|
z-index: 10;
|
|
|
+ background-color: #fff;
|
|
|
|
|
|
/deep/.u-button {
|
|
|
height: 100%;
|