dytyqx
2 天以前 1df73c55311618ff37ef943ec0e021f7deeb68ff
修改直接调拨单
1个文件已修改
1个文件已添加
50 ■■■■■ 已修改文件
RuoYi-Vue @ 8a1cf9 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/KCGL/MoveStockBill/Kf_MoveStockBillEdit.vue 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
RuoYi-Vue
New file
@@ -0,0 +1 @@
Subproject commit 8a1cf9ed55747229ce4149ddacf8596fa0995814
src/views/KCGL/MoveStockBill/Kf_MoveStockBillEdit.vue
@@ -3,7 +3,7 @@
    <div style=" margin-bottom: 10px; border-bottom: 1px solid #f6f6f6;">
      <el-button type="primary" @click="handleAdd(OperationType = 1)" v-if="addBtnShow">新增</el-button>
      <el-button type="primary" @click="submitForm" :disabled="subDisabled">保 存</el-button>
      <el-button type="primary" @click="set_CheckBill(0, form)">审 核</el-button>
      <!-- <el-button type="primary" @click="set_CheckBill(0, form)">审 核</el-button> -->
      <el-button type="primary" @click="close">退 出</el-button>
      <!-- <el-button @click="cancel">取 消</el-button> -->
    </div>
@@ -265,31 +265,31 @@
            <span>{{ scope.row.规格型号 }}</span>
          </template>
        </el-table-column>
        <el-table-column align="center" label="HUnitID" width="120">
        <!-- <el-table-column align="center" label="HUnitID" width="120">
          <template slot-scope="scope">
            <span>{{ scope.row.HUnitID }}</span>
          </template>
        </el-table-column>
        </el-table-column> -->
        <el-table-column align="center" label="计量单位" width="120">
          <template slot-scope="scope">
            <span>{{ scope.row.计量单位 }}</span>
          </template>
        </el-table-column>
        <el-table-column align="center" label="HPropertyID" width="120">
        <!-- <el-table-column align="center" label="HPropertyID" width="120">
          <template slot-scope="scope">
            <span>{{ scope.row.HPropertyID }}</span>
          </template>
        </el-table-column>
        </el-table-column> -->
        <el-table-column align="center" label="辅助属性" width="120">
          <template slot-scope="scope">
              <span>{{ scope.row.辅助属性 }}</span>
          </template>
        </el-table-column>
        <el-table-column align="center" label="换算率" width="120">
        <!-- <el-table-column align="center" label="换算率" width="120">
          <template slot-scope="scope">
              <span>{{ scope.row.HSecUnitRate }}</span>
          </template>
        </el-table-column>
        </el-table-column> -->
        <el-table-column align="center" label="应发数量" width="120">
          <template slot-scope="scope">
            <span>{{ scope.row.HQtyMust }}</span>
@@ -307,7 +307,7 @@
              controls-position="right"></el-input-number>
          </template>
        </el-table-column>
        <el-table-column align="center" label="单价" width="140">
        <!-- <el-table-column align="center" label="单价" width="140">
          <template slot-scope="scope">
            <el-input-number v-model="scope.row.HPrice" :min="0" style="width: 120px;"
              controls-position="right"></el-input-number>
@@ -328,7 +328,7 @@
          <template slot-scope="scope">
            <span>{{scope.row.HOutMoney = scope.row.HOutPrice * scope.row.HQty }}</span>
          </template>
        </el-table-column>
        </el-table-column>-->
        <el-table-column align="center" label="HWHID" width="120">
          <template slot-scope="scope">
            <span>{{scope.row.HWHID}}</span>
@@ -571,12 +571,12 @@
        HSecManagerName: "",
        HKeeperID: 0,
        HKeeperName: "",
        HDeptID: 0,
        HDeptName: "",
        HDeptID: sessionStorage["HDeptID"],
        HDeptName: sessionStorage["HDept"],
        HManagerID: 0,
        HMangerName: "",
        HEmpID: 0,
        HEmpName: "",
        HEmpID: sessionStorage["HEmpID"],
        HEmpName: sessionStorage["HEmpName"],
        HSourceBillType: "",
        HExplanation :"",
        HRemark: "",
