|
|
@@ -3,20 +3,20 @@
|
|
|
|
|
|
<div>
|
|
|
<el-select @change="getCurrentItem" v-model="currentItemName" filterable remote reserve-keyword placeholder="搜索花材" clearable ref="itemSearchRef"
|
|
|
- :remote-method="searchItem" style="width:310px;margin-left:30px;margin-top:15px;">
|
|
|
+ :remote-method="searchItem" style="width:300px;margin-left:30px;margin-top:15px;">
|
|
|
<el-option v-for="item in itemList" :key="item.id" :label="`${item.name} | ${item.stock?parseFloat(item.stock):0}扎`" :value="item.id"> </el-option>
|
|
|
</el-select>
|
|
|
- <el-input v-model="price" placeholder="请填写价格" style="width:150px;margin-left:15px;"></el-input>
|
|
|
+ <el-input v-model="price" placeholder="请填写价格" style="width:140px;margin-left:15px;"></el-input>
|
|
|
<el-input v-model="remark" placeholder="请填写备注" style="width:300px;margin-left:10px;"></el-input>
|
|
|
</div>
|
|
|
|
|
|
<div>
|
|
|
<el-select @change="getCurrentCustom" v-model="currentCustomName" filterable remote reserve-keyword placeholder="搜索客户" clearable ref="customSearchRef"
|
|
|
- :remote-method="searchCustom" style="width:310px;margin-left:30px;margin-top:15px;">
|
|
|
+ :remote-method="searchCustom" style="width:300px;margin-left:30px;margin-top:15px;">
|
|
|
<el-option v-for="item in customList" :key="item.id" :label="`${item.name}(${item.seatSn})`" :value="item"> </el-option>
|
|
|
</el-select>
|
|
|
- <el-input v-model="name1" placeholder="客户名称" size="big" style="width:150px;margin-left:15px;"></el-input>
|
|
|
- <el-input v-model="mobile1" placeholder="手机号" size="big" style="width:150px;margin-left:10px;"></el-input>
|
|
|
+ <el-input v-model="name1" placeholder="客户名称" size="big" style="width:140px;margin-left:15px;"></el-input>
|
|
|
+ <el-input v-model="mobile1" placeholder="手机号" size="big" style="width:140px;margin-left:10px;"></el-input>
|
|
|
<el-popconfirm title="确认添加?" @confirm="addCustom()" @onConfirm="addCustom()" style="margin-left:10px;">
|
|
|
<el-button size="big" type="primary" slot="reference">添加</el-button>
|
|
|
</el-popconfirm>
|