| | |
| | | matnr: null,
|
| | | orderNo: null,
|
| | | batch: null,
|
| | | tagId: null,
|
| | | })
|
| | | const editChild = ref(null)
|
| | |
|
| | |
| | | ...getColumnSearchProps('matnr'),
|
| | | },
|
| | | {
|
| | | title: formatMessage('db.man_loc_detl.maktx', '商品名称'),
|
| | | dataIndex: 'maktx',
|
| | | width: 140,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('maktx'),
|
| | | },
|
| | | {
|
| | | title: formatMessage('db.man_loc_detl.specs', '规格'),
|
| | | dataIndex: 'specs',
|
| | | width: 140,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('specs'),
|
| | | },
|
| | | {
|
| | | title: formatMessage('db.man_loc_detl.model', '型号'),
|
| | | dataIndex: 'model',
|
| | | width: 140,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('model'),
|
| | | title: formatMessage('db.man_loc_detl.maktx', '商品名称'),
|
| | | dataIndex: 'maktx',
|
| | | width: 140,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('maktx'),
|
| | | },
|
| | | {
|
| | | title: formatMessage('db.man_loc_detl.dewell', '入库时间'),
|
| | | dataIndex: 'dewell$',
|
| | | width: 140,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('dewell$'),
|
| | | title: formatMessage('db.man_loc_detl.specs', '规格'),
|
| | | dataIndex: 'specs',
|
| | | width: 140,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('specs'),
|
| | | },
|
| | | {
|
| | | title: formatMessage('db.man_loc_detl.model', '型号'),
|
| | | dataIndex: 'model',
|
| | | width: 140,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('model'),
|
| | | },
|
| | | {
|
| | | title: formatMessage('db.man_loc_detl.model', '品类'),
|
| | | dataIndex: 'tagId$',
|
| | | width: 140,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('tagId$'),
|
| | | },
|
| | | {
|
| | | title: formatMessage('db.man_loc_detl.dewell', '入库时间'),
|
| | | dataIndex: 'dewell$',
|
| | | width: 140,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('dewell$'),
|
| | | },
|
| | | {
|
| | | title: formatMessage('db.man_loc_detl.order_no', '订单号'),
|
| | |
| | | width: 140,
|
| | | })
|
| | | })
|
| | |
|
| | | // tmp.push({
|
| | | // title: formatMessage('common.operation', '操作'),
|
| | | // name: 'oper',
|
| | | // dataIndex: 'oper',
|
| | | // key: 'oper',
|
| | | // width: 140,
|
| | | // })
|
| | |
|
| | | state.columns = tmp;
|
| | | } else if (result.code === 401) {
|
| | | message.error(result.msg);
|
| | |
| | | style="width: 140px;margin-right: 10px;" />
|
| | | <a-input v-model:value="searchParam.matnr" :placeholder="formatMessage('page.locDetl.matnr.input', '请输入商品编号')"
|
| | | style="width: 140px;margin-right: 10px;" />
|
| | | <a-input v-model:value="searchParam.maktx" :placeholder="formatMessage('page.locDetl.maktx.input', '请输入商品名称')"
|
| | | style="width: 140px;margin-right: 10px;" />
|
| | | <a-input v-model:value="searchParam.orderNo"
|
| | | :placeholder="formatMessage('page.locDetl.orderNo.input', '请输入订单号')"
|
| | | style="width: 140px;margin-right: 10px;" />
|
| | | <a-input v-model:value="searchParam.batch" :placeholder="formatMessage('page.locDetl.batch.input', '请输入批号')"
|
| | | style="width: 140px;margin-right: 10px;" />
|
| | |
|
| | | <a-select v-model:value="searchParam.tagId" :placeholder="formatMessage('page.locDetl.orderNo.input', '请选择品类')" :options="[
|
| | | { label: '默认分类', value: 10 },{ label: '机油', value: 11 }, { label: '变速箱油', value: 17 }, { label: '火花塞', value: 18 },
|
| | | { label: '养护品', value: 25 },{ label: '油漆耗材', value: 26 }, { label: '球头摆臂', value: 27 }, { label: '砂纸类', value: 31 },
|
| | | { label: '菜瓜布', value: 32 }, { label: '遮蔽类', value: 33 }, { label: '抛光类', value: 34 }, { label: '除尘类', value: 35 },
|
| | | { label: '漏斗类', value: 36 }, { label: '防护类', value: 37 }, { label: '烤房保养类', value: 38 }, { label: '调漆罐', value: 39 },
|
| | | { label: '喷枪', value: 40 }, { label: '费斯托系列', value: 41 },]" style="width: 140px;margin-right: 10px;">
|
| | | </a-select>
|
| | | <a-input-search v-model:value="searchInput" :placeholder="formatMessage('page.input', '请输入')"
|
| | | style="width: 200px;" @search="onSearch" />
|
| | | </div>
|
| | |
| | | <div style="display: flex;justify-content: space-evenly;">
|
| | | <a-button type="link" primary @click="handleEdit(record)">{{ formatMessage('page.edit', '编辑') }}</a-button>
|
| | | <a-button type="link" danger @click="handleDel([record])">{{ formatMessage('page.delete', '删除')
|
| | | }}</a-button>
|
| | | }}</a-button>
|
| | | </div>
|
| | | </template>
|
| | | </template>
|