更新
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
<el-checkbox v-model="checked" :disabled="isShow2 || (parseInt(token) !== 6 && parseInt(token) !== 19)" size="small" style="margin-left:10px">是否核准</el-checkbox>
|
||||
<el-button :disabled="disabled" type="success" size="small" plain icon="el-icon-tickets" @click="saveApprove">保存</el-button>
|
||||
<el-button :loading="loading" :disabled="disabled" type="success" size="small" plain icon="el-icon-tickets" @click="saveApprove">保存</el-button>
|
||||
<el-button v-show="isShowN" type="text" style="margin-top: 8px;float: right" @click="isShowN=false">折叠</el-button>
|
||||
<el-button v-show="!isShowN" type="text" style="margin-top: 8px;float: right" @click="isShowN=true">展开</el-button>
|
||||
</el-card>
|
||||
@@ -1210,6 +1210,7 @@ export default {
|
||||
this.Specifications = response.data[0].规格
|
||||
this.spec = response.data[0].原材料规格
|
||||
this.工艺是否更改 = response.data[0].工艺是否更改
|
||||
console.log(this.工艺是否更改, 111)
|
||||
if (response.data[0].重量 === null) {
|
||||
this.weight = ''
|
||||
} else {
|
||||
@@ -1513,6 +1514,7 @@ export default {
|
||||
},
|
||||
saveApprove() { // 核准保存
|
||||
if (this.checked === true) {
|
||||
this.loading = true
|
||||
let 零件图号
|
||||
let flag = 0
|
||||
for (let i = 0; i < this.tableData.length; i++) {
|
||||
@@ -1554,6 +1556,7 @@ export default {
|
||||
if (this.partNumValue === '') {
|
||||
this.$message.error('请先选择一个零件')
|
||||
} else {
|
||||
console.log(this.工艺是否更改, 2222)
|
||||
if (this.工艺是否更改 === 1) {
|
||||
insertOne1(this.partNumValue, row.工序流水号).then(response => {
|
||||
this.searchDetail()
|
||||
|
||||
Reference in New Issue
Block a user