|
|
@ -61,7 +61,7 @@ |
|
|
|
<el-dialog |
|
|
|
:title="visitDetail ? '查看商品' : '选择商品'" |
|
|
|
:visible.sync="isVisible" |
|
|
|
width="55%" |
|
|
|
width="80%" |
|
|
|
top="50px" |
|
|
|
class="group-dialog" |
|
|
|
:close-on-click-modal="false" |
|
|
@ -70,6 +70,10 @@ |
|
|
|
> |
|
|
|
<!-- 表格 --> |
|
|
|
<div class="tableBox"> |
|
|
|
<div style="margin-bottom: 15px"> |
|
|
|
<el-input v-model="prodSearch" :placeholder="$t('product.productname_hint')" style="width: 360px"/> |
|
|
|
<el-button type="primary" style="margin-left: 8px" @click="searchProd">{{$t('common.query')}}</el-button> |
|
|
|
</div> |
|
|
|
<el-table |
|
|
|
ref="multipleTable" |
|
|
|
:data="tableData" |
|
|
@ -102,6 +106,7 @@ |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="stockNumber" label="库存" width="120" show-overflow-tooltip /> |
|
|
|
<el-table-column prop="shopName" label="所属店铺" show-overflow-tooltip /> |
|
|
|
<!-- <el-table-column width="80" :label="$t('common.operate')" show-overflow-tooltip>--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <div class="btnList">--> |
|
|
@ -189,7 +194,8 @@ export default { |
|
|
|
multipleSelection: [], |
|
|
|
roleList: [], |
|
|
|
isVisible: false, // 选择商品弹窗 |
|
|
|
inputGroupTableData: [] |
|
|
|
inputGroupTableData: [], |
|
|
|
prodSearch: undefined |
|
|
|
} |
|
|
|
}, |
|
|
|
watch: { |
|
|
@ -388,6 +394,12 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.dateInfo = [this.addForm.startTime, this.addForm.endTime] |
|
|
|
}, |
|
|
|
searchProd() { |
|
|
|
this.proOption.page = 1 |
|
|
|
this.proOption.pageSize = 10 |
|
|
|
this.proOption.searchContent = this.prodSearch |
|
|
|
this.getProList() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|