chenrui 4 years ago
parent
commit
b725ea0d88

+ 83 - 1
src/config/router.config.js

@@ -162,6 +162,42 @@ export const asyncRouterMap = [{
             }
           }
         ]
+      },
+      {
+        path: '/salesManagement/urgentItemsOffset',
+        redirect: '/salesManagement/urgentItemsOffset/list',
+        name: 'urgentItemsOffset',
+        component: RouteView,
+        meta: {
+          title: '急件冲减',
+          icon: 'shopping'
+          // permission: 'M_goodsManage_list'
+        },
+        hideChildrenInMenu: true,
+        children: [
+          {
+            path: '/salesManagement/urgentItemsOffset/list',
+            name: 'urgentItemsOffsetList',
+            component: () => import(/* webpackChunkName: "shop" */ '@/views/salesManagement/urgentItemsOffset/list.vue'),
+            meta: {
+              title: '急件冲减列表',
+              icon: 'shopping',
+              hidden: true
+              // permission: 'M_goodsManage_list'
+            }
+          },
+          {
+            path: '/salesManagement/urgentItemsOffset/detail/:id',
+            name: 'urgentItemsOffsetDetail',
+            component: () => import(/* webpackChunkName: "shop" */ '@/views/salesManagement/urgentItemsOffset/detail.vue'),
+            meta: {
+              title: '急件冲减详情',
+              icon: 'shopping',
+              hidden: true
+              // permission: 'B_goodsManage_edit'
+            }
+          }
+        ]
       }
     ]
   },
@@ -221,7 +257,53 @@ export const asyncRouterMap = [{
           icon: 'flag'
           // permission: 'M_goodsShelves_0'
         }
-      }
+      },
+      {
+        path: '/inventoryManagement/satelliteWarehouseInventory',
+        name: 'satelliteWarehouseInventoryList',
+        component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/satelliteWarehouseInventory/list.vue'),
+        meta: {
+          title: '卫星仓库存',
+          icon: 'flag'
+          // permission: 'M_goodsShelves_0'
+        }
+      },
+      {
+        path: '/inventoryManagement/warehouse',
+        redirect: '/inventoryManagement/warehouse/list',
+        name: 'warehouse',
+        component: RouteView,
+        meta: {
+          title: '仓库管理',
+          icon: 'shopping'
+          // permission: 'M_goodsManage_list'
+        },
+        hideChildrenInMenu: true,
+        children: [
+          {
+            path: '/inventoryManagement/warehouse/list',
+            name: 'warehouseList',
+            component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/warehouse/list.vue'),
+            meta: {
+              title: '仓库列表',
+              icon: 'shopping',
+              hidden: true
+              // permission: 'M_goodsManage_list'
+            }
+          },
+          {
+            path: '/inventoryManagement/storingLocation/:id',
+            name: 'storingLocationList',
+            component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/warehouse/storingLocation/list.vue'),
+            meta: {
+              title: '仓位列表',
+              icon: 'shopping',
+              hidden: true
+              // permission: 'B_goodsManage_edit'
+            }
+          }
+        ]
+      },
     ]
   },
   // 采购管理

+ 166 - 0
src/views/inventoryManagement/satelliteWarehouseInventory/addModal.vue

