feat(regiest): rm useless form field

This commit is contained in:
ywk 2025-04-07 13:16:14 +08:00
parent 21cfa2b371
commit 57393066d7
1 changed files with 24 additions and 31 deletions

View File

@ -19,15 +19,6 @@
<view class="zhan"></view>
<view class="context">
<u-form :model="form" labelWidth="75" :rules="rules" ref="uForm">
<!-- <u-form-item :label="'发货方式'" borderBottom>
<view class="pickerHui">
<u-input v-model="form.deliveryName"
disabled
:placeholder="'请选择发货方式'"
border="none"></u-input>
<u-icon name="arrow-down"></u-icon>
</view>
</u-form-item> -->
<u-form-item :label="'申请级别'" borderBottom prop="pkGradeVal">
<u-input
v-model="form.pkGradeVal"
@ -36,7 +27,7 @@
disabled
/>
</u-form-item>
<u-form-item
<!-- <u-form-item
:label="'自然国家'"
@tap="changeCountry(0)"
borderBottom
@ -48,10 +39,10 @@
</view>
<u-icon name="arrow-right"></u-icon>
</view>
</u-form-item>
</u-form-item> -->
<!-- @tap="changeCountry(1)" -->
<u-form-item :label="'结算国家'" borderBottom>
<!-- <u-form-item :label="'结算国家'" borderBottom>
<view class="disFlex justBwn">
<view class="disFlex">
<img class="countImg" :src="form.pkSettleCountryImg" alt="" />
@ -59,7 +50,7 @@
</view>
<u-icon name="arrow-right"></u-icon>
</view>
</u-form-item>
</u-form-item> -->
<u-form-item :label="'推荐编号'" required borderBottom prop="parent">
<u-input
v-model="form.parent"
@ -229,7 +220,7 @@
<u-icon name="arrow-right"></u-icon>
</view>
</u-form-item>
<u-form-item
<!-- <u-form-item
:label="'仓库'"
v-if="pkCountry != 1"
borderBottom
@ -252,7 +243,7 @@
<u-input v-model="form.pkMemberStoreLabel" border="none" />
<u-icon name="arrow-right"></u-icon>
</view>
</u-form-item>
</u-form-item> -->
<view class="subTxt" v-if="isDeliveryWay">
<view class="subTxt1">{{ '收货人信息' }}</view>
<span
@ -1183,14 +1174,15 @@ export default {
};
});
this.transList = [data];
if (this.pkCountry == 1) {
this.form.transType = 1;
data.forEach((item) => {
if (item.id == 1) {
this.form.transTypeLabel = item.label;
}
});
}
this.form.transTypeLabel = data[0].label;
// if (this.pkCountry == 1) {
// this.form.transType = 1;
// data.forEach((item) => {
// if (item.id == 1) {
// this.form.transTypeLabel = item.label;
// }
// });
// }
});
},
getQueryCard() {
@ -1215,14 +1207,15 @@ export default {
};
});
this.deliList = [data];
if (this.pkCountry == 1) {
this.form.deliveryWay = 1;
data.forEach((item) => {
if (item.id == 1) {
this.form.deliveryWayLabel = item.label;
}
});
}
this.form.deliveryWayLabel = data[0].label;
// if (this.pkCountry == 1) {
// this.form.deliveryWay = 1;
// data.forEach((item) => {
// if (item.id == 1) {
// this.form.deliveryWayLabel = item.label;
// }
// });
// }
});
},
getStorehouseList() {