loulijun2021
2023-06-03 f1ee5a9bc88eff3a75245569e091fe352a452922
src/views/produceManager/productWarehouse.vue
@@ -694,8 +694,8 @@
        incbit: '', // 流水号
        documentType: 'Y', // 单据类型
        wkshopcode: 'CJ001', // 生产车间
        erpordercode: 'MO-2023-05-0007', // 订单编号
        wkshopcode: '', // 生产车间
        erpordercode: '', // 订单编号
        mesordercode: '', // 工单编号
        partcode: '', // 产品编码
        partname: '', // 产品名称
@@ -742,7 +742,7 @@
    this.getProductInHouseOrderCodeSearch()
    this.getProductInHouseOrderSearch()
    // this.getProductInHouseOrderSearch()
  },
  methods: {
    async getProductInHouseOrderCodeSearch() {
@@ -974,6 +974,9 @@
    // 入库提交
    async  submit() {
      await this.tabClick()
      if (this.multipleSelection.find(i => !i.stockcode)) {
        return this.$message('明细里面有产品未填写仓库!')
      }
      this.multipleSelection.forEach(i => {
        i.stockname = this.stockcodeArr.find(j => j.code === i.stockcode).name
        i.id = this.stockcodeArr.find(j => j.code === i.stockcode).id
@@ -1004,7 +1007,8 @@
        voucherdate: handleDatetime(new Date().getTime()),
        madedate: handleDatetime(new Date().getTime()),
        createdtime: handleDatetime2(new Date().getTime()),
        DataSource: '56133'
        DataSource: '56133',
        idsourcevouchertype: 69
      }
      const subsum = []