|
@@ -85,7 +85,7 @@ define(function (require) {
|
|
}],
|
|
}],
|
|
[{
|
|
[{
|
|
xtype: 'yvselect',
|
|
xtype: 'yvselect',
|
|
- name: 'uptownIds',
|
|
|
|
|
|
+ name: 'xqType',
|
|
label: '需求类型',
|
|
label: '需求类型',
|
|
data: [{id: '1', text: '食蔬采购'}, {id: '2', text: '药品采购'}, {id: '3', text: '医疗服务'}, {
|
|
data: [{id: '1', text: '食蔬采购'}, {id: '2', text: '药品采购'}, {id: '3', text: '医疗服务'}, {
|
|
id: '4',
|
|
id: '4',
|
|
@@ -97,12 +97,17 @@ define(function (require) {
|
|
|
|
|
|
},
|
|
},
|
|
},{
|
|
},{
|
|
- name: 'tgPrice',
|
|
|
|
|
|
+ name: 'tgSupplier',
|
|
label: '单价',
|
|
label: '单价',
|
|
readonly: context.isEdit ? true : false,
|
|
readonly: context.isEdit ? true : false,
|
|
maxlength: 4, validType: 'integer',
|
|
maxlength: 4, validType: 'integer',
|
|
width: 450, height: 35,
|
|
width: 450, height: 35,
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: 'tgPrice',
|
|
|
|
+ label: '供应商',
|
|
|
|
+ xtype: 'hidden',
|
|
|
|
+ }
|
|
/*{
|
|
/*{
|
|
name: 'tgTitle',
|
|
name: 'tgTitle',
|
|
label: '发布标题',
|
|
label: '发布标题',
|
|
@@ -181,14 +186,14 @@ define(function (require) {
|
|
else {
|
|
else {
|
|
isLoading = true;
|
|
isLoading = true;
|
|
}
|
|
}
|
|
- if ($form.formGet().uptownIds.trim() == '') {
|
|
|
|
|
|
+ if ($form.formGet().uptownIds == '') {
|
|
$.yvan.msg('请先选择小区');
|
|
$.yvan.msg('请先选择小区');
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if ($form.formGet().tgMinNum > $form.formGet().tgMaxNum) {
|
|
|
|
|
|
+ /* if ($form.formGet().tgMinNum > $form.formGet().tgMaxNum) {
|
|
$.yvan.msg('最大上限必须大于等于最小起订量');
|
|
$.yvan.msg('最大上限必须大于等于最小起订量');
|
|
return;
|
|
return;
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
if ($form.formGet().tgEndTime > $form.formGet().tgDeliverTime) {
|
|
if ($form.formGet().tgEndTime > $form.formGet().tgDeliverTime) {
|
|
$.yvan.msg('团购截止时间必须小于预计送货时间');
|
|
$.yvan.msg('团购截止时间必须小于预计送货时间');
|
|
return;
|
|
return;
|