|
@@ -66,7 +66,7 @@
|
|
|
<a-select v-model="queryParam.type">
|
|
|
<a-select-option value="">请选择</a-select-option>
|
|
|
<a-select-option value="成衣">成衣</a-select-option>
|
|
|
- <a-select-option value="面料">面料</a-select-option>
|
|
|
+ <a-select-option value="面辅料">面辅料</a-select-option>
|
|
|
</a-select>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
@@ -301,7 +301,8 @@ export default {
|
|
|
// 查询条件
|
|
|
queryParam: {
|
|
|
pageNo:'',
|
|
|
- pageSize:'50'
|
|
|
+ pageSize:'50',
|
|
|
+ type:'成衣'
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -339,7 +340,11 @@ export default {
|
|
|
searchQuery() {
|
|
|
this.toggleSearchStatus = false
|
|
|
this.queryParam.pageNo = ''
|
|
|
- this.getBookList()
|
|
|
+ if(this.queryParam.type==''||!this.queryParam.type){
|
|
|
+ this.$message.error('请选择类型');
|
|
|
+ }else{
|
|
|
+ this.getBookList()
|
|
|
+ }
|
|
|
// this.getpreBookList() // 渲染渲染预托书
|
|
|
},
|
|
|
// 重置
|
|
@@ -474,7 +479,7 @@ export default {
|
|
|
// 操作 编辑
|
|
|
edit(record,pattern) {
|
|
|
this.$nextTick(() => {
|
|
|
- bookListId({id:record.id}).then(res => {
|
|
|
+ bookListId({id:record.id,type:this.queryParam.type}).then(res => {
|
|
|
if (res.success) {
|
|
|
var data =res.result
|
|
|
if(pattern == '1'){
|