shish 4 лет назад
Родитель
Сommit
c3e156643f

+ 2 - 2
hdApp/src/admin/goods/list.vue

@@ -6,8 +6,8 @@
 			</view>
 			<view style="float:right">
         <button class="admin-button-com middle blue" style="margin-right:6upx;" @click="selectFlowerNumFn()">支数</button>
-        <button class="admin-button-com middle blue" style="margin-right:6upx;" @click="addGoods()">新增花束</button>
-				<button class="admin-button-com middle blue" @click="cgPlant()">盆栽采购</button>
+        <button class="admin-button-com middle blue" style="margin-right:6upx;" @click="addGoods()">新增商品</button>
+				<button class="admin-button-com middle blue" @click="cgPlant()">采购商品</button>
 			</view>
 		</view>
     <view class="app-middle">

+ 1 - 1
hdApp/src/admin/goods/plantCgDetail.vue

@@ -19,7 +19,7 @@
         </view>
         <view class="order-info_box">
           <view>采购人员:</view>
-          <view>{{ detailInfo.adminName }}</view>
+          <view>{{ detailInfo.staffName }}</view>
         </view>
         <view class="order-info_box">
           <view>订单状态:</view>

+ 2 - 3
hdApp/src/admin/goods/plantCgItem.vue

@@ -12,12 +12,11 @@
         </view>
         <view class="info-row">
           <text class="info-label"> 采购:</text>
-          <text class="info-value">{{ info.shopAdminName }} </text>
+          <text class="info-value">{{ info.staffName }} </text>
         </view>
         <view class="info-row">
           <text class="info-label"> 数量:</text>
-          <text v-if="info.smallNum > 0" class="info-value">{{ info.bigNum }}/{{info.smallNum}}</text>
-          <text class="info-value">{{info.bigNum}}</text>
+          <text class="info-value">{{ info.num}}</text>
         </view>
         <view class="info-row">
           <text class="info-label"> 状态:</text>

+ 1 - 1
hdApp/src/admin/goods/plantConfirm.vue

@@ -91,7 +91,7 @@ export default {
     confirmToSubmit () {
       let that = this
       let goods = this.selectList.map((ele) => {
-        return { goodsId: ele.id, num: ele.bigCount,price: ele.userPrice,goodsSn:ele.sn,cover:ele.cover }
+        return {goodsId: ele.id, num: ele.bigCount,price: ele.userPrice,goodsSn:ele.sn,cover:ele.shortCover}
       })
       that.$util.confirmModal({content:'确认提交?'},() => {
           cgPlant({goods:JSON.stringify(goods),...that.form}).then((res) => {