| | |
| | | <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(1, form)">审 核</el-button> --> |
| | | <el-button type="primary" @click="set_CheckBill(1, form)">审 核</el-button> |
| | | <el-button type="primary" @click="close">退 出</el-button> |
| | | <!-- <el-button @click="cancel">取 消</el-button> --> |
| | | </div> |
| | |
| | | name: 'Sc_MouldMoveStockRequestBillEdit', |
| | | components: { Dept, Warehouse, RowSettings, GyEmployee,GySupplier,GyCustomer,GyMould,GyStockPlace }, |
| | | props: { |
| | | OperationType: { type: Number, }, |
| | | OperationType: { type: Number, },//操作类型(1新增、2编辑、3复制、4下推) |
| | | linterid: { type: Number, }, |
| | | HSouceBillType: { type: String, }, |
| | | propsData: { type: String, }, |
| | |
| | | , "HSCSPID": "0" |
| | | , "HSCSPNumber": "" |
| | | , "HSCSPName": "" |
| | | , "HSourceInterID": "0" |
| | | , "HSourceEntryID": "0" |
| | | , "HSourceBillType": "" |
| | | , "HSourceBillNo": "" |
| | | , "HRelationQty": "0" |
| | | , "HRelationMoney": "0" |
| | | , "HRemark": "" |
| | | , "HPropertyID": "0" |
| | | , "HSecUnitID": "0" |
| | |
| | | , "HICMOInterID": "0" |
| | | , "HICMOEntryID": "0" |
| | | , "HICMOBillNo": "" |
| | | , "HSTOCKORGID": "0" |
| | | , "HOWNERID": "0" |
| | | , "HSTOCKORGID": this.form.HStockOutOrgID |
| | | , "HOWNERID": this.form.HStockOutOrgID |
| | | , "HOWNERTYPEID": "" |
| | | , "HSTOCKORGINID": "0" |
| | | , "HOWNERINID": "0" |
| | | , "HSTOCKORGINID": this.form.HStockInOrgID |
| | | , "HOWNERINID": this.form.HStockInOrgID |
| | | , "HOWNERTYPEINID": "" |
| | | , "HBASEUNITID": "0" |
| | | , "HEXTAUXUNITID": "0" |
| | |
| | | set_CheckBill(num, form) { |
| | | var InterID = form.hmainid || form.HInterID |
| | | //逻辑审核方法 |
| | | axios.get(this.baseURL + "/Sc_MouldProdMoveBill/AuditMouldProdMoveBill", { |
| | | params: { "HInterID": InterID, "flag": num, "user": sessionStorage["HUserName"] } |
| | | axios.get(this.baseURL + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Check_Json", { |
| | | params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] } |
| | | }).then(response => { |
| | | let result = response.data |
| | | if (result.code == 1) { |
| | | this.$modal.msgSuccess('操作成功'); |
| | | this.close() |
| | | } |
| | | else { |
| | | this.$modal.msgError("错误:" + result.code + result.Message,); |