@@ -834,6 +834,8 @@
        this.gySupplierShow = true
        this.openData = true
      } else if (num == 9) {
        this.openPageData.HWHName = ''
        this.$nextTick()
        if(this.HSPType==1){
          if(this.editData[this.zbIndex].HWHName){
            this.dialogTitle = '仓位列表'
@@ -871,6 +873,7 @@
      this.gyEmployeeShow = false
      this.gySupplierShow = false
      this.Kf_MoveStockRequestBillShow = false
      this.gyStockPlaceShow = false
    },
    //#endregion
    //#endregion
@@ -887,28 +890,40 @@
            this.form.HWHName = deptRow.仓库名称
            this.form.HWHID = deptRow.HItemID
            this.form.HWHNumber = deptRow.仓库代码
            this.form.HSPID = 1
            this.form.HSPName = ''
            for (let i = 0; i < this.editData.length; i++) {
              this.editData[i].HWHID = deptRow.HItemID
              this.editData[i].HWHNumber = deptRow.仓库代码
              this.editData[i].HWHName = deptRow.仓库名称
              this.editData[i].HSPID = 1
              this.editData[i].HSPName = ''
            }
          }else if(this.eHWHType == 2){
            this.form.HSCWHName = deptRow.仓库名称
            this.form.HSCWHID = deptRow.HItemID
            this.form.HSCWHNumber = deptRow.仓库代码
            this.form.HSCSPID = 1
            this.form.HSCSPName = ''
            for (let i = 0; i < this.editData.length; i++) {
              this.editData[i].HSCWHID = deptRow.HItemID
              this.editData[i].HSCWHNumber = deptRow.仓库代码
              this.editData[i].HSCWHName = deptRow.仓库名称
              this.editData[i].HSCSPID = 1
              this.editData[i].HSCSPName = ''
            }
          }else if(this.eHWHType == 3){
            this.editData[this.zbIndex].HWHID = deptRow.HItemID
            this.editData[this.zbIndex].HWHNumber = deptRow.仓库代码
            this.editData[this.zbIndex].HWHName = deptRow.仓库名称
            this.editData[this.zbIndex].HSPID = 1
            this.editData[this.zbIndex].HSPName = ''
          }else if(this.eHWHType == 4){
            this.editData[this.zbIndex].HSCWHID = deptRow.HItemID
            this.editData[this.zbIndex].HSCWHNumber = deptRow.仓库代码
            this.editData[this.zbIndex].HSCWHName = deptRow.仓库名称
            this.editData[this.zbIndex].HSCSPID = 1
            this.editData[this.zbIndex].HSCSPName = ''
          }
          this.warehouseShow = false
          this.openData = false
@@ -1058,7 +1073,7 @@
                if (response.data.count == 1) {
                  this.subDisabled = true//设置保存按钮不可用
                  this.$modal.msgSuccess(response.data.Message);
                  this.get_MAXNum_Task(1);//设置流水号增加
                  // this.get_MAXNum_Task(1);//设置流水号增加
                  if (response.data.Verify == "Y") //自动审核
                  {
                    this.set_CheckBill(0, this.form); //审核
@@ -1129,8 +1144,8 @@
          规格型号: '',
          HUnitID: 0,
          计量单位: '',
          HQtyMust: 1,
          HQty: 1,
          HQtyMust: 0,
          HQty: 0,
          HPieceQty: 0,
          HPrice: 0,
          HTaxPrice: 0,
@@ -1140,7 +1155,7 @@
          HWHID: 0,
          发货仓库: '',
          HRemark: '',
          HQty_Full: 0,
          HQty_Full:0,
          HQty_Empty: 0,
          HQty_Back: 0,
          HCostPrice: 0,