Commit 0c91977d authored by houjn@hikoon.cn's avatar houjn@hikoon.cn

Merge remote-tracking branch 'origin/dev' into dev

parents 9789f30e 06665e66
...@@ -39,6 +39,11 @@ export default { ...@@ -39,6 +39,11 @@ export default {
determined: { determined: {
type: Boolean, type: Boolean,
default: false default: false
},
// 是否显示已有商品,不传默认
status: {
type: [String, Number],
default: null
} }
}, },
data(){ data(){
...@@ -90,7 +95,8 @@ export default { ...@@ -90,7 +95,8 @@ export default {
remoteMethod(keyword){ remoteMethod(keyword){
let params = { let params = {
pageSize: keyword ? 100000 : 10, pageSize: keyword ? 100000 : 10,
filter: !this.determined filter: !this.determined,
status:this.status
} }
if(this.productType){ if(this.productType){
params.typeId = this.productType params.typeId = this.productType
......
...@@ -348,6 +348,7 @@ ...@@ -348,6 +348,7 @@
class="mb-0 mr-0" class="mb-0 mr-0"
> >
<product-selector <product-selector
:status="0"
@hook:mounted="onTableMounted" @hook:mounted="onTableMounted"
v-model="productId2" v-model="productId2"
@change = "onProductChange($event)" @change = "onProductChange($event)"
...@@ -368,6 +369,7 @@ ...@@ -368,6 +369,7 @@
> >
<product-selector <product-selector
lang="En" lang="En"
:status="0"
v-model="productId1" v-model="productId1"
@change = "onProductChange($event)" @change = "onProductChange($event)"
/> />
......
...@@ -159,6 +159,13 @@ ...@@ -159,6 +159,13 @@
</el-form-item> </el-form-item>
<el-form-item prop="auditStatus" :label="$t('是否审核')">
<template slot-scope="scope">
<el-select v-model="form.auditStatus">
<el-option v-for="auditStatusItem in auditStatusDictDatas" :key="auditStatusItem.id" :label="$l(auditStatusItem, 'label')" :value="parseInt(auditStatusItem.value)" />
</el-select>
</template>
</el-form-item>
<el-form-item :label="$t('商品编码')" prop="productCode"> <el-form-item :label="$t('商品编码')" prop="productCode">
<el-input v-model="form.productCode" :placeholder="$t('请输入商品编码')" /> <el-input v-model="form.productCode" :placeholder="$t('请输入商品编码')" />
</el-form-item> </el-form-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment