|
@@ -165,16 +165,16 @@
|
|
|
></el-date-picker>
|
|
|
</el-form-item> -->
|
|
|
|
|
|
- <!-- <el-form-item label="取衣方式" prop="sendClothWay">-->
|
|
|
- <!-- <el-select v-model="orderForm.sendClothWay" placeholder="请选择" clearable>-->
|
|
|
- <!-- <el-option-->
|
|
|
- <!-- v-for="dict in dict.type.cloth_send_type"-->
|
|
|
- <!-- :key="dict.value"-->
|
|
|
- <!-- :label="dict.label"-->
|
|
|
- <!-- :value="dict.value"-->
|
|
|
- <!-- />-->
|
|
|
- <!-- </el-select>-->
|
|
|
- <!-- </el-form-item>-->
|
|
|
+ <el-form-item label="取衣方式" prop="sendClothWay">
|
|
|
+ <el-select v-model="orderForm.sendClothWay" placeholder="请选择" clearable>
|
|
|
+ <el-option
|
|
|
+ v-for="dict in dict.type.cloth_send_type"
|
|
|
+ :key="dict.value"
|
|
|
+ :label="dict.label"
|
|
|
+ :value="dict.value"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
|
|
|
<el-form-item label="备注" prop="remark">
|
|
|
<el-input v-model="orderForm.remark" placeholder="请输入订单备注" clearable />
|
|
@@ -206,7 +206,7 @@
|
|
|
<div style="height: 20px"></div>
|
|
|
</el-col>
|
|
|
<el-col :span="24" v-if="addClothActiveTab == 0">
|
|
|
- <div style="margin-left: 55px">
|
|
|
+ <div style="margin-left: 55px">
|
|
|
<el-input v-model="defaultList.type" placeholder="请输入要搜索的衣服分类" style="width: 300px;" clearable>
|
|
|
<el-button slot="append" icon="el-icon-search" @click="searchCloth('type', 'clothTypes')"></el-button>
|
|
|
</el-input>
|
|
@@ -218,7 +218,7 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="24" v-if="addClothActiveTab == 1">
|
|
|
- <div style="margin-left: 55px; margin-bottom: 10px">
|
|
|
+ <div style="margin-left: 55px; margin-bottom: 10px">
|
|
|
<el-input v-model="defaultList.item" placeholder="请输入要搜索的衣服类型" style="width: 300px;" clearable>
|
|
|
<el-button slot="append" icon="el-icon-search" @click="searchCloth('item', 'clothItems')"></el-button>
|
|
|
</el-input>
|
|
@@ -237,7 +237,7 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="24" v-if="addClothActiveTab == 2">
|
|
|
- <div style="margin-left: 55px; margin-bottom: 10px">
|
|
|
+ <div style="margin-left: 55px; margin-bottom: 10px">
|
|
|
<el-input v-model="defaultList.color" placeholder="请输入要搜索的衣服颜色" style="width: 300px;" clearable>
|
|
|
<el-button slot="append" icon="el-icon-search" @click="searchCloth('color', 'clothColors')"></el-button>
|
|
|
</el-input>
|
|
@@ -257,7 +257,7 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="24" v-if="addClothActiveTab == 3">
|
|
|
- <div style="margin-left: 55px;">
|
|
|
+ <div style="margin-left: 55px;">
|
|
|
<el-input v-model="defaultList.brand" placeholder="请输入要搜索的衣服品牌" style="width: 300px;" clearable>
|
|
|
<el-button slot="append" icon="el-icon-search" @click="searchCloth('brand', 'clothBrands')"></el-button>
|
|
|
</el-input>
|
|
@@ -271,7 +271,7 @@
|
|
|
<el-col :span="24" v-if="addClothActiveTab == 4">
|
|
|
<el-tabs type="border-card" @tab-click="changeClothTab">
|
|
|
<el-tab-pane label="全部">
|
|
|
- <div style="margin-left: 15px;">
|
|
|
+ <div style="margin-left: 15px;">
|
|
|
<el-input v-model="defaultList.flaw" placeholder="请输入要搜索的衣服瑕疵" style="width: 300px;" clearable>
|
|
|
<el-button slot="append" icon="el-icon-search" @click="searchCloth('flaw', 'clothFlaws')"></el-button>
|
|
|
</el-input>
|
|
@@ -281,7 +281,7 @@
|
|
|
</el-tag>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane :label="clothFlawType.name" v-for="clothFlawType in clothFlawTypes">
|
|
|
- <div style="margin-left: 15px;">
|
|
|
+ <div style="margin-left: 15px;">
|
|
|
<el-input v-model="defaultList.flaw" placeholder="请输入要搜索的衣服瑕疵" style="width: 300px;" clearable>
|
|
|
<el-button slot="append" icon="el-icon-search" @click="searchCloth('flaw', 'clothFlaws')"></el-button>
|
|
|
</el-input>
|
|
@@ -298,7 +298,7 @@
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="8">
|
|
|
<div>选择附件</div>
|
|
|
- <div style="margin-left: 15px; margin-top: 10px;">
|
|
|
+ <div style="margin-left: 15px; margin-top: 10px;">
|
|
|
<el-input v-model="defaultList.adjunct" placeholder="请输入要搜索的衣服附件" style="width: 300px;" clearable>
|
|
|
<el-button slot="append" icon="el-icon-search" @click="searchCloth('adjunct', 'clothAdjuncts')"></el-button>
|
|
|
</el-input>
|
|
@@ -334,7 +334,7 @@
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="8">
|
|
|
<div>选择附件</div>
|
|
|
- <div style="margin-left: 55px">
|
|
|
+ <div style="margin-left: 55px">
|
|
|
<el-input v-model="defaultList.adjunct" placeholder="请输入要搜索的衣服附件" style="width: 300px;" clearable>
|
|
|
<el-button slot="append" icon="el-icon-search" @click="searchCloth('adjunct', 'clothAdjuncts')"></el-button>
|
|
|
</el-input>
|
|
@@ -1049,7 +1049,7 @@ export default {
|
|
|
this.addClothAdjuncts = []
|
|
|
this.$forceUpdate()
|
|
|
})
|
|
|
- }
|
|
|
+ }
|
|
|
} else if (this.addClothActiveTab == 5) {
|
|
|
this.orderClothItemDTOS.push(this.form)
|
|
|
this.addClothAdjunctSubmit()
|
|
@@ -1379,6 +1379,10 @@ export default {
|
|
|
|
|
|
return
|
|
|
}
|
|
|
+ if (!this.orderForm.sendClothWay) {
|
|
|
+ this.$message.error('请先选取衣方式')
|
|
|
+ return
|
|
|
+ }
|
|
|
|
|
|
if (this.orderForm.isAppointment == 'Y') {
|
|
|
var res = await getInfoByOrderNo({ orderNo: this.orderForm.orderNo, appUserId: this.appUserInfo.id })
|
|
@@ -1386,7 +1390,7 @@ export default {
|
|
|
this.$message.error('未查询到预约订单')
|
|
|
return
|
|
|
}
|
|
|
- this.orderForm.sendClothWay = res.data.sendClothWay
|
|
|
+ // this.orderForm.sendClothWay = res.data.sendClothWay
|
|
|
}
|
|
|
|
|
|
//
|