Browse Source

开走播单

shish 1 year ago
parent
commit
575db1e50a
1 changed files with 9 additions and 11 deletions
  1. 9 11
      ghs/src/views/order/add-live.vue

+ 9 - 11
ghs/src/views/order/add-live.vue

@@ -3,25 +3,23 @@
 
 		<div>
 			<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;">
-				<el-option v-for="item in itemList" :key="item.id" :label="`${item.name}( ${item.stock?parseFloat(item.stock):0} )`" :value="item.id"> </el-option>
+			:remote-method="searchItem" style="width:310px;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:130px;margin-left:10px;"></el-input>
+			<el-input v-model="price" placeholder="请填写价格" style="width:150px;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:280px;margin-left:30px;margin-top:15px;">
+			:remote-method="searchCustom" style="width:310px;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:30px;"></el-input>
-						<el-input v-model="mobile1" placeholder="手机号" size="big" style="width:150px;margin-left:5px;"></el-input>
-						<el-popconfirm title="确认添加?" @confirm="addCustom()" @onConfirm="addCustom()" style="margin-left:5px;">
-							<el-button size="big" type="primary" slot="reference">添加</el-button>
-						</el-popconfirm>
-
+			<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-popconfirm title="确认添加?" @confirm="addCustom()" @onConfirm="addCustom()" style="margin-left:5px;">
+				<el-button size="big" type="primary" slot="reference">添加</el-button>
+			</el-popconfirm>
 		</div>
 		<div style="margin-left:30px;margin-top:15px;" class="custom-data">
 			<el-table ref="showItemRef" :data="selectCustomList" highlight-current-row border show-summary>