add:销售出库单、手动退料单
fix:手动推中鼎
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<rrOperation :crud="crud" />
|
||||
</el-form>
|
||||
</div>
|
||||
<crudOperation :permission="permission" >
|
||||
<crudOperation :permission="permission">
|
||||
<el-button slot="right" v-has-user="['admin']" class="filter-item" type="warning" icon="el-icon-s-promotion" size="mini" :disabled="audit_flag" @click="issueReturnBill">强制回传EAS</el-button>
|
||||
<el-button slot="right" class="filter-item" type="success" icon="el-icon-s-promotion" size="mini" :disabled="isPushDisabled()" @click="handleBatchPush">下推出库</el-button>
|
||||
<el-button slot="right" class="filter-item" type="warning" icon="el-icon-house" size="mini" :disabled="isBatchAllocateDisabled()" @click="openBatchAllocateDialog">批量分配</el-button>
|
||||
@@ -86,7 +86,8 @@
|
||||
|
||||
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="small" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column prop="id" label="ID" width="220" show-overflow-tooltip />
|
||||
<el-table-column prop="workOrder" label="工单编号" min-width="140" show-overflow-tooltip />
|
||||
<!-- <el-table-column prop="id" label="ID" width="220" show-overflow-tooltip />-->
|
||||
<el-table-column prop="creator" label="操作人" min-width="100" show-overflow-tooltip />
|
||||
<el-table-column prop="createTime" label="需求日期" min-width="160" show-overflow-tooltip />
|
||||
<el-table-column prop="priority" label="优先级" width="80" />
|
||||
@@ -95,7 +96,6 @@
|
||||
<el-tag :type="statusTagType(scope.row.status)" size="mini">{{ statusLabel(scope.row.status) }}</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="workOrder" label="工单编号" min-width="140" show-overflow-tooltip />
|
||||
<el-table-column prop="skuCode" label="物料编码" min-width="140" show-overflow-tooltip />
|
||||
<el-table-column prop="skuName" label="物料名称" min-width="180" show-overflow-tooltip />
|
||||
<el-table-column prop="qty" label="数量" width="100" />
|
||||
@@ -127,7 +127,7 @@ import crudOperation from '@crud/CRUD.operation.vue'
|
||||
import udOperation from '@crud/UD.operation.vue'
|
||||
import rrOperation from '@crud/RR.operation.vue'
|
||||
import pagination from '@crud/Pagination.vue'
|
||||
import crudPurchase from "@/views/wms/pm_manage/allocationOut/purchase";
|
||||
import crudPurchase from '@/views/wms/pm_manage/allocationOut/purchase'
|
||||
|
||||
const createDefaultForm = () => ({ id: null, creator: '', createTime: '', priority: 0, status: 0, workOrder: '', skuCode: '', skuName: '', qty: undefined, unit: '', targetArea: '', productionLine: '', sn: '' })
|
||||
|
||||
@@ -140,7 +140,11 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
permission: {},
|
||||
permission: {
|
||||
add: ['purchasemst:add'],
|
||||
edit: ['purchasemst:edit'],
|
||||
del: ['purchasemst:del']
|
||||
},
|
||||
statusOptions: [
|
||||
{ value: '0', label: '生成' },
|
||||
{ value: '01', label: '分配' },
|
||||
@@ -337,7 +341,7 @@ export default {
|
||||
}).then(() => {
|
||||
push(this.multipleSelection).then(res => {
|
||||
if (res.code === 400) {
|
||||
this.$message.error('下推失败'+res.message)
|
||||
this.$message.error('下推失败' + res.message)
|
||||
return
|
||||
}
|
||||
this.$message.success('下推成功')
|
||||
|
||||
Reference in New Issue
Block a user