|
@@ -4,7 +4,7 @@
|
|
|
<div>
|
|
<div>
|
|
|
<el-select @change="getCurrentItem" v-model="currentItemName" filterable remote reserve-keyword placeholder="搜索花材" clearable ref="itemSearchRef"
|
|
<el-select @change="getCurrentItem" v-model="currentItemName" filterable remote reserve-keyword placeholder="搜索花材" clearable ref="itemSearchRef"
|
|
|
:remote-method="searchItem" style="width:280px;margin-left:30px;margin-top:15px;">
|
|
:remote-method="searchItem" style="width:280px;margin-left:30px;margin-top:15px;">
|
|
|
- <el-option v-for="item in itemList" :key="item.id" :label="`${item.name}(${item.id})`" :value="item"> </el-option>
|
|
|
|
|
|
|
+ <el-option v-for="item in itemList" :key="item.id" :label="`${item.name}( ${item.stock?parseFloat(item.stock):0} )`" :value="item"> </el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
<el-input v-model="price" placeholder="请输入价格" style="width:130px;margin-left:10px;"></el-input>
|
|
<el-input v-model="price" placeholder="请输入价格" style="width:130px;margin-left:10px;"></el-input>
|
|
|
</div>
|
|
</div>
|
|
@@ -12,7 +12,7 @@
|
|
|
<div>
|
|
<div>
|
|
|
<el-select @change="getCurrentCustom" v-model="currentCustomName" filterable remote reserve-keyword placeholder="搜索客户" clearable ref="customSearchRef"
|
|
<el-select @change="getCurrentCustom" v-model="currentCustomName" filterable remote reserve-keyword placeholder="搜索客户" clearable ref="customSearchRef"
|
|
|
:remote-method="searchCustom" style="width:280px;margin-left:30px;margin-top:15px;">
|
|
:remote-method="searchCustom" style="width:280px;margin-left:30px;margin-top:15px;">
|
|
|
- <el-option v-for="item in customList" :key="item.id" :label="`${item.name}(${item.id})`" :value="item"> </el-option>
|
|
|
|
|
|
|
+ <el-option v-for="item in customList" :key="item.id" :label="`${item.name}(${item.seatSn})`" :value="item"> </el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
|
|
|
|
|
<el-input v-model="name1" placeholder="客户名称" size="big" style="width:150px;margin-left:30px;"></el-input>
|
|
<el-input v-model="name1" placeholder="客户名称" size="big" style="width:150px;margin-left:30px;"></el-input>
|