@@ -0,0 +1,166 @@
+<template>
+  <a-modal
+    centered
+    class="satelliteWarehouseInventory-modal"
+    :footer="null"
+    :maskClosable="false"
+    title="补货清单"
+    v-model="isShow"
+    @cancle="isShow=false"
+    width="80%">
+    <!-- 补货清单 -->
+    <div>
+      <h2>车领主常青二路店</h2>
+      <s-table
+        class="sTable"
+        ref="table"
+        size="default"
+        :rowKey="(record) => record.id"
+        :columns="columns"
+        :data="loadData"
+        bordered>
+        <!-- 补货数量 -->
+        <template slot="inventoryNumss" slot-scope="text, record">
+          <a-button type="primary" @click="handleNumSubtract" shape="circle" icon="minus" size="small" id="satelliteWarehouseInventoryList-num-add-btn"></a-button>
+          <a-input-number v-model="val" :min="0" :max="999999" :precision="0" :step="1" @change="onChange" style="margin: 0 10px;" />
+          <a-button type="primary" @click="handleNumAdd" shape="circle" icon="plus" size="small" id="satelliteWarehouseInventoryList-num-subtract-btn"></a-button>
+        </template>
+        <!-- 操作 -->
+        <template slot="action" slot-scope="text, record">
+          <a-button type="danger" @click="handleRemove(record)" id="satelliteWarehouseInventoryList-remove-btn">移除</a-button>
+        </template>
+      </s-table>
+      <div class="btn-cont">
+        <a-button type="primary" id="satellite-warehouse-inventory-add-modal-add" @click="handleAdd">创建销售单</a-button>
+        <a-button id="satellite-warehouse-inventory-add-modal-back" @click="isShow = false" style="margin-left: 15px;">返回列表</a-button>
+      </div>
+    </div>
+  </a-modal>
+</template>
+
+<script>
+import { STable } from '@/components'
+export default {
+  name: 'SatelliteWarehouseInventoryAddModal',
+  components: { STable },
+  props: {
+    openModal: { //  弹框显示状态
+      type: Boolean,
+      default: false
+    }
+  },
+  data () {
+    return {
+      isShow: this.openModal, //  是否打开弹框
+      columns: [
+        { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
+        { title: '客户名称', dataIndex: 'productName', width: 200, align: 'center', ellipsis: true },
+        { title: '仓库名称', dataIndex: 'productBrand', width: 200, align: 'center', ellipsis: true },
+        { title: '配件名称', dataIndex: 'productOldNum', width: 160, align: 'center', ellipsis: true },
+        { title: '产品编码', dataIndex: 'productType', width: 200, align: 'center' },
+        { title: '产品原厂编码', dataIndex: 'productTyspe', width: 200, align: 'center' },
+        { title: '补货数量', scopedSlots: { customRender: 'inventoryNumss' }, width: 280, align: 'center' },
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
+      ],
+      // 加载数据方法 必须为 Promise 对象
+      loadData: parameter => {
+        this.disabled = true
+        // return customerBundleDelayList( Object.assign(parameter, this.queryParam) ).then(res => {
+        //   const data = res.data
+        //   const no = (data.pageNo - 1) * data.pageSize
+        //   for (var i = 0; i < data.list.length; i++) {
+        //     data.list[i].no = no + i + 1
+        //   }
+        //   this.disabled = false
+        //   return data
+        // })
+        const _this = this
+        return new Promise(function(resolve, reject){
+          const data = {
+            pageNo: 1,
+            pageSize: 10,
+            list: [
+              { id: '1', productNum: 'jgqp11111111111', productName: '产品1', productOldNum: 'jgqp111123545', productBrand: '箭冠品牌', productType: '产品分类1', inventoryNum: '5', inventoryMoney: '122' }
+            ]
+          }
+          const no = (data.pageNo - 1) * data.pageSize
+          for (var i = 0; i < data.list.length; i++) {
+            data.list[i].no = no + i + 1
+          }
+          _this.disabled = false
+          resolve(data)
+        })
+      },
+      val: 1
+    }
+  },
+  methods: {
+    //  获取详情
+    getDetail(){
+      
+    },
+    //  创建销售单
+    handleAdd(){},
+    //  补货数量  加
+    handleNumAdd(){
+      this.val < 999999 ? this.val++ : this.val
+    },
+    //  补货数量  减
+    handleNumSubtract(row){
+      this.val > 1 ? this.val-- : this.delPjInfo(row)
+    },
+    //  删除配件信息
+    delPjInfo(row){
+      console.log('删除')
+    },
+    //  补货数量  change
+    onChange(val){
+      console.log(val)
+    }
+  },
+  watch: {
+    //  父页面传过来的弹框状态
+    openModal (newValue, oldValue) {
+      this.isShow = newValue
+    },
+    //  重定义的弹框状态
+    isShow (newValue, oldValue) {
+      if (!newValue) {
+        this.$emit('close')
+      }
+    }
+  }
+}
+</script>
+
+<style lang="less">
+  .satelliteWarehouseInventory-modal{
+    .sTable{
+      margin-top: 20px;
+      table{
+        width: auto;
+      }
+    }
+    .ant-modal-body {
+    	padding: 40px 40px 24px;
+    }
+    .item-cont {
+    	margin-bottom: 15px;
+    	display: flex;
+    	.item-label {
+    		width: 115px;
+    		font-size: 14px;
+    		color: rgba(0, 0, 0, 0.85);
+    		flex-shrink: 0;
+    	}
+    	.item-main {
+    		flex-grow: 1;
+        word-break: break-all;
+    	}
+    }
+    .btn-cont {
+    	text-align: center;
+    	margin: 35px 0 10px;
+    }
+  }
+</style>

+ 158 - 0
src/views/inventoryManagement/satelliteWarehouseInventory/list.vue

@@ -0,0 +1,158 @@
+<template>
+  <a-card :bordered="false" class="satelliteWarehouseInventoryList-wrap">
+    <!-- 搜索条件 -->
+    <div class="table-page-search-wrapper">
+      <a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
+        <a-row :gutter="15">
+          <a-col :md="6" :sm="24">
+            <a-form-item label="客户名称">
+            	<a-select placeholder="请选择" allowClear v-model="queryParam.dataSourceNo" :showSearch="true" option-filter-prop="children" :filter-option="filterOption">
+            		<a-select-option v-for="item in brandData" :key="item.salesChannelNo" :value="item.salesChannelNo">{{ item.salesChannelName }}</a-select-option>
+            	</a-select>
+            </a-form-item>
+          </a-col>
+          <a-col :md="6" :sm="24">
+            <a-form-item label="配件名称">
+              <a-input id="satelliteWarehouseInventoryList-bundleName" v-model.trim="queryParam.bundleName" allowClear placeholder="请输入配件名称"/>
+            </a-form-item>
+          </a-col>
+          <a-col :md="6" :sm="24">
+            <a-form-item label="配件编码">
+              <a-input id="satelliteWarehouseInventoryList-bundleName" v-model.trim="queryParam.bundleName" allowClear placeholder="请输入产品编码或产品原厂编码"/>
+            </a-form-item>
+          </a-col>
+          <a-col :md="6" :sm="24">
+            <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="satelliteWarehouseInventoryList-refresh">查询</a-button>
+            <a-button style="margin-left: 8px" @click="resetSearchForm" :disabled="disabled" id="satelliteWarehouseInventoryList-reset">重置</a-button>
+          </a-col>
+        </a-row>
+      </a-form>
+    </div>
+    <!-- 操作按钮 -->
+    <div class="table-operator">
+      <a-button id="satelliteWarehouseInventoryList-replenishment" type="primary" @click="handleReplenishment">补货清单</a-button>
+    </div>
+    <!-- 列表 -->
+    <s-table
+      class="sTable"
+      ref="table"
+      size="default"
+      :rowKey="(record) => record.id"
+      :columns="columns"
+      :data="loadData"
+      bordered>
+      <!-- 操作 -->
+      <template slot="action" slot-scope="text, record">
+        <a-button type="primary" @click="handleAdd(record)" id="satelliteWarehouseInventoryList-add-btn">加入补货单</a-button>
+      </template>
+    </s-table>
+    <!-- 客户详情 -->
+    <satellite-warehouse-inventory-add-modal :openModal="openModal" @close="closeModal" />
+  </a-card>
+</template>
+
+<script>
+import moment from 'moment'
+// import { customerBundleDelayList, customerBundleExportDelay } from '@/api/FinancialManagement'
+import { STable, VSelect } from '@/components'
+import satelliteWarehouseInventoryAddModal from './addModal.vue'
+export default {
+  components: { STable, VSelect, satelliteWarehouseInventoryAddModal },
+  data () {
+    return {
+      labelCol: { span: 10 },
+      wrapperCol: { span: 14 },
+      queryParam: { //  查询条件
+        orderBundleNo: '', //  订单编号
+        bundleName: '', //  套餐名称
+        itemName: '', //  服务名称
+        brand: undefined,  //  产品品牌
+      },
+      exportLoading: false, // 导出loading
+      disabled: false, //  查询、重置按钮是否可操作
+      brandData: [],  //  产品品牌下拉数据
+      typeData: [],  //  产品类别下拉数据
+      dateFormat: 'YYYY-MM-DD',
+      creatTime: [],  //  创建时间
+      columns: [
+        { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
+        { title: '客户名称', dataIndex: 'productName', width: 200, align: 'center', ellipsis: true },
+        { title: '配件名称', dataIndex: 'productBrand', width: 200, align: 'center', ellipsis: true },
+        { title: '产品编码', dataIndex: 'productOldNum', width: 160, align: 'center' },
+        { title: '原厂编码', dataIndex: 'productType', width: 200, align: 'center' },
+        { title: '当前库存', dataIndex: 'inventoryNumss', width: 180, align: 'center' },
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
+      ],
+      // 加载数据方法 必须为 Promise 对象
+      loadData: parameter => {
+        this.disabled = true
+        // return customerBundleDelayList( Object.assign(parameter, this.queryParam) ).then(res => {
+        //   const data = res.data
+        //   const no = (data.pageNo - 1) * data.pageSize
+        //   for (var i = 0; i < data.list.length; i++) {
+        //     data.list[i].no = no + i + 1
+        //   }
+        //   this.disabled = false
+        //   return data
+        // })
+        const _this = this
+        return new Promise(function(resolve, reject){
+          const data = {
+            pageNo: 1,
+            pageSize: 10,
+            list: [
+              { id: '1', productNum: 'jgqp11111111111', productName: '产品1', productOldNum: 'jgqp111123545', productBrand: '箭冠品牌', productType: '产品分类1', inventoryNum: '5', inventoryMoney: '122' }
+            ]
+          }
+          const no = (data.pageNo - 1) * data.pageSize
+          for (var i = 0; i < data.list.length; i++) {
+            data.list[i].no = no + i + 1
+          }
+          _this.disabled = false
+          resolve(data)
+        })
+      },
+      openModal: false,  //  查看客户详情  弹框
+    }
+  },
+  methods: {
+    // 不可选日期
+    disabledDate (date, dateStrings) {
+      return date && date.valueOf() > Date.now()
+    },
+    //  重置
+    resetSearchForm () {
+      this.queryParam.orderBundleNo = ''
+      this.queryParam.orderBundle.custMobile = ''
+      this.queryParam.bundleName = ''
+      this.queryParam.itemName = ''
+      this.oldTime = undefined
+      this.newTime = undefined
+      this.$refs.table.refresh(true)
+    },
+    //  补货清单
+    handleReplenishment(){
+      this.openModal = true
+    },
+    //  加入货补单
+    handleAdd(row){
+      
+    },
+    //  关闭弹框
+    closeModal(){
+      this.openModal = false
+    },
+    filterOption(input, option) {
+    	return (
+    		option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
+    	)
+    },
+  }
+}
+</script>
+
+<style lang="less">
+  .satelliteWarehouseInventoryList-wrap{
+    
+  }
+</style>

+ 119 - 0
src/views/inventoryManagement/warehouse/editModal.vue

@@ -0,0 +1,119 @@
+<template>
+  <a-modal
+    centered
+    class="warehouseEdit-modal"
+    :footer="null"
+    :maskClosable="false"
+    :title="modalTit"
+    v-model="isShow"
+    @cancle="isShow=false"
+    :width="800">
+    <!-- 表单 -->
+    <div>
+      <a-form-model
+        id="warehouseEdit-form"
+        ref="ruleForm"
+        :model="form"
+        :rules="rules"
+        :label-col="formItemLayout.labelCol"
+        :wrapper-col="formItemLayout.wrapperCol"
+      >
+        <a-form-model-item label="仓库名称" prop="name">
+          <a-input
+            id="warehouseEdit-name"
+            :maxLength="30"
+            v-model="form.name"
+            placeholder="请输入仓库名称(最多30个字符)"
+            allowClear />
+        </a-form-model-item>
+        <a-form-model-item label="排序" prop="sort">
+          <a-input-number v-model="form.sort" :min="0" :max="999999" :precision="0" :step="1" placeholder="请输入排序(0~999999)" style="width: 100%;" />
+        </a-form-model-item>
+      </a-form-model>
+      <div class="btn-cont">
+        <a-button type="primary" id="warehouse-edit-modal-save" @click="handleSave">保存</a-button>
+        <a-button id="warehouse-edit-modal-back" @click="isShow = false" style="margin-left: 15px;">返回列表</a-button>
+      </div>
+    </div>
+  </a-modal>
+</template>
+
+<script>
+import { STable } from '@/components'
+export default {
+  name: 'warehouseEditModal',
+  components: { STable },
+  props: {
+    openModal: { //  弹框显示状态
+      type: Boolean,
+      default: false
+    },
+    itemId: {
+      type: [Number, String],
+      default: ''
+    }
+  },
+  computed: {
+    modalTit () {
+      return (this.itemId ? '编辑' : '新增') + '仓库'
+    }
+  },
+  data () {
+    return {
+      isShow: this.openModal, //  是否打开弹框
+      formItemLayout: {
+        labelCol: { span: 6 },
+        wrapperCol: { span: 16 }
+      },
+      form: {
+        name: '', // 仓库名称
+        sort: '',  //  排序
+      },
+      rules: {
+        name: [
+          { required: true, message: '请输入仓库名称', trigger: 'blur' }
+        ],
+      }
+    }
+  },
+  methods: {
+    //  获取详情
+    getDetail(){
+      
+    },
+    //  保存
+    handleSave(){
+      
+    },
+  },
+  watch: {
+    //  父页面传过来的弹框状态
+    openModal (newValue, oldValue) {
+      this.isShow = newValue
+    },
+    //  重定义的弹框状态
+    isShow (newValue, oldValue) {
+      if (!newValue) {
+        this.$emit('close')
+      }
+    },
+    itemId (newValue, oldValue) {
+      if (this.isShow && newValue) {
+        this.getDetail()
+      }
+    }
+  }
+}
+</script>
+
+<style lang="less">
+  .warehouseEdit-modal{
+    .ant-modal-body {
+    	padding: 40px 40px 24px;
+    }
+    .btn-cont {
+    	text-align: center;
+    	margin: 35px 0 10px;
+    }
+  }
+</style>

+ 162 - 0
src/views/inventoryManagement/warehouse/list.vue

@@ -0,0 +1,162 @@
+<template>
+  <a-card :bordered="false" class="warehouseList-wrap">
+    <!-- 搜索条件 -->
+    <div class="table-page-search-wrapper">
+      <a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
+        <a-row :gutter="15">
+          <a-col :md="6" :sm="24">
+            <a-form-item label="仓库名称">
+              <a-input id="warehouseList-bundleName" v-model.trim="queryParam.bundleName" allowClear placeholder="请输入仓库名称"/>
+            </a-form-item>
+          </a-col>
+          <a-col :md="6" :sm="24">
+            <a-form-item label="状态">
+              <v-select code="CHECK_ENABLE_STATE" id="warehouseList-state" v-model="queryParam.state" allowClear placeholder="请选择状态"></v-select>
+            </a-form-item>
+          </a-col>
+          <a-col :md="6" :sm="24">
+            <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="warehouseList-refresh">查询</a-button>
+            <a-button style="margin-left: 8px" @click="resetSearchForm" :disabled="disabled" id="warehouseList-reset">重置</a-button>
+          </a-col>
+        </a-row>
+      </a-form>
+    </div>
+    <!-- 操作按钮 -->
+    <div class="table-operator">
+      <a-button id="warehouseList-add" type="primary" @click="handleEdit" style="margin-top: 18px;">新增仓库</a-button>
+    </div>
+    <!-- 列表 -->
+    <s-table
+      class="sTable"
+      ref="table"
+      size="default"
+      :rowKey="(record) => record.id"
+      :columns="columns"
+      :data="loadData"
+      bordered>
+      <!-- 状态 -->
+      <template slot="storingLocation" slot-scope="text, record">
+        <a-button type="link" @click="goStoringLocation(record)" id="warehouseList-storingLocation-btn">仓位</a-button>
+      </template>
+      <!-- 操作 -->
+      <template slot="action" slot-scope="text, record">
+        <a-button type="primary" @click="handleEdit(record)" id="warehouseList-edit-btn">编辑</a-button>
+        <a-button type="danger" @click="handleDel(record)" id="warehouseList-del-btn" style="margin-left: 15px;">删除</a-button>
+      </template>
+    </s-table>
+    <!-- 新增/编辑仓库 -->
+    <warehouse-edit-modal :openModal="openModal" :itemId="itemId" @close="closeModal" />
+  </a-card>
+</template>
+
+<script>
+import moment from 'moment'
+// import { customerBundleDelayList, customerBundleExportDelay } from '@/api/FinancialManagement'
+import { STable, VSelect } from '@/components'
+import warehouseEditModal from './editModal.vue'
+export default {
+  components: { STable, VSelect, warehouseEditModal },
+  data () {
+    return {
+      labelCol: { span: 10 },
+      wrapperCol: { span: 14 },
+      queryParam: { //  查询条件
+        bundleName: '', //  品牌名称
+        state: undefined,  //  状态
+      },
+      disabled: false, //  查询、重置按钮是否可操作
+      columns: [
+        { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
+        { title: '仓库名称', dataIndex: 'productName', align: 'center', ellipsis: true },
+        { title: '排序', dataIndex: 'productOldNum', width: 160, align: 'center' },
+        { title: '仓位', scopedSlots: { customRender: 'storingLocation' }, width: 180, align: 'center' },
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: 240, align: 'center' }
+      ],
+      // 加载数据方法 必须为 Promise 对象
+      loadData: parameter => {
+        this.disabled = true
+        // return customerBundleDelayList( Object.assign(parameter, this.queryParam) ).then(res => {
+        //   const data = res.data
+        //   const no = (data.pageNo - 1) * data.pageSize
+        //   for (var i = 0; i < data.list.length; i++) {
+        //     data.list[i].no = no + i + 1
+        //   }
+        //   this.disabled = false
+        //   return data
+        // })
+        const _this = this
+        return new Promise(function(resolve, reject){
+          const data = {
+            pageNo: 1,
+            pageSize: 10,
+            list: [
+              { id: '1', productNum: 'jgqp11111111111', productName: '产品1', productOldNum: 'jgqp111123545', warehouse: '箭冠品牌', productType: '产品分类1', inventoryNum: '5', inventoryMoney: '122' }
+            ]
+          }
+          const no = (data.pageNo - 1) * data.pageSize
+          for (var i = 0; i < data.list.length; i++) {
+            data.list[i].no = no + i + 1
+          }
+          _this.disabled = false
+          resolve(data)
+        })
+      },
+      openModal: false,  //  新增编辑产品品牌  弹框
+      itemId: ''  //  当前品牌id
+    }
+  },
+  methods: {
+    //  重置
+    resetSearchForm () {
+      this.queryParam.orderBundleNo = ''
+      this.queryParam.orderBundle.custMobile = ''
+      this.queryParam.bundleName = ''
+      this.queryParam.itemName = ''
+      this.oldTime = undefined
+      this.newTime = undefined
+      this.$refs.table.refresh(true)
+    },
+    //  新增/编辑
+    handleEdit(row){
+      this.itemId = row ? row.id : null
+      this.openModal = true
+    },
+    //  关闭弹框
+    closeModal(){
+      this.itemId = ''
+      this.openModal = false
+    },
+    //  删除
+    handleDel(row){
+      const _this = this
+      this.$confirm({
+        title: '提示',
+        content: '删除后不可恢复,确定要进行删除吗?',
+        okText: '确定',
+        cancelText: '取消',
+        onOk () {
+          // delectRolePower({
+          //   id: row.id
+          // }).then(res => {
+          //   console.log(res, 'res1111')
+          //   if (res.status == 200) {
+          //     _this.$message.success(res.message)
+          //     _this.$refs.table.refresh()
+          //   }
+          // })
+        }
+      })
+    },
+    //  查看仓位
+    goStoringLocation(row){
+      this.$router.push({ path: `/inventoryManagement/storingLocation/${row.id}` })
+    },
+  }
+}
+</script>
+
+<style lang="less">
+  .warehouseList-wrap{
+    
+  }
+</style>

+ 129 - 0
src/views/inventoryManagement/warehouse/storingLocation/editModal.vue

@@ -0,0 +1,129 @@
+<template>
+  <a-modal
+    centered
+    class="storingLocationEdit-modal"
+    :footer="null"
+    :maskClosable="false"
+    :title="modalTit"
+    v-model="isShow"
+    @cancle="isShow=false"
+    :width="800">
+    <!-- 表单 -->
+    <div>
+      <a-form-model
+        id="storingLocationEdit-form"
+        ref="ruleForm"
+        :model="form"
+        :rules="rules"
+        :label-col="formItemLayout.labelCol"
+        :wrapper-col="formItemLayout.wrapperCol"
+      >
+        <a-form-model-item label="仓位名称" prop="name">
+          <a-input
+            id="storingLocationEdit-name"
+            :maxLength="30"
+            v-model="form.name"
+            placeholder="请输入仓位名称(最多30个字符)"
+            allowClear />
+        </a-form-model-item>
+        <a-form-model-item label="所属仓库" prop="warehouse">
+          <a-select placeholder="请选择" allowClear v-model="form.warehouse">
+          	<a-select-option v-for="item in brandData" :key="item.salesChannelNo" :value="item.salesChannelNo">{{ item.salesChannelName }}</a-select-option>
+          </a-select>
+        </a-form-model-item>
+        <a-form-model-item label="排序" prop="sort">
+          <a-input-number v-model="form.sort" :min="0" :max="999999" :precision="0" :step="1" placeholder="请输入排序(0~999999)" style="width: 100%;" />
+        </a-form-model-item>
+      </a-form-model>
+      <div class="btn-cont">
+        <a-button type="primary" id="storingLocation-edit-modal-save" @click="handleSave">保存</a-button>
+        <a-button id="storingLocation-edit-modal-back" @click="isShow = false" style="margin-left: 15px;">返回列表</a-button>
+      </div>
+    </div>
+  </a-modal>
+</template>
+
+<script>
+import { STable } from '@/components'
+export default {
+  name: 'storingLocationEditModal',
+  components: { STable },
+  props: {
+    openModal: { //  弹框显示状态
+      type: Boolean,
+      default: false
+    },
+    itemId: {
+      type: [Number, String],
+      default: ''
+    }
+  },
+  computed: {
+    modalTit () {
+      return (this.itemId ? '编辑' : '新增') + '仓位'
+    }
+  },
+  data () {
+    return {
+      isShow: this.openModal, //  是否打开弹框
+      formItemLayout: {
+        labelCol: { span: 6 },
+        wrapperCol: { span: 16 }
+      },
+      form: {
+        name: '', // 仓位名称
+        warehouse: undefined,  //  所属仓库
+        sort: '',  //  排序
+      },
+      rules: {
+        name: [
+          { required: true, message: '请输入仓位名称', trigger: 'blur' }
+        ],
+        warehouse: [
+          { required: true, message: '请选择所属仓库', trigger: 'change' }
+        ],
+      },
+      brandData: []  //  仓库  下拉数据
+    }
+  },
+  methods: {
+    //  获取详情
+    getDetail(){
+      
+    },
+    //  保存
+    handleSave(){
+      
+    },
+  },
+  watch: {
+    //  父页面传过来的弹框状态
+    openModal (newValue, oldValue) {
+      this.isShow = newValue
+    },
+    //  重定义的弹框状态
+    isShow (newValue, oldValue) {
+      if (!newValue) {
+        this.$emit('close')
+      }
+    },
+    itemId (newValue, oldValue) {
+      if (this.isShow && newValue) {
+        this.getDetail()
+      }
+    }
+  }
+}
+</script>
+
+<style lang="less">
+  .storingLocationEdit-modal{
+    .ant-modal-body {
+    	padding: 40px 40px 24px;
+    }
+    .btn-cont {
+    	text-align: center;
+    	margin: 35px 0 10px;
+    }
+  }
+</style>

+ 158 - 0
src/views/inventoryManagement/warehouse/storingLocation/list.vue

@@ -0,0 +1,158 @@
+<template>
+  <a-card :bordered="false" class="storingLocationList-wrap">
+    <!-- 搜索条件 -->
+    <div class="table-page-search-wrapper">
+      <a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
+        <a-row :gutter="15">
+          <a-col :md="6" :sm="24">
+            <a-form-item label="仓位名称">
+              <a-input id="storingLocationList-bundleName" v-model.trim="queryParam.bundleName" allowClear placeholder="请输入仓位名称"/>
+            </a-form-item>
+          </a-col>
+          <a-col :md="6" :sm="24">
+            <a-form-item label="状态">
+              <v-select code="CHECK_ENABLE_STATE" id="storingLocationList-state" v-model="queryParam.state" allowClear placeholder="请选择状态"></v-select>
+            </a-form-item>
+          </a-col>
+          <a-col :md="6" :sm="24">
+            <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="storingLocationList-refresh">查询</a-button>
+            <a-button style="margin-left: 8px" @click="resetSearchForm" :disabled="disabled" id="storingLocationList-reset">重置</a-button>
+          </a-col>
+        </a-row>
+      </a-form>
+    </div>
+    <!-- 操作按钮 -->
+    <div class="table-operator">
+      <a-button id="storingLocationList-back" @click="handleBack" style="margin-top: 18px;">返回列表</a-button>
+      <a-button id="storingLocationList-add" type="primary" @click="handleEdit" style="margin-top: 18px;">新增仓位</a-button>
+    </div>
+    <!-- 列表 -->
+    <s-table
+      class="sTable"
+      ref="table"
+      size="default"
+      :rowKey="(record) => record.id"
+      :columns="columns"
+      :data="loadData"
+      bordered>
+      <!-- 操作 -->
+      <template slot="action" slot-scope="text, record">
+        <a-button type="primary" @click="handleEdit(record)" id="storingLocationList-edit-btn">编辑</a-button>
+        <a-button type="danger" @click="handleDel(record)" id="storingLocationList-del-btn" style="margin-left: 15px;">删除</a-button>
+      </template>
+    </s-table>
+    <!-- 新增/编辑仓位 -->
+    <storing-location-edit-modal :openModal="openModal" :itemId="itemId" @close="closeModal" />
+  </a-card>
+</template>
+
+<script>
+import moment from 'moment'
+// import { customerBundleDelayList, customerBundleExportDelay } from '@/api/FinancialManagement'
+import { STable, VSelect } from '@/components'
+import storingLocationEditModal from './editModal.vue'
+export default {
+  components: { STable, VSelect, storingLocationEditModal },
+  data () {
+    return {
+      labelCol: { span: 10 },
+      wrapperCol: { span: 14 },
+      queryParam: { //  查询条件
+        bundleName: '', //  仓位名称
+        state: undefined,  //  状态
+      },
+      disabled: false, //  查询、重置按钮是否可操作
+      columns: [
+        { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
+        { title: '仓位名称', dataIndex: 'productName', align: 'center', ellipsis: true },
+        { title: '排序', dataIndex: 'productOldNum', width: 160, align: 'center' },
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: 240, align: 'center' }
+      ],
+      // 加载数据方法 必须为 Promise 对象
+      loadData: parameter => {
+        this.disabled = true
+        // return customerBundleDelayList( Object.assign(parameter, this.queryParam) ).then(res => {
+        //   const data = res.data
+        //   const no = (data.pageNo - 1) * data.pageSize
+        //   for (var i = 0; i < data.list.length; i++) {
+        //     data.list[i].no = no + i + 1
+        //   }
+        //   this.disabled = false
+        //   return data
+        // })
+        const _this = this
+        return new Promise(function(resolve, reject){
+          const data = {
+            pageNo: 1,
+            pageSize: 10,
+            list: [
+              { id: '1', productNum: 'jgqp11111111111', productName: '产品1', productOldNum: 'jgqp111123545', storingLocation: '箭冠品牌', productType: '产品分类1', inventoryNum: '5', inventoryMoney: '122' }
+            ]
+          }
+          const no = (data.pageNo - 1) * data.pageSize
+          for (var i = 0; i < data.list.length; i++) {
+            data.list[i].no = no + i + 1
+          }
+          _this.disabled = false
+          resolve(data)
+        })
+      },
+      openModal: false,  //  新增编辑产品品牌  弹框
+      itemId: ''  //  当前品牌id
+    }
+  },
+  methods: {
+    //  重置
+    resetSearchForm () {
+      this.queryParam.orderBundleNo = ''
+      this.queryParam.orderBundle.custMobile = ''
+      this.queryParam.bundleName = ''
+      this.queryParam.itemName = ''
+      this.oldTime = undefined
+      this.newTime = undefined
+      this.$refs.table.refresh(true)
+    },
+    //  新增/编辑
+    handleEdit(row){
+      this.itemId = row ? row.id : null
+      this.openModal = true
+    },
+    //  关闭弹框
+    closeModal(){
+      this.itemId = ''
+      this.openModal = false
+    },
+    //  删除
+    handleDel(row){
+      const _this = this
+      this.$confirm({
+        title: '提示',
+        content: '删除后不可恢复,确定要进行删除吗?',
+        okText: '确定',
+        cancelText: '取消',
+        onOk () {
+          // delectRolePower({
+          //   id: row.id
+          // }).then(res => {
+          //   console.log(res, 'res1111')
+          //   if (res.status == 200) {
+          //     _this.$message.success(res.message)
+          //     _this.$refs.table.refresh()
+          //   }
+          // })
+        }
+      })
+    },
+    //  返回列表
+    handleBack(){
+      this.$router.push({ path: '/inventoryManagement/warehouse/list' })
+    },
+  }
+}
+</script>
+
+<style lang="less">
+  .storingLocationList-wrap{
+    
+  }
+</style>

+ 0 - 31
src/views/productManagement/productInfo/detailModal.vue

@@ -136,37 +136,6 @@ export default {
     	.item-main {
     		flex-grow: 1;
         word-break: break-all;
-    		.wd-icon {
-    			display: block;
-    		}
-    	}
-    	.guidance-con {
-    		border: 1px dashed #e8e8e8;
-    		border-radius: 6px;
-    		padding: 20px;
-    		img {
-    			max-width: 100%;
-    		}
-    	}
-    	.period-price-con {
-    		border-bottom: 1px solid #e8e8e8;
-    	}
-    	.item-period {
-    		display: flex;
-    		align-items: center;
-    		justify-content: space-evenly;
-    		flex-grow: 1;
-    		border: 1px solid #e8e8e8;
-    		border-width: 1px 1px 0;
-    		text-align: center;
-    		.period,
-    		.period-price {
-    			padding: 5px 0;
-    			border-right: 1px solid #e8e8e8;
-    		}
-    		.period-price:last-child {
-    			border-right: none;
-    		}
     	}
     }
     .btn-cont {

+ 0 - 31
src/views/salesManagement/customerManagement/detailModal.vue

@@ -150,37 +150,6 @@ export default {
     	.item-main {
     		flex-grow: 1;
         word-break: break-all;
-    		.wd-icon {
-    			display: block;
-    		}
-    	}
-    	.guidance-con {
-    		border: 1px dashed #e8e8e8;
-    		border-radius: 6px;
-    		padding: 20px;
-    		img {
-    			max-width: 100%;
-    		}
-    	}
-    	.period-price-con {
-    		border-bottom: 1px solid #e8e8e8;
-    	}
-    	.item-period {
-    		display: flex;
-    		align-items: center;
-    		justify-content: space-evenly;
-    		flex-grow: 1;
-    		border: 1px solid #e8e8e8;
-    		border-width: 1px 1px 0;
-    		text-align: center;
-    		.period,
-    		.period-price {
-    			padding: 5px 0;
-    			border-right: 1px solid #e8e8e8;
-    		}
-    		.period-price:last-child {
-    			border-right: none;
-    		}
     	}
     }
     .btn-cont {

+ 2 - 2
src/views/salesManagement/customerManagement/list.vue

@@ -82,8 +82,8 @@
     </div>
     <!-- 操作按钮 -->
     <div class="table-operator">
-      <a-button id="customerManagementList-add" type="primary" @click="handleAdd" style="margin-top: 18px;">新增客户</a-button>
-      <a-button id="customerManagementList-merge" @click="handleMerge" style="margin: 18px 0 0 15px;">客户合并</a-button>
+      <a-button id="customerManagementList-add" type="primary" @click="handleAdd">新增客户</a-button>
+      <a-button id="customerManagementList-merge" @click="handleMerge" style="margin: 0 0 0 15px;">客户合并</a-button>
     </div>
     <!-- 列表 -->
     <s-table

+ 203 - 0
src/views/salesManagement/urgentItemsOffset/detail.vue

@@ -0,0 +1,203 @@
+<template>
+  <div class="urgentItemsOffsetDetail-page-wrapper">
+    <!-- 操作 -->
+    <a-card :bordered="false" class="urgentItemsOffsetDetail-operation-wrapper">
+      <a-button @click="goBack" id="urgentItemsOffsetDetail-btn-back">返回列表</a-button>
+      <a-button type="primary" @click="handleSubmit" id="urgentItemsOffsetDetail-btn-submit" style="margin-left: 15px">冲减</a-button>
+      <a-button type="primary" size="small" @click="handlePrint" id="urgentItemsOffsetDetail-btn-print" style="margin-left: 30px">快速打印</a-button>
+      <a-button type="primary" size="small" @click="handlePreview" id="urgentItemsOffsetDetail-btn-preview" style="margin-left: 15px">打印预览</a-button>
+    </a-card>
+    <!-- 急件单信息 -->
+    <a-card :bordered="false" class="urgentItemsOffsetDetail-info-wrapper">
+      <a-row :gutter="35">
+        <a-col :span="8" class="item-cont">
+          <p class="item-label">客户名称:</p>
+          <p class="item-main">名称思密达</p>
+          <!-- <p class="item-main">{{ detailsData.name }}</p> -->
+        </a-col>
+        <a-col :span="8" class="item-cont">
+          <p class="item-label">客户地址:</p>
+          <p class="item-main">名称思密达</p>
+          <!-- <p class="item-main">{{ detailsData.name }}</p> -->
+        </a-col>
+        <a-col :span="8" class="item-cont">
+          <p class="item-label">支付方式:</p>
+          <p class="item-main">名称思密达</p>
+          <!-- <p class="item-main">{{ detailsData.name }}</p> -->
+        </a-col>
+      </a-row>
+      <a-row :gutter="35">
+        <a-col :span="8" class="item-cont">
+          <p class="item-label">联系手机:</p>
+          <p class="item-main">名称思密达</p>
+          <!-- <p class="item-main">{{ detailsData.name }}</p> -->
+        </a-col>
+        <a-col :span="8" class="item-cont">
+          <p class="item-label">联系电话:</p>
+          <p class="item-main">名称思密达</p>
+          <!-- <p class="item-main">{{ detailsData.name }}</p> -->
+        </a-col>
+        <a-col :span="8" class="item-cont">
+          <p class="item-label">收款方式:</p>
+          <p class="item-main">名称思密达</p>
+          <!-- <p class="item-main">{{ detailsData.name }}</p> -->
+        </a-col>
+      </a-row>
+      <a-row :gutter="35">
+        <a-col :span="8" class="item-cont">
+          <p class="item-label">急件单号:</p>
+          <p class="item-main">名称思密达</p>
+          <!-- <p class="item-main">{{ detailsData.name }}</p> -->
+        </a-col>
+        <a-col :span="8" class="item-cont">
+          <p class="item-label">完结状态:</p>
+          <p class="item-main">名称思密达</p>
+          <!-- <p class="item-main">{{ detailsData.name }}</p> -->
+        </a-col>
+      </a-row>
+    </a-card>
+    <!-- 合计 -->
+    <a-alert type="info" showIcon style="margin-bottom:15px">
+      <div class="ftext" slot="message">总款数:<strong>998</strong>;总数量:<strong>2009</strong>。</div>
+    </a-alert>
+    <!-- 表格 -->
+    <a-card :bordered="false" class="urgentItemsOffsetDetail-table-wrapper">
+      <s-table
+        class="sTable"
+        ref="table"
+        size="default"
+        :rowKey="(record) => record.id"
+        :columns="columns"
+        :data="loadData"
+        bordered>
+      </s-table>
+    </a-card>
+  </div>
+  
+</template>
+
+<script>
+  import { STable, VSelect } from '@/components'
+  export default {
+    components: { STable, VSelect },
+    data () {
+      return {
+        unColumns: [
+          { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
+          { title: '产品编码', dataIndex: 'productName', width: 200, align: 'center', ellipsis: true },
+          { title: '产品名称', dataIndex: 'productOldNum', width: 160, align: 'center', ellipsis: true },
+          { title: '原厂编码', dataIndex: 'productBrand', width: 200, align: 'center' },
+          { title: '库存数量', dataIndex: 'productType', width: 200, align: 'center' },
+          { title: '未冲减数量', dataIndex: 'inventoryNum', width: 180, align: 'center', ellipsis: true },
+          { title: '单位', dataIndex: 'inventoryMoneys', width: 180, align: 'center' }
+        ],
+        columns: [
+          { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
+          { title: '产品编码', dataIndex: 'productName', width: 200, align: 'center', ellipsis: true },
+          { title: '产品名称', dataIndex: 'productOldNum', width: 160, align: 'center', ellipsis: true },
+          { title: '原厂编码', dataIndex: 'productBrand', width: 200, align: 'center' },
+          { title: '入库时间', dataIndex: 'product2Brand', width: 200, align: 'center' },
+          { title: '仓库', dataIndex: 'productBrawnd', width: 200, align: 'center' },
+          { title: '仓位', dataIndex: 'productBradnd', width: 200, align: 'center' },
+          { title: '成本价', dataIndex: 'productsBrand', width: 200, align: 'center' },
+          { title: '已冲减数量', dataIndex: 'inventoryNum', width: 180, align: 'center', ellipsis: true },
+          { title: '单位', dataIndex: 'inventoryMoneys', width: 180, align: 'center' },
+          { title: '成本小计', dataIndex: 'inventoryMoneyss', width: 180, align: 'center' }
+        ],
+        // 加载数据方法 必须为 Promise 对象
+        loadData: parameter => {
+          this.disabled = true
+          // return customerBundleDelayList( Object.assign(parameter, this.queryParam) ).then(res => {
+          //   const data = res.data
+          //   const no = (data.pageNo - 1) * data.pageSize
+          //   for (var i = 0; i < data.list.length; i++) {
+          //     data.list[i].no = no + i + 1
+          //   }
+          //   this.disabled = false
+          //   return data
+          // })
+          const _this = this
+          return new Promise(function(resolve, reject){
+            const data = {
+              pageNo: 1,
+              pageSize: 10,
+              list: [
+                { id: '1', productNum: 'jgqp11111111111', productName: '产品1', productOldNum: 'jgqp111123545', productBrand: '箭冠品牌', productType: '产品分类1', inventoryNum: '5', inventoryMoney: '122' }
+              ]
+            }
+            const no = (data.pageNo - 1) * data.pageSize
+            for (var i = 0; i < data.list.length; i++) {
+              data.list[i].no = no + i + 1
+            }
+            _this.disabled = false
+            resolve(data)
+          })
+        },
+      }
+    },
+    methods: {
+      //  返回
+      goBack(){
+        this.$router.push({ path: '/salesManagement/urgentItemsOffset/list' })
+      },
+      //  冲减
+      handleSubmit(){
+        const _this = this
+        this.$confirm({
+          title: '提示',
+          content: '确定要进行冲减吗?',
+          okText: '确定',
+          cancelText: '取消',
+          onOk () {
+            // delectRolePower({
+            //   id: row.id
+            // }).then(res => {
+            //   console.log(res, 'res1111')
+            //   if (res.status == 200) {
+            //     _this.$message.success(res.message)
+            //     _this.$refs.table.refresh()
+            //   }
+            // })
+          }
+        })
+      },
+      //  快速打印
+      handlePrint(){
+        
+      },
+      //  打印预览
+      handlePreview(){
+        
+      },
+    }
+  }
+</script>
+
+<style lang="less">
+  .urgentItemsOffsetDetail-page-wrapper{
+    .urgentItemsOffsetDetail-info-wrapper{
+      margin: 15px 0;
+      .item-cont {
+      	margin-bottom: 15px;
+      	display: flex;
+      	.item-label {
+      		width: 115px;
+      		font-size: 14px;
+      		color: rgba(0, 0, 0, 0.85);
+      		flex-shrink: 0;
+      	}
+      	.item-main {
+      		flex-grow: 1;
+          word-break: break-all;
+      	}
+      }
+    }
+    .urgentItemsOffsetDetail-table-wrapper{
+      .sTable{
+        table{
+          width: auto;
+        }
+      }
+    }
+  }
+</style>

+ 162 - 0
src/views/salesManagement/urgentItemsOffset/list.vue

@@ -0,0 +1,162 @@
+<template>
+  <a-card :bordered="false" class="urgentItemsOffsetList-wrap">
+    <!-- 搜索条件 -->
+    <div class="table-page-search-wrapper">
+      <a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
+        <a-row :gutter="15">
+          <a-col :md="6" :sm="24">
+            <a-form-item label="审核时间">
+              <a-range-picker
+                  style="width:100%"
+                  id="urgentItemsOffsetList-creatTime"
+                  :disabledDate="disabledDate"
+                  v-model="time"
+                  :format="dateFormat"
+                  :placeholder="['开始时间', '结束时间']" />
+              </a-form-item>
+            </a-form-item>
+          </a-col>
+          <a-col :md="6" :sm="24">
+            <a-form-item label="客户名称">
+            	<a-select id="urgentItemsOffsetList-bundleName" placeholder="请选择" allowClear v-model="queryParam.dataSourceNo" :showSearch="true" option-filter-prop="children" :filter-option="filterOption">
+            		<a-select-option v-for="item in brandData" :key="item.salesChannelNo" :value="item.salesChannelNo">{{ item.salesChannelName }}</a-select-option>
+            	</a-select>
+            </a-form-item>
+          </a-col>
+          <a-col :md="6" :sm="24">
+            <a-form-item label="销售单号">
+              <a-input id="urgentItemsOffsetList-bundleName" v-model.trim="queryParam.bundleName" allowClear placeholder="请输入销售单号"/>
+            </a-form-item>
+          </a-col>
+          <a-col :md="6" :sm="24">
+            <a-form-item label="采购单号">
+              <a-input id="urgentItemsOffsetList-bundleName" v-model.trim="queryParam.bundleName" allowClear placeholder="请输入采购单号"/>
+            </a-form-item>
+          </a-col>
+          <a-col :md="6" :sm="24">
+            <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="urgentItemsOffsetList-refresh">查询</a-button>
+            <a-button style="margin-left: 8px" @click="resetSearchForm" :disabled="disabled" id="urgentItemsOffsetList-reset">重置</a-button>
+          </a-col>
+        </a-row>
+      </a-form>
+    </div>
+    <!-- 列表 -->
+    <s-table
+      class="sTable"
+      ref="table"
+      size="default"
+      :rowKey="(record) => record.id"
+      :columns="columns"
+      :data="loadData"
+      bordered>
+      <!-- 状态 -->
+      <template slot="state" slot-scope="text, record">
+        <span>{{record.state == 1 ? '已启用' : '已禁用'}}</span>
+      </template>
+      <!-- 操作 -->
+      <template slot="action" slot-scope="text, record">
+        <a-button type="primary" @click="handleDetail(record)" id="urgentItemsOffsetList-detail-btn">详情</a-button>
+      </template>
+    </s-table>
+  </a-card>
+</template>
+
+<script>
+import moment from 'moment'
+// import { customerBundleDelayList, customerBundleExportDelay } from '@/api/FinancialManagement'
+import { STable, VSelect } from '@/components'
+export default {
+  components: { STable, VSelect },
+  data () {
+    return {
+      labelCol: { span: 10 },
+      wrapperCol: { span: 14 },
+      queryParam: { //  查询条件
+        bundleName: '', //  供应商名称
+        state: undefined,  //  状态
+      },
+      disabled: false, //  查询、重置按钮是否可操作
+      dateFormat: 'YYYY-MM-DD',
+      time: [],  //  创建时间
+      brandData: [],  //  客户 下拉数据
+      columns: [
+        { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
+        { title: '急件单号', dataIndex: 'productName', width: 200, align: 'center', ellipsis: true },
+        { title: '销售单号', dataIndex: 'productOldNum', width: 160, align: 'center', ellipsis: true },
+        { title: '客户名称', dataIndex: 'productBrand', width: 200, align: 'center' },
+        { title: '总款数', dataIndex: 'productType', width: 200, align: 'center' },
+        { title: '总数量', dataIndex: 'inventoryNum', width: 180, align: 'center', ellipsis: true },
+        { title: '创建时间', dataIndex: 'inventoryMoneys', width: 180, align: 'center' },
+        { title: '冲减时间', dataIndex: 'inventoryMoney', width: 180, align: 'center' },
+        { title: '状态', scopedSlots: { customRender: 'state' }, width: 180, align: 'center' },
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: 240, align: 'center' }
+      ],
+      // 加载数据方法 必须为 Promise 对象
+      loadData: parameter => {
+        this.disabled = true
+        // return customerBundleDelayList( Object.assign(parameter, this.queryParam) ).then(res => {
+        //   const data = res.data
+        //   const no = (data.pageNo - 1) * data.pageSize
+        //   for (var i = 0; i < data.list.length; i++) {
+        //     data.list[i].no = no + i + 1
+        //   }
+        //   this.disabled = false
+        //   return data
+        // })
+        const _this = this
+        return new Promise(function(resolve, reject){
+          const data = {
+            pageNo: 1,
+            pageSize: 10,
+            list: [
+              { id: '1', productNum: 'jgqp11111111111', productName: '产品1', productOldNum: 'jgqp111123545', productBrand: '箭冠品牌', productType: '产品分类1', inventoryNum: '5', inventoryMoney: '122' }
+            ]
+          }
+          const no = (data.pageNo - 1) * data.pageSize
+          for (var i = 0; i < data.list.length; i++) {
+            data.list[i].no = no + i + 1
+          }
+          _this.disabled = false
+          resolve(data)
+        })
+      },
+    }
+  },
+  methods: {
+    // 不可选日期
+    disabledDate (date, dateStrings) {
+      return date && date.valueOf() > Date.now()
+    },
+    filterOption(input, option) {
+    	return (
+    		option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
+    	)
+    },
+    //  重置
+    resetSearchForm () {
+      this.queryParam.orderBundleNo = ''
+      this.queryParam.orderBundle.custMobile = ''
+      this.queryParam.bundleName = ''
+      this.queryParam.itemName = ''
+      this.oldTime = undefined
+      this.newTime = undefined
+      this.$refs.table.refresh(true)
+    },
+    //  详情
+    handleDetail(row){
+      this.$router.push({ path: `/salesManagement/urgentItemsOffset/detail/${row.id}` })
+    }
+  }
+}
+</script>
+
+<style lang="less">
+  .urgentItemsOffsetList-wrap{
+    .sTable{
+      margin-top: 20px;
+      table{
+        width: auto;
+      }
+    }
+  }
+</style>