修改
This commit is contained in:
@@ -211,7 +211,7 @@
|
||||
<span v-show="scope.row.edit">{{ scope.row.demand_date }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column key="21" width="150" show-overflow-tooltip prop="date_of_FG_inbound" label="制作日期-新">
|
||||
<el-table-column key="24" width="150" show-overflow-tooltip prop="date_of_FG_inbound" label="制作日期-新">
|
||||
<template scope="scope">
|
||||
<el-input v-show="!scope.row.edit" v-model="scope.row.date_of_FG_inbound" class="input-with-select">
|
||||
</el-input>
|
||||
@@ -342,7 +342,7 @@ export default {
|
||||
this.$emit('AddChanged')
|
||||
},
|
||||
[CRUD.HOOK.afterToEdit]() {
|
||||
handmovestor.getOutBillDtl({ 'moveinv_id': this.form.moveinv_id }).then(res => {
|
||||
handmovestor.getOutBillDtl({ 'changeinv_id': this.form.changeinv_id }).then(res => {
|
||||
this.form.tableData = res
|
||||
// 将明细变成不可编辑
|
||||
for (let i = 0; i < this.form.tableData.length; i++) {
|
||||
@@ -354,7 +354,7 @@ export default {
|
||||
},
|
||||
[CRUD.HOOK.afterToView]() {
|
||||
debugger
|
||||
handmovestor.getOutBillDtl({ 'moveinv_id': this.form.moveinv_id }).then(res => {
|
||||
handmovestor.getOutBillDtl({ 'changeinv_id': this.form.changeinv_id }).then(res => {
|
||||
this.form.tableData = res
|
||||
// 将明细变成不可编辑
|
||||
for (let i = 0; i < this.form.tableData.length; i++) {
|
||||
|
||||
@@ -193,7 +193,7 @@ export default {
|
||||
name: 'Change',
|
||||
components: { AddDialog, crudOperation, rrOperation, udOperation, pagination },
|
||||
cruds() {
|
||||
return CRUD({ title: '库存变更', idField: 'moveinv_id', url: 'api/change', crudMethod: { ...change },
|
||||
return CRUD({ title: '库存变更', idField: 'changeinv_id', url: 'api/change', crudMethod: { ...change },
|
||||
optShow: {
|
||||
add: true,
|
||||
edit: false,
|
||||
|
||||
@@ -202,7 +202,7 @@
|
||||
<el-table-column show-overflow-tooltip prop="plan_qty" :formatter="crud.formatNum3" label="重量" align="center" />
|
||||
<el-table-column show-overflow-tooltip prop="point_code" label="入库点" align="center" />
|
||||
<el-table-column show-overflow-tooltip prop="struct_code" label="货位" align="center" />
|
||||
<el-table-column align="center" label="操作" width="190" fixed="right">
|
||||
<!--<el-table-column align="center" label="操作" width="190" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-popover v-model="scope.row.pop" placement="top" width="180" trigger="manual">
|
||||
<p>{{ '是否确认删除桶明细?' }}</p>
|
||||
@@ -213,7 +213,7 @@
|
||||
<el-button slot="reference" :disabled="scope.row.struct_code !== '' && scope.row.struct_code" type="danger" icon="el-icon-delete" size="mini" @click="toDelete(scope.row)" />
|
||||
</el-popover>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column>-->
|
||||
</el-table>
|
||||
</el-card>